US20230076767A1 - Methods and systems for codeless chatbot development - Google Patents

Methods and systems for codeless chatbot development Download PDF

Info

Publication number
US20230076767A1
US20230076767A1 US17/469,241 US202117469241A US2023076767A1 US 20230076767 A1 US20230076767 A1 US 20230076767A1 US 202117469241 A US202117469241 A US 202117469241A US 2023076767 A1 US2023076767 A1 US 2023076767A1
Authority
US
United States
Prior art keywords
conversation
chatbot
code
chat
computer program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US17/469,241
Other versions
US11699431B2 (en
Inventor
Chinmayee Shepal
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Allstate Solutions Pvt Ltd
Original Assignee
Allstate Solutions Pvt Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Allstate Solutions Pvt Ltd filed Critical Allstate Solutions Pvt Ltd
Priority to US17/469,241 priority Critical patent/US11699431B2/en
Assigned to Allstate Solutions Private Limited reassignment Allstate Solutions Private Limited ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: SHEPAL, CHINMAYEE
Priority to PCT/US2022/042555 priority patent/WO2023038868A1/en
Publication of US20230076767A1 publication Critical patent/US20230076767A1/en
Application granted granted Critical
Publication of US11699431B2 publication Critical patent/US11699431B2/en
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/02Feature extraction for speech recognition; Selection of recognition unit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/004Artificial life, i.e. computing arrangements simulating life
    • G06N3/006Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/02User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks

Definitions

  • the present disclosure relates to methods and systems for codeless chatbot development, particularly to methods and systems for codeless chatbot development that utilizes an artificial intelligence neural network model to automatically retrieve chatbot computer programming code based on a conversation design input from a conversation designer.
  • a chatbot is a software application that can automate conversations and interact with individuals through messaging platforms.
  • a chatbot may be programmed to respond to an intent of the individual with whom the chatbot is interacting in a conversation such that the chatbot prompts the individual to provide information necessary to fulfill the intent.
  • chatbots may be associated with a particular intent and intent fulfillment, chatbots may engage in similar conversations with regard to their associated intent and intent fulfillment. Likewise, similarities in conversation style between chatbots may lead to redundant programming of chatbots. Moreover, developing chatbots with programming code may involve complex issues of software development and/or configuration. Therefore, a need exists for methods and systems for more efficient and streamlined chatbot development.
  • a system for intelligent codeless chatbot development includes a chatbot comprising an artificial intelligence neural network model and a natural language processing tool, one or more processors, one or more memory components communicatively coupled to the one or more processors and the chatbot, and machine-readable instructions stored in the one or more memory components.
  • the machine-readable instructions may cause the one or more processors to implement an iterative process to automatically develop a chatbot conversation for a conversation designer by receiving, with the chatbot, a conversation design input of one or more conversation design inputs from the conversation designer, and identify, with the natural language processing tool, an intent based on the conversation design input.
  • the machine-readable instructions may also cause the one or more processors to generate, with the artificial intelligence neural network model, a development event based on the intent, and retrieve a conversation chat flow from a set of conversation chat flows of a code sheet based on the development event, the code sheet comprising a set of conversations, the set of conversation chat flows, and a set of rules for code retrieval based on the set of conversations and the set of conversation chat flows.
  • the machine-readable instructions may further cause the one or more processors to automatically retrieve a chatbot computer program code based on the conversation chat flow and the set of rules from the code sheet, and repeat the iterative process to develop the chatbot conversation until the chatbot computer program code is automatically retrieved from a code repository for each conversation design input of the one or more conversation design inputs from the conversation designer.
  • a system for intelligent codeless chatbot development includes a chatbot comprising an artificial intelligence neural network model and a natural language processing tool, one or more processors, one or more memory components communicatively coupled to the one or more processors and the chatbot, and machine-readable instructions stored in the one or more memory components.
  • the machine-readable instructions may cause the one or more processors to implement an iterative process to automatically develop a chatbot conversation for a conversation designer by receiving, with the chatbot, a conversation design input of one or more conversation design inputs from the conversation designer, and identify, with the natural language processing tool, an intent based on the conversation design input.
  • the machine-readable instructions may also cause the one or more processors to generate, with the artificial intelligence neural network model, a development event based on the intent, and retrieve a conversation chat flow from a set of conversation chat flows of a code sheet based on the development event, the code sheet comprising a set of conversations, the set of conversation chat flows, and a set of rules for code retrieval based on the set of conversations and the set of conversation chat flows, wherein each conversation chat flow is based on an associated intent, and wherein each conversation chat flow comprises a set of prompts for identification of information to generate a fulfillment of the associated intent.
  • the machine-readable instructions may further cause the one or more processors to automatically retrieve a chatbot computer program code based on the conversation chat flow and the set of rules from the code sheet, and repeat the iterative process to develop the chatbot conversation until the chatbot computer program code is automatically retrieved from a code repository for each conversation design input of the one or more conversation design inputs from the conversation designer.
  • a method for intelligent codeless chatbot development includes implementing, via a processor, an iterative process to automatically develop a chatbot conversation for a conversation designer by receiving, with a chatbot comprising an artificial intelligence neural network model and a natural language processing tool, a conversation design input of one or more conversation design inputs from the conversation designer, and identifying, with the natural language processing tool, an intent based on the conversation design input.
  • the method also includes generating, with the artificial intelligence neural network model, a development event based on the intent, and retrieving, via the processor, a conversation chat flow from a set of conversation chat flows of a code sheet based on the development event, the code sheet comprising a set of conversations, the set of conversation chat flows, and a set of rules for code retrieval based on the set of conversations and the set of conversation chat flows.
  • the method further includes automatically retrieving, via the processor, a chatbot computer program code based on the conversation chat flow and the set of rules from the code sheet, and repeating the iterative process to develop the chatbot conversation until the chatbot computer program code is automatically retrieved from a code repository for each conversation design input of the one or more conversation design inputs from the conversation designer.
  • FIG. 1 depicts a graphical user interface of a chatbot showing a conversation with a user, according to one or more embodiments shown and described herein;
  • FIG. 2 depicts a code sheet with a conversation chat flow of a conversation, according to one or more embodiments shown and described herein;
  • FIG. 3 schematically depicts a codeless chatbot development sub-system, according to one or more embodiments shown and described herein;
  • FIG. 4 schematically depicts a computer-implemented system for use with the processes described herein and the codeless chatbot development sub-system of FIG. 3 , according to one or more embodiments shown and described herein;
  • FIG. 5 depicts a process for use with the codeless chatbot development sub-system of FIG. 3 and the computer-implemented system of FIG. 4 , according to one or more embodiments shown and described herein.
  • Embodiments of the present disclosure are directed to automatically retrieving computer programming code to develop chatbots, addressing redundant coding, and making the development of chatbots more accessible to conversation designers who are not fluent in developing computer program code.
  • Methods and systems are described for a codeless chatbot development that utilizes an artificial intelligence (AI) neural network model to automatically retrieve computer program code for a chatbot.
  • AI artificial intelligence
  • Embodiments include a chatbot that may receive a conversation design input from a conversation designer as a person desiring to develop the chatbot even without providing code such as in a codeless manner such that computer programming code is automatically retrieved from a code repository based on a conversation design input and a code sheet as described in greater detail further below. Accordingly, disclosed herein are methods and systems for codeless chatbot development.
  • the chatbot 100 may be an instantiation of computer program code as automatically retrieved from the code repository by embodiments of a development chatbot of the present disclosure.
  • a graphical user interface is shown for the chatbot 100 including a conversation between the chatbot 100 and a user.
  • the chatbot 100 may include an input text box 102 for the user to input information, a greeting 103 to start the conversation with the user, an utterance 108 as a message reply the user has input in response to the greeting, an intent 112 , a prompt 104 for the user, a slot 110 as and for a user answer, and a fulfillment 106 as a response to fulfill the intent based on the user responses and the conversation.
  • the chatbot may appear as a web application, a web browser plug-in, a standalone software application, or any other form of software.
  • the chatbot may be a user-facing interface (i.e., the “front end”) to a server (i.e., the “back end”) that processes the user's request.
  • a conversation as shown in FIG. 1 is an exchange of information, or a “chat,” between a user and a chatbot 100 .
  • the information exchanged may be text, speech, and/or other interactions and may be sent to the chatbot 100 via the input text box 102 .
  • the conversation may be initiated by the utterance 108 of the user.
  • the utterance 108 may be a spoken or typed phrase that invokes an intent 112 (such as mobile app support as shown in FIG. 1 ).
  • the intent 112 may be reflective of a particular goal that the user wants to achieve associated with and further defined by the utterance 108 of the user.
  • the conversation may also be initiated by the greeting 103 to the user from the chatbot 100 , with the expectation of an utterance 108 from the user as a response to the greeting 103 input via the input text box 102 .
  • a chatbot 100 may be developed to fulfill an intent 112 for mobile app support.
  • the intent 112 for mobile app support may have been determined based on the utterance 108 input by the user in response to the chatbot greeting 103 , the utterance 108 indicating that the user is having trouble logging into the user's account.
  • the chatbot 100 may have been previously programmed to follow a conversation chat flow to continue the conversation. Such conversation chat flows may be stored in a code sheet, such as in a spreadsheet or other documented format.
  • the chatbot 100 may respond to the utterance 108 with a series of prompts 104 based on the conversation chat flow, each of which may be responded to by the user in the form of slots 110 as user answers to the prompts 104 .
  • a prompt 104 is representative of a question that asks the user to input data.
  • a slot 110 is representative of data that the user provides as an answer and in response to a prompt 104 that may be used to fulfill the intent 112 .
  • the slot 110 may be an answer as a response entered by the user.
  • a natural language processing (NLP) tool analyzes the user's response as the slot 110 to provide the chatbot 100 with information from the response. Once the prompts 104 are sufficiently answered, the chatbot 100 may generate a fulfillment 106 .
  • the fulfillment 106 may be representative of a message indicating an action is taking place along with a corresponding action based on business logic required to fulfill the intent 112 of the user in response to the conversation.
  • the chatbot 100 receives on the graphical user interface the user utterance 108 , which invokes the intent 112 for mobile app support by the user.
  • the chatbot 100 responds with the prompt 104 asking the user when the account was registered.
  • the user responds by selecting a date as the slot 110 to provide the chatbot 100 with information to fulfill the intent 112 .
  • the chatbot 100 sends another prompt 104 asking the user whether the user has had access to applications before.
  • the user selects an answer in the negative as and for another slot 110 to provide the chatbot 100 with information to fulfill the intent 112 .
  • the chatbot 100 Because the chatbot 100 has received sufficient information to fulfill the intent, the chatbot 100 sends the user a fulfillment 106 to indicate to the user that the chatbot has taken action on the backend to send the user an activation link.
  • automatically retrieving computer programming code for chatbots may be based on a code sheet 200 that may include a set of conversations 201 , a set of conversation chat flows 206 , and a set of rules 208 for code retrieval and flow selection and sequencing.
  • the code sheet 200 may be a spreadsheet, a database table, or any other tabular or data capture format.
  • the set of conversations 201 of the code sheet 200 may include conversations 201 that chatbots 100 have previously had.
  • the set of conversations 201 may make up a set of historical conversation data that may be used to train an artificial intelligence (AI) neural network model such that the AI neural network model may output an appropriate prompt, fulfillment, or other conversational interaction when the AI neural network model receives, as input, responses from a user engaging in a conversation 201 with the chatbot 100 .
  • a conversation 201 may also be a combination of conversation chat flows 206 indicative of a conversation 201 that is likely to occur.
  • Each conversation chat flow 206 of the code sheet 200 may comprise one or more prompts 202 .
  • Each prompt 202 may be associated with one or more responses for a slot 204 .
  • the chatbot 100 may be associated with any number of conversation chat flows 206 such that the chatbot 100 may be responsive to a variety of intents 112 .
  • the code sheet 200 includes a conversation chat flow 206 as shown in Columns A, B, and C following a sequence of (A) listing an @First inquiry in Column A as a prompt 202 , (B) listing a prompt with options for selection in Column B for a slot 204 , and (C) responding in Column C with an @Describe Issue response based on a positive selection of the slot 204 .
  • a prompt 202 in Column A is shown of “Help with (platform) setup?” along with an option of “Yes” or “No” shown as a slot 204 selection.
  • the slot 204 is displayed with a “Yes” response and a “No” response.
  • the “No” response directs the chatbot 100 to follow a rule 208 to insert a @Describe Issue input request for the user to further describe the issue and intent 112 .
  • the “Yes” response invites the user to provide another utterance 108 , which may lead to another conversation chat flow 206 and/or request to describe the issue.
  • the set of rules 208 of the code sheet 200 for code retrieval may include a set of computer program code corresponding to a set of conversation chat flows 206 , and/or a set of computer program code corresponding to another chatbot 100 .
  • the set of rules 208 may be used to directly and/or switch between different conversation chat flows 206 based on, for instance, the selection of different options of slots 204 in response to prompts 202 .
  • the set of rules 208 may also prevent certain conversation chat flows 206 from being presented in response to different intents 112 and/or slots 204 selections.
  • the sub-system 300 may be a distributed system.
  • the sub-system 300 may include a web portal 302 , a chatbot platform 304 , natural language processing (NLP) tools 306 , an AI neural network model 308 , a Pivotal Cloud Foundry (PCF) server 310 , an access service 312 , a code sheet repository 314 , fulfillment services 316 , and conversation chat flow services 318 .
  • NLP natural language processing
  • PCF Pivotal Cloud Foundry
  • FIG. 3 only one of each component comprising sub-system 300 is shown, it should be understood and is contemplated within the scope of this disclosure that any number of each component may be included.
  • each component may exist as separate devices, as depicted in FIG. 3 , or as one or more devices comprising a combination of one or more of the components comprising sub-system 300 .
  • the sub-system 300 may be used to carry out the methods as described herein.
  • the sub-system 300 may be used by a conversation designer to automatically retrieve computer programming code for a chatbot 100 as described herein.
  • the conversation designer may interact with the sub-system 300 via the web portal 302 .
  • the web portal 302 may be a web browser or any other software application presenting a graphical user interface (GUI) for conversation designer interaction.
  • GUI graphical user interface
  • the web portal 302 serves as the front end of the system and may present the chatbot platform 304 as the GUI for the conversation designer to request the generation of computer programming code for the chatbot 100 .
  • the 100 may be presented to a conversation designer in a manner similar to the chatbot interface of the chatbot 100 presented in FIG. 1 .
  • the conversation designer may input text, receive prompts, and respond with slots to reach a fulfillment as an automated retrieval of computer program code for another chatbot 100 .
  • the chatbot platform 304 maintains the interaction with the conversation designer for retrieving computer programming code for the chatbot 100 .
  • the chatbot platform 304 may host multiple instances of the chatbot 100 to service multiple automatic code retrieval requests simultaneously.
  • the chatbot platform 304 may exist as a standalone application or may exist with the webserver that handles the maintenance of the web portal 302 traffic.
  • the chatbot platform 304 may receive a conversation design input from a conversation designer, generate prompts, and receive responses in slots to collect information sufficient to retrieve computer program code for another chatbot. After fulfillment, the chatbot platform 304 may further generate one or more prompts 202 to the conversation designer to accept or reject each chatbot computer program code.
  • Interactions with a conversation designer on the chatbot platform 304 may require the use of NLP tools 306 for automatic speech recognition and natural language understanding.
  • the NLP tools 306 may take natural language speech and text input and process the input to extract the underlying intent 112 .
  • the NLP tools 306 may be used to extract essential terms and/or filter irrelevant terms so that the chatbot platform 304 may form an appropriate intent 112 .
  • the NLP tools 306 may extract contexts from text inputs throughout the conversation 201 to invoke related intents.
  • the NLP tools 306 may exist independently, as depicted in FIG. 3 .
  • the sub-system 300 may also include the AI neural network model 308 , which may be utilized in the automated retrieval of chatbot computer program code.
  • the AI neural network model 308 may be trained on a set of historical conversation data and a set of historical fulfillment data corresponding to the set of historical conversation data.
  • the historical conversation data and the historical fulfillment data may be based on one or more interactions with conversation designers and comprises past conversations that the conversation designers had with the chatbot 100 as well as previously retrieved chatbot code.
  • the AI neural network model 308 improves the accuracy of the chatbot computer program code retrieval by applying machine learning to learn from best fit computer program code of existing chatbots, as well as from user feedback, such as acceptance or rejection by the conversation designer regarding previously retrieved chatbot computer program code.
  • the AI neural network model 308 may apply such machine learning to generate computer program code should a match to desired code not be made to code in the code repository for retrieval.
  • An access service 312 may be used to manage access to the sub-system 300 .
  • the access service 312 may be a centralized database that manages conversation designer accounts and conversation designer sessions. When a conversation designer attempts to access the web portal 302 to request the sub-system 300 to retrieve chatbot computer programming code, the access service 312 may first authenticate the conversation designer and may also determine whether the conversation designer is authorized to request chatbot computer programming code. The access service 312 may remember the conversation designer's authentication and authorization for the duration of the conversation designer's session.
  • the access service 312 may be based on an authentication and authorization protocol such as remote authentication dial-in user service (RADIUS), lightweight dictionary access protocol (LDAP), and similar protocols as understood to those of ordinary skill in the art.
  • the access service 312 may exist as a standalone server or as a container on a server, as a virtual machine on a server, and other server types alongside other software.
  • the code sheet repository 314 may generally refer to a database associated with a computing device that may host one or more code sheets 200 .
  • the code sheet repository 314 may be a centralized location where the code sheets are stored, as well as the historical data for use by the AI neural network model 308 .
  • Fulfillment services 316 may generally refer to one or more services that may be utilized to complete a fulfillment 106 .
  • the sub-system 300 may use the fulfillment services 316 to manage the delivery of the automatically retrieved computer program code for the chatbot 100 .
  • the fulfillment services 316 may also be linked to the automatically retrieved computer program code for the new chatbot 100 or to modify the chatbot 100 to provide fulfillments 106 to users of the chatbot 100 and may include multiple components representing multiple different kinds of fulfillments 106 , such as account management, application support, and other suitable types of fulfillment 106 .
  • Conversation chat flow services 318 may generally refer to one or more services that contribute to the parsing, retrieval, and packaging of automatically retrieved computer programming code for the chatbot based on one or more conversation chat flows 206 .
  • the conversation chat flow services 318 may include a service to parse the code sheet into a computer-readable data structure for faster retrieval, analysis, and/or processing.
  • the conversation chat flow services 318 may also cache the one or more conversation 201 , the one or more conversation chat flows 206 , and the one or more rules 208 in its code sheet 200 form or its parsed equivalent for more efficient retrieval in a subsequent development event.
  • Conversation chat flow services 318 may also be responsive to lambda events.
  • a lambda event may include a lambda function and may be based on the development event.
  • the lambda function may be representative of an anonymous function of code to contain functionality through the code as a computer programming subroutine or instructions, which functionality does not need to be named or tied to an identifier for the functionality.
  • the lambda function may take in one or more arguments (e.g., functions as inputs) to return an expression as an anonymous function lambda such a lambda function that does not need to be named may be created from other input functions.
  • Data from the lambda function may be sent to a function in JavaScript Object Notation (JSON), for example, as a lambda event.
  • JSON JavaScript Object Notation
  • the lambda event may be a JSON-formatted document including data for the lambda function to process, and the lambda event may be converted to an object and passed to a function code.
  • the lambda event may direct the conversation chat flow services 318 to retrieve one or more conversations 201 , one or more conversation chat flows 206 , and one or more rules 208 for code retrieval from the cache, parsed code sheets, and/or the code sheets 200 .
  • the conversation chat flow services 318 may package the retrieved data by converting the retrieved data into a data interchange format such as JSON.
  • the converted data may be transferred to the destination service, server, and/or cloud environment such as the cloud platform 320 where it may then be used to automatically retrieve the chatbot computer program code according to the development event.
  • sub-system 300 may be incorporated in the cloud platform 320 hosted externally from the sub-system 300 .
  • the chatbot platform 304 , NLP tools 306 , and AI neural network model 308 are hosted in the cloud platform 320 .
  • the PCF server 310 may be used.
  • the PCF server 310 may be a cloud abstraction framework that wraps around cloud platform offerings to allow self-managed infrastructure to interface with the cloud platform 320 through a centralized location.
  • the chatbot platform 304 , the NLP tools 306 , and the AI neural network model 308 are hosted in a cloud platform 320 , and the PCF server 310 may be utilized such that the access service 312 , code sheet repository 314 , fulfillment services 316 , and conversation chat flow services 318 may interface with the cloud platform 320 .
  • a system 400 for codeless chatbot development may interface with the sub-system 300 to implement the processes as described herein.
  • the system 400 may include a communication path 402 , a processor 404 , a memory component 406 , a data storage component 414 , a code sheet module 412 , an AI neural network module 416 , a network connectivity component 418 , a server 420 , a network 422 , and a computing device 424 .
  • the network connectivity component 418 may communicatively connect the system 400 to server 420 and one or more computing devices 424 via the communication path 402 and the network 422 .
  • the system 400 may be communicatively coupled to the sub-system 300 of FIG.
  • the code sheet repository 314 of FIG. 3 may be a data storage component 414 and may be communicatively coupled to and operable by the code sheet module 412
  • the AI neural network model 308 of FIG. 3 may be communicatively coupled to and operable by the AI neural network module 416 .
  • the communication path 402 of the system 400 may be formed from any medium that is capable of transmitting a signal such as, for example, conductive wires, conductive traces, optical waveguides, and the like, or from a combination of mediums capable of transmitting signals.
  • the communication path 402 communicatively couples the various components of system 400 .
  • the term “communicatively coupled” means that coupled components are capable of exchanging data signals with one another such as, for example, electrical signals via a conductive medium, electromagnetic signals via air, optical signals via optical waveguides, and the like.
  • the processor 404 can be any device capable of executing machine-readable instructions. Accordingly, the processor 404 may be a controller, an integrated circuit, a microchip, a computer, or any other computing device.
  • the processor 404 is communicatively coupled to the other components of the system 400 by the communication path 402 . Accordingly, the communication path 402 may communicatively couple any number of processors with one another, and allow the modules coupled to the communication path 402 to operate in a distributed computing environment. Specifically, each of the components can operate as a node that may send and/or receive data.
  • the memory component 406 may be a non-transitory computer readable medium or non-transitory computer readable memory and may be configured as a non-volatile computer readable medium.
  • the memory component 406 is communicatively coupled to the other components of the system 400 by the communication path 402 .
  • the memory component 406 may comprise RAM, ROM, flash memories, hard drives, or any other device capable of storing machine-readable instructions such that the machine-readable instructions can be accessed and executed by the processor 404 .
  • the machine-readable instructions may comprise logic or algorithms written in any programming language such as, for example, machine language that may be directly executed by the processor, or assembly languages, object-oriented programming (OOP) languages, scripting languages, microcode, and the like, that may be compiled or assembled into machine-readable instructions and stored on the memory component 406 .
  • the machine-readable instructions may be written in a hardware description language (HDL), such as logic implemented via either a field-programmable gate array (FPGA) configuration or an application-specific integrated circuit (ASIC), or their equivalents.
  • HDL hardware description language
  • FPGA field-programmable gate array
  • ASIC application-specific integrated circuit
  • the data storage component 414 is coupled to the communication path 402 and may contain one or more persistent storage devices such as solid state drives, hard disk drives, or any other device capable of persistent data storage.
  • the data storage component 414 may store data used by various components of the system 400 .
  • the code sheet repository 314 of FIG. 3 may be one of the one or more data storage components 414 .
  • the data storage component 414 may store data downloaded from the server 420 and/or received from the computing device 424 . It should be understood that the data storage component 414 may reside local to and/or remote from the system 400 , and may be configured to store one or more pieces of data for access by the system 400 and/or other components.
  • the data storage component 414 may include computer program code, automatically retrieved chatbot code, and other electronic data documents. Other data to perform the functionalities described herein may also be stored in the data storage component 414 (e.g., cached data, user session data, historical automated code recommendation data, etc.).
  • the code sheet module 412 is communicatively coupled via the communication path 402 to the processor 404 and components of system 400 .
  • the code sheet module 412 may be any hardware capable of storing data. The hardware may be included as part of the data storage component 414 .
  • the code sheet module 412 may be a centralized location where code sheets 200 may be stored, as well as the historical data for use by the AI neural network module 416 .
  • the code sheet module 412 may also comprise a historical record of conversations, conversation chat flows, and rules for code retrieval, which may be used to provide historical data to the AI neural network module 416 .
  • the code sheet module 412 may exist remotely from the system 400 , or locally to or included in the system 400 , as depicted in FIG. 4 .
  • the AI neural network module 416 is communicatively coupled via the communication path 402 to the processor 404 and components of system 400 .
  • the AI neural network module 416 may train and provide machine learning capabilities to a neural network such as the AI neural network model 308 as described herein.
  • a convolutional neural network CNN
  • the AI neural network module 416 may receive a set of historical conversation data and a set of historical fulfillment data, corresponding to the set of historical conversation data, for training.
  • the AI neural network module 416 may receive an intent 112 from a conversation designer as input and generate a development event as output, which may be used to automatically retrieve computer program code for the chatbot 100 .
  • the AI neural network module 416 can leverage a cloud computing-based network configuration such as the cloud (e.g., the cloud platform 320 of FIG. 3 and/or network 422 of FIG. 4 ) to apply machine learning and artificial intelligence.
  • This machine learning application may create models that can be applied by the system 400 , to make it more efficient and intelligent in execution.
  • the AI neural network module 416 may include artificial intelligence components selected from the group consisting of an artificial intelligence engine, Bayesian inference engine, and a decision-making engine, and may have an adaptive learning engine further comprising a deep neural network learning engine.
  • the communication path 402 communicatively couples the network connectivity component 418 to other components of the system 400 .
  • the network connectivity component 418 can be any device capable of transmitting and/or receiving data via a wireless network.
  • the network connectivity component 418 can comprise a communication transceiver for sending and/or receiving data according to any wireless communication standard.
  • the network connectivity component 418 can comprise a chipset (e.g., antenna, processors, machine-readable instructions, etc.) to communicate over wired and/or wireless computer networks such as, for example, Wi-Fi, WiMAX, Bluetooth, IrDA, Ethernet, Z-Wave, ZigBee, and the like.
  • the network 422 may comprise any wired and/or wireless network such as, for example, wide area networks, metropolitan area networks, local area networks, satellite networks, and the like. Accordingly, the network 422 can be utilized as an access point by the computing device 424 to access one or more servers (e.g., server 420 ).
  • the server 420 and any additional services generally comprise processors, memory, and chipset for delivering resources via the network 422 .
  • Resources can include providing, for example, processing, storage, software, and information from the server 420 to the system 400 via the network 422 .
  • the server 420 and any additional servers can share resources with one another over the network 422 such as, for example, via the wired portion of the network, the wireless portion of the network, or combinations thereof.
  • the computing device 424 include computers such as laptop computer, desktop computers, smartphones, tablets, and the like that have a network connectivity component for communicating with system 400 and/or server 420 via network 422 .
  • the web portal 302 may be accessed through the computing device 424 .
  • a conversation designer may use the computing device 424 to engage with the system 400 by providing the system 400 with a conversation design input to instruct the system 400 to automatically retrieve a computer program code for developing the chatbot 100 .
  • a process 500 for automatically retrieving chatbot computer programming code as described herein by use of the sub-system 300 and/or system 400 is set forth.
  • a code sheet 200 can be accessed to provide a set of conversations 201 , a set of conversation chat flows 206 , and a set of rules 208 for code retrieval based on the set of conversations 201 and the set of conversation chat flows 206 .
  • the code sheet 200 may thus provide components for automatically retrieving computer program code for a chatbot 100 in response to a conversation designer's request in block 504 .
  • an iterative process is implemented by first receiving a conversation design input from a conversation designer.
  • the iterative process automatically retrieves a conversation 201 for a conversation designer by receiving a conversation design input of one or more conversation design inputs from the conversation designer.
  • the conversation designer may or may not be familiar with computer programming.
  • the conversation designer may retrieve computer programming code for a chatbot by entering one or more conversation design inputs via the sub-system 300 .
  • the conversation designer may enter an utterance 108 such as “I would like to develop an application support chatbot that determines an account registration date and a user's prior access to applications.”
  • an intent may be identified from the conversation design input received in block 504 .
  • the NLP tools 306 may be used to extract essential terms and/or filter irrelevant terms so that the chatbot may form an appropriate intent 112 that may include supporting parameters.
  • a new conversation 201 may be input into the code sheet 200 .
  • the conversation designer may enter the utterance 108 such as “I would like to develop an application support chatbot that determines an account registration date and a user's prior access to applications.”
  • the NLP tools 306 may be used to extract essential terms, such as “develop an application support chatbot,” “account registration date,” and “user's prior access.”
  • the NLP tools 306 may also be used to filter irrelevant terms, such as “I would like to,” “that,” and “and.”
  • the NLP tools 306 may identify “develop an application support chatbot” as an intent 112 to develop a chatbot 100 for application support and “account registration date” and “user's prior access” as parameters for potential prompts 202 .
  • a development event is generated based on the identified intent.
  • the AI neural network model 308 may generate a development event by taking the identified intent 112 as an input to compare against the historical conversation data and the historical fulfillment data that it was trained on. Because fulfillments require an intent and prompts to gather data necessary to fulfill the intent, the AI neural network model 308 can utilize the identified intent 112 to identify historical fulfillments based on similar intents, which in turn also identifies historical conversations associated with the historical fulfillments.
  • the historical conversations may include one or more conversations flows 206 from the set of conversations flows 206 .
  • the development event may contain instructions to gather the conversation chat flows 206 utilized in each historical conversation associated with historical fulfillments having a similar intent as the identified intent 112 . Which conversation chat flows 206 are gathered may also be impacted by the parameters identified by the NLP tool 306 . The conversation designer may be prompted to provide more information to help narrow down the amount of conversation chat flows 206 that may be gathered.
  • the development event generated by AI neural network model 308 may include instructions to compress the gathered conversation chat flows 206 such that the gathered conversation chat flows 206 contain fewer prompts 104 , 202 than in their state prior to retrieval. For example, if historical conversation data reveals that two conversations having the same intent 112 and arriving at the same fulfillment 106 despite each conversation 201 have additional prompts 104 , 202 that the other does not have, the AI neural network model 308 may contain instructions to remove one or more conversations flows of the conversations having additional prompts 104 , 202 that do not impact the fulfillment 106 .
  • a conversation chat flow 206 is retrieved from the set of conversation chat flows 206 based on the development event. Multiple conversation chat flows 206 , as identified by the development event, may be combined to form a single conversation chat flow 206 .
  • the conversation chat flow 206 may be compressed according to the development event.
  • the conversation chat flows 206 may be located in a code sheet 200 , as described in the discussion of FIG. 2 .
  • the code sheet 200 may be located in a code sheet repository 314 , as described in the discussion of FIG. 3 .
  • the retrieval of conversation chat flows 206 may be orchestrated by a conversation chat flow service 318 , as described in the discussion of FIG. 3 , to handle the parsing, caching, retrieval, and/or other forms of data processing.
  • a chatbot computer program code may be automatically retrieved from the code repository based on the retrieved conversation chat flow 206 . Similar to how the conversation chat flow 206 was created by combining multiple conversation chat flows 206 as directed by the development event, the rules for code retrieval associated with the conversation chat flows 206 identified by the development event may be combined to form a codebase sufficient to develop a chatbot 100 for the identified intent 112 .
  • the computer program code may be sent to the conversation designer as a fulfillment message in the chatbot 100 .
  • the computer program code may be sent to the conversation designer in whole or in part to approve or reject the entirety or components of the computer program code.
  • the chatbot 100 may transfer the computer program code to the user as a source code file, a compiled binary, or any other form of computer program code. If the computer program code is rejected, the AI neural network model 308 may receive the feedback and generate a new development event such that different combinations or arrangements of conversation chat flows 206 are combined to form a new retrieved conversation chat flow 206 .
  • Embodiments may access a code sheet 200 , receive a conversation design input from a conversation designer, identify an intent 112 from the conversation design input, generate a development event with an AI component such as the AI neural network model 308 , retrieve a conversation chat flow 206 from the code sheet 200 based on the development event, and automatically retrieve computer program code that may be used to create the chatbot 100 .
  • an AI component such as the AI neural network model 308
  • the AI component of the system may be trained on a set of historical conversation data and a set of historical fulfillment data corresponding to the set of historical conversation data.
  • the AI component may receive a conversation design input and may automatically generate a development event as an output.
  • the development event may be instructions to retrieve one or more conversation chat flows 206 from the code sheet 200 , along with their associated rules 208 for code retrieval, that may be combined into a single conversation chat flow 206 from which computer program code may be automatically retrieved to fulfill the conversation designer's intent 112 .
  • the AI component may improve its future code retrievals based on the conversation designer's decisions to approve or reject prior chatbot code retrievals.
  • references herein of a component of the present disclosure being “configured” or “programmed” in a particular way, to embody a particular property, or to function in a particular manner, are structural recitations, as opposed to recitations of intended use. More specifically, the references herein to the manner in which a component is “configured” or “programmed” denotes an existing physical condition of the component and, as such, is to be taken as a definite recitation of the structural characteristics of the component.

Abstract

Embodiments include implementing an iterative process to automatically develop a chatbot conversation for a conversation designer by receiving a conversation design input of one or more conversation design inputs from the conversation designer, identifying an intent based on the conversation design input, generating a development event based on the intent, retrieving a conversation chat flow from a set of conversation chat flows of a code sheet based on the development event, the code sheet comprising a set of conversations, the set of conversation chat flows, and a set of rules for code retrieval based on the set of conversations and the set of conversation chat flows, retrieving a chatbot computer program code based on the conversation chat flow and the set of rules from the code sheet, and repeating the iterative process until the chatbot computer program code is automatically retrieved from a code repository for each conversation design input.

Description

    TECHNICAL FIELD
  • The present disclosure relates to methods and systems for codeless chatbot development, particularly to methods and systems for codeless chatbot development that utilizes an artificial intelligence neural network model to automatically retrieve chatbot computer programming code based on a conversation design input from a conversation designer.
  • BACKGROUND
  • A chatbot is a software application that can automate conversations and interact with individuals through messaging platforms. A chatbot may be programmed to respond to an intent of the individual with whom the chatbot is interacting in a conversation such that the chatbot prompts the individual to provide information necessary to fulfill the intent.
  • Because chatbots may be associated with a particular intent and intent fulfillment, chatbots may engage in similar conversations with regard to their associated intent and intent fulfillment. Likewise, similarities in conversation style between chatbots may lead to redundant programming of chatbots. Moreover, developing chatbots with programming code may involve complex issues of software development and/or configuration. Therefore, a need exists for methods and systems for more efficient and streamlined chatbot development.
  • BRIEF SUMMARY
  • In accordance with one embodiment of the present disclosure, a system for intelligent codeless chatbot development includes a chatbot comprising an artificial intelligence neural network model and a natural language processing tool, one or more processors, one or more memory components communicatively coupled to the one or more processors and the chatbot, and machine-readable instructions stored in the one or more memory components. The machine-readable instructions may cause the one or more processors to implement an iterative process to automatically develop a chatbot conversation for a conversation designer by receiving, with the chatbot, a conversation design input of one or more conversation design inputs from the conversation designer, and identify, with the natural language processing tool, an intent based on the conversation design input. The machine-readable instructions may also cause the one or more processors to generate, with the artificial intelligence neural network model, a development event based on the intent, and retrieve a conversation chat flow from a set of conversation chat flows of a code sheet based on the development event, the code sheet comprising a set of conversations, the set of conversation chat flows, and a set of rules for code retrieval based on the set of conversations and the set of conversation chat flows. The machine-readable instructions may further cause the one or more processors to automatically retrieve a chatbot computer program code based on the conversation chat flow and the set of rules from the code sheet, and repeat the iterative process to develop the chatbot conversation until the chatbot computer program code is automatically retrieved from a code repository for each conversation design input of the one or more conversation design inputs from the conversation designer.
  • In accordance with another embodiment of the present disclosure, a system for intelligent codeless chatbot development includes a chatbot comprising an artificial intelligence neural network model and a natural language processing tool, one or more processors, one or more memory components communicatively coupled to the one or more processors and the chatbot, and machine-readable instructions stored in the one or more memory components. The machine-readable instructions may cause the one or more processors to implement an iterative process to automatically develop a chatbot conversation for a conversation designer by receiving, with the chatbot, a conversation design input of one or more conversation design inputs from the conversation designer, and identify, with the natural language processing tool, an intent based on the conversation design input. The machine-readable instructions may also cause the one or more processors to generate, with the artificial intelligence neural network model, a development event based on the intent, and retrieve a conversation chat flow from a set of conversation chat flows of a code sheet based on the development event, the code sheet comprising a set of conversations, the set of conversation chat flows, and a set of rules for code retrieval based on the set of conversations and the set of conversation chat flows, wherein each conversation chat flow is based on an associated intent, and wherein each conversation chat flow comprises a set of prompts for identification of information to generate a fulfillment of the associated intent. The machine-readable instructions may further cause the one or more processors to automatically retrieve a chatbot computer program code based on the conversation chat flow and the set of rules from the code sheet, and repeat the iterative process to develop the chatbot conversation until the chatbot computer program code is automatically retrieved from a code repository for each conversation design input of the one or more conversation design inputs from the conversation designer.
  • In accordance with yet another embodiment of the present disclosure, a method for intelligent codeless chatbot development includes implementing, via a processor, an iterative process to automatically develop a chatbot conversation for a conversation designer by receiving, with a chatbot comprising an artificial intelligence neural network model and a natural language processing tool, a conversation design input of one or more conversation design inputs from the conversation designer, and identifying, with the natural language processing tool, an intent based on the conversation design input. The method also includes generating, with the artificial intelligence neural network model, a development event based on the intent, and retrieving, via the processor, a conversation chat flow from a set of conversation chat flows of a code sheet based on the development event, the code sheet comprising a set of conversations, the set of conversation chat flows, and a set of rules for code retrieval based on the set of conversations and the set of conversation chat flows. The method further includes automatically retrieving, via the processor, a chatbot computer program code based on the conversation chat flow and the set of rules from the code sheet, and repeating the iterative process to develop the chatbot conversation until the chatbot computer program code is automatically retrieved from a code repository for each conversation design input of the one or more conversation design inputs from the conversation designer.
  • Although the concepts of the present disclosure are described herein with primary reference to chatbots, it is contemplated that the concepts will enjoy applicability to any software development platform or environment for a developed software application.
  • BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS
  • The following detailed description of specific embodiments of the present disclosure can be best understood when read in conjunction with the following drawings, where like structure is indicated with like reference numerals and in which:
  • FIG. 1 depicts a graphical user interface of a chatbot showing a conversation with a user, according to one or more embodiments shown and described herein;
  • FIG. 2 depicts a code sheet with a conversation chat flow of a conversation, according to one or more embodiments shown and described herein;
  • FIG. 3 schematically depicts a codeless chatbot development sub-system, according to one or more embodiments shown and described herein;
  • FIG. 4 schematically depicts a computer-implemented system for use with the processes described herein and the codeless chatbot development sub-system of FIG. 3 , according to one or more embodiments shown and described herein; and
  • FIG. 5 depicts a process for use with the codeless chatbot development sub-system of FIG. 3 and the computer-implemented system of FIG. 4 , according to one or more embodiments shown and described herein.
  • DETAILED DESCRIPTION
  • Embodiments of the present disclosure are directed to automatically retrieving computer programming code to develop chatbots, addressing redundant coding, and making the development of chatbots more accessible to conversation designers who are not fluent in developing computer program code. Methods and systems are described for a codeless chatbot development that utilizes an artificial intelligence (AI) neural network model to automatically retrieve computer program code for a chatbot.
  • Embodiments include a chatbot that may receive a conversation design input from a conversation designer as a person desiring to develop the chatbot even without providing code such as in a codeless manner such that computer programming code is automatically retrieved from a code repository based on a conversation design input and a code sheet as described in greater detail further below. Accordingly, disclosed herein are methods and systems for codeless chatbot development.
  • Referring now to FIG. 1 , a chatbot 100 is depicted. The chatbot 100 may be an instantiation of computer program code as automatically retrieved from the code repository by embodiments of a development chatbot of the present disclosure. A graphical user interface is shown for the chatbot 100 including a conversation between the chatbot 100 and a user. The chatbot 100 may include an input text box 102 for the user to input information, a greeting 103 to start the conversation with the user, an utterance 108 as a message reply the user has input in response to the greeting, an intent 112, a prompt 104 for the user, a slot 110 as and for a user answer, and a fulfillment 106 as a response to fulfill the intent based on the user responses and the conversation. The chatbot may appear as a web application, a web browser plug-in, a standalone software application, or any other form of software. The chatbot may be a user-facing interface (i.e., the “front end”) to a server (i.e., the “back end”) that processes the user's request.
  • A conversation as shown in FIG. 1 is an exchange of information, or a “chat,” between a user and a chatbot 100. The information exchanged may be text, speech, and/or other interactions and may be sent to the chatbot 100 via the input text box 102. The conversation may be initiated by the utterance 108 of the user. The utterance 108 may be a spoken or typed phrase that invokes an intent 112 (such as mobile app support as shown in FIG. 1 ). The intent 112 may be reflective of a particular goal that the user wants to achieve associated with and further defined by the utterance 108 of the user. The conversation may also be initiated by the greeting 103 to the user from the chatbot 100, with the expectation of an utterance 108 from the user as a response to the greeting 103 input via the input text box 102.
  • For example, a chatbot 100 may be developed to fulfill an intent 112 for mobile app support. The intent 112 for mobile app support may have been determined based on the utterance 108 input by the user in response to the chatbot greeting 103, the utterance 108 indicating that the user is having trouble logging into the user's account.
  • Based on the intent 112 invoked by the utterance 108, the chatbot 100 may have been previously programmed to follow a conversation chat flow to continue the conversation. Such conversation chat flows may be stored in a code sheet, such as in a spreadsheet or other documented format. The chatbot 100 may respond to the utterance 108 with a series of prompts 104 based on the conversation chat flow, each of which may be responded to by the user in the form of slots 110 as user answers to the prompts 104. A prompt 104 is representative of a question that asks the user to input data. A slot 110 is representative of data that the user provides as an answer and in response to a prompt 104 that may be used to fulfill the intent 112. The slot 110 may be an answer as a response entered by the user. A natural language processing (NLP) tool analyzes the user's response as the slot 110 to provide the chatbot 100 with information from the response. Once the prompts 104 are sufficiently answered, the chatbot 100 may generate a fulfillment 106. The fulfillment 106 may be representative of a message indicating an action is taking place along with a corresponding action based on business logic required to fulfill the intent 112 of the user in response to the conversation.
  • In the embodiment of FIG. 1 , the chatbot 100 receives on the graphical user interface the user utterance 108, which invokes the intent 112 for mobile app support by the user. The chatbot 100 responds with the prompt 104 asking the user when the account was registered. The user responds by selecting a date as the slot 110 to provide the chatbot 100 with information to fulfill the intent 112. The chatbot 100 sends another prompt 104 asking the user whether the user has had access to applications before. In response, the user selects an answer in the negative as and for another slot 110 to provide the chatbot 100 with information to fulfill the intent 112. Because the chatbot 100 has received sufficient information to fulfill the intent, the chatbot 100 sends the user a fulfillment 106 to indicate to the user that the chatbot has taken action on the backend to send the user an activation link.
  • Referring now to FIG. 2 , automatically retrieving computer programming code for chatbots, such as the chatbot 100, may be based on a code sheet 200 that may include a set of conversations 201, a set of conversation chat flows 206, and a set of rules 208 for code retrieval and flow selection and sequencing. The code sheet 200 may be a spreadsheet, a database table, or any other tabular or data capture format.
  • The set of conversations 201 of the code sheet 200 may include conversations 201 that chatbots 100 have previously had. The set of conversations 201 may make up a set of historical conversation data that may be used to train an artificial intelligence (AI) neural network model such that the AI neural network model may output an appropriate prompt, fulfillment, or other conversational interaction when the AI neural network model receives, as input, responses from a user engaging in a conversation 201 with the chatbot 100. A conversation 201 may also be a combination of conversation chat flows 206 indicative of a conversation 201 that is likely to occur.
  • Each conversation chat flow 206 of the code sheet 200 may comprise one or more prompts 202. Each prompt 202 may be associated with one or more responses for a slot 204. The chatbot 100 may be associated with any number of conversation chat flows 206 such that the chatbot 100 may be responsive to a variety of intents 112. In the embodiment shown in FIG. 2 , the code sheet 200 includes a conversation chat flow 206 as shown in Columns A, B, and C following a sequence of (A) listing an @First inquiry in Column A as a prompt 202, (B) listing a prompt with options for selection in Column B for a slot 204, and (C) responding in Column C with an @Describe Issue response based on a positive selection of the slot 204. For the @First conversation inquiry in FIG. 2 , a prompt 202 in Column A is shown of “Help with (platform) setup?” along with an option of “Yes” or “No” shown as a slot 204 selection. In Column B, in response, the slot 204 is displayed with a “Yes” response and a “No” response. The “No” response directs the chatbot 100 to follow a rule 208 to insert a @Describe Issue input request for the user to further describe the issue and intent 112. The “Yes” response invites the user to provide another utterance 108, which may lead to another conversation chat flow 206 and/or request to describe the issue.
  • The set of rules 208 of the code sheet 200 for code retrieval may include a set of computer program code corresponding to a set of conversation chat flows 206, and/or a set of computer program code corresponding to another chatbot 100. The set of rules 208 may be used to directly and/or switch between different conversation chat flows 206 based on, for instance, the selection of different options of slots 204 in response to prompts 202. The set of rules 208 may also prevent certain conversation chat flows 206 from being presented in response to different intents 112 and/or slots 204 selections.
  • Referring now to FIG. 3 , a sub-system 300 for codeless chatbot development is shown. The sub-system 300 may be a distributed system. The sub-system 300 may include a web portal 302, a chatbot platform 304, natural language processing (NLP) tools 306, an AI neural network model 308, a Pivotal Cloud Foundry (PCF) server 310, an access service 312, a code sheet repository 314, fulfillment services 316, and conversation chat flow services 318. While in FIG. 3 , only one of each component comprising sub-system 300 is shown, it should be understood and is contemplated within the scope of this disclosure that any number of each component may be included. Further, each component may exist as separate devices, as depicted in FIG. 3 , or as one or more devices comprising a combination of one or more of the components comprising sub-system 300. The sub-system 300 may be used to carry out the methods as described herein.
  • The sub-system 300 may be used by a conversation designer to automatically retrieve computer programming code for a chatbot 100 as described herein. The conversation designer may interact with the sub-system 300 via the web portal 302. The web portal 302 may be a web browser or any other software application presenting a graphical user interface (GUI) for conversation designer interaction. The web portal 302 serves as the front end of the system and may present the chatbot platform 304 as the GUI for the conversation designer to request the generation of computer programming code for the chatbot 100. The 100 may be presented to a conversation designer in a manner similar to the chatbot interface of the chatbot 100 presented in FIG. 1 . The conversation designer may input text, receive prompts, and respond with slots to reach a fulfillment as an automated retrieval of computer program code for another chatbot 100.
  • The chatbot platform 304 maintains the interaction with the conversation designer for retrieving computer programming code for the chatbot 100. The chatbot platform 304 may host multiple instances of the chatbot 100 to service multiple automatic code retrieval requests simultaneously. The chatbot platform 304 may exist as a standalone application or may exist with the webserver that handles the maintenance of the web portal 302 traffic. The chatbot platform 304 may receive a conversation design input from a conversation designer, generate prompts, and receive responses in slots to collect information sufficient to retrieve computer program code for another chatbot. After fulfillment, the chatbot platform 304 may further generate one or more prompts 202 to the conversation designer to accept or reject each chatbot computer program code.
  • Interactions with a conversation designer on the chatbot platform 304 may require the use of NLP tools 306 for automatic speech recognition and natural language understanding. The NLP tools 306 may take natural language speech and text input and process the input to extract the underlying intent 112. For example, in interactions where the conversation designer types an utterance 108, the NLP tools 306 may be used to extract essential terms and/or filter irrelevant terms so that the chatbot platform 304 may form an appropriate intent 112. Additionally, as the conversation 201 develops, the NLP tools 306 may extract contexts from text inputs throughout the conversation 201 to invoke related intents. The NLP tools 306 may exist independently, as depicted in FIG. 3 .
  • The sub-system 300 may also include the AI neural network model 308, which may be utilized in the automated retrieval of chatbot computer program code. The AI neural network model 308 may be trained on a set of historical conversation data and a set of historical fulfillment data corresponding to the set of historical conversation data. The historical conversation data and the historical fulfillment data may be based on one or more interactions with conversation designers and comprises past conversations that the conversation designers had with the chatbot 100 as well as previously retrieved chatbot code. The AI neural network model 308 improves the accuracy of the chatbot computer program code retrieval by applying machine learning to learn from best fit computer program code of existing chatbots, as well as from user feedback, such as acceptance or rejection by the conversation designer regarding previously retrieved chatbot computer program code. In embodiments, the AI neural network model 308 may apply such machine learning to generate computer program code should a match to desired code not be made to code in the code repository for retrieval.
  • An access service 312 may be used to manage access to the sub-system 300. The access service 312 may be a centralized database that manages conversation designer accounts and conversation designer sessions. When a conversation designer attempts to access the web portal 302 to request the sub-system 300 to retrieve chatbot computer programming code, the access service 312 may first authenticate the conversation designer and may also determine whether the conversation designer is authorized to request chatbot computer programming code. The access service 312 may remember the conversation designer's authentication and authorization for the duration of the conversation designer's session. The access service 312 may be based on an authentication and authorization protocol such as remote authentication dial-in user service (RADIUS), lightweight dictionary access protocol (LDAP), and similar protocols as understood to those of ordinary skill in the art. The access service 312 may exist as a standalone server or as a container on a server, as a virtual machine on a server, and other server types alongside other software.
  • The code sheet repository 314 may generally refer to a database associated with a computing device that may host one or more code sheets 200. The code sheet repository 314 may be a centralized location where the code sheets are stored, as well as the historical data for use by the AI neural network model 308.
  • Fulfillment services 316 may generally refer to one or more services that may be utilized to complete a fulfillment 106. With regards to the development of the chatbot 100, the sub-system 300 may use the fulfillment services 316 to manage the delivery of the automatically retrieved computer program code for the chatbot 100. The fulfillment services 316 may also be linked to the automatically retrieved computer program code for the new chatbot 100 or to modify the chatbot 100 to provide fulfillments 106 to users of the chatbot 100 and may include multiple components representing multiple different kinds of fulfillments 106, such as account management, application support, and other suitable types of fulfillment 106.
  • Conversation chat flow services 318 may generally refer to one or more services that contribute to the parsing, retrieval, and packaging of automatically retrieved computer programming code for the chatbot based on one or more conversation chat flows 206. The conversation chat flow services 318 may include a service to parse the code sheet into a computer-readable data structure for faster retrieval, analysis, and/or processing. The conversation chat flow services 318 may also cache the one or more conversation 201, the one or more conversation chat flows 206, and the one or more rules 208 in its code sheet 200 form or its parsed equivalent for more efficient retrieval in a subsequent development event.
  • Conversation chat flow services 318 may also be responsive to lambda events. A lambda event may include a lambda function and may be based on the development event. The lambda function may be representative of an anonymous function of code to contain functionality through the code as a computer programming subroutine or instructions, which functionality does not need to be named or tied to an identifier for the functionality. The lambda function may take in one or more arguments (e.g., functions as inputs) to return an expression as an anonymous function lambda such a lambda function that does not need to be named may be created from other input functions. Data from the lambda function may be sent to a function in JavaScript Object Notation (JSON), for example, as a lambda event. The lambda event may be a JSON-formatted document including data for the lambda function to process, and the lambda event may be converted to an object and passed to a function code. The lambda event may direct the conversation chat flow services 318 to retrieve one or more conversations 201, one or more conversation chat flows 206, and one or more rules 208 for code retrieval from the cache, parsed code sheets, and/or the code sheets 200. To facilitate the transfer of the retrieved data between services, servers, and/or cloud environments, the conversation chat flow services 318 may package the retrieved data by converting the retrieved data into a data interchange format such as JSON. The converted data may be transferred to the destination service, server, and/or cloud environment such as the cloud platform 320 where it may then be used to automatically retrieve the chatbot computer program code according to the development event.
  • One or more of the foregoing components comprising sub-system 300 may be incorporated in the cloud platform 320 hosted externally from the sub-system 300. For example, in FIG. 3 , the chatbot platform 304, NLP tools 306, and AI neural network model 308 are hosted in the cloud platform 320.
  • For sub-systems 300 that utilize the cloud platform 320, the PCF server 310 may be used. The PCF server 310 may be a cloud abstraction framework that wraps around cloud platform offerings to allow self-managed infrastructure to interface with the cloud platform 320 through a centralized location. In FIG. 3 , the chatbot platform 304, the NLP tools 306, and the AI neural network model 308 are hosted in a cloud platform 320, and the PCF server 310 may be utilized such that the access service 312, code sheet repository 314, fulfillment services 316, and conversation chat flow services 318 may interface with the cloud platform 320.
  • Referring now to FIG. 4 , a system 400 for codeless chatbot development may interface with the sub-system 300 to implement the processes as described herein. The system 400 may include a communication path 402, a processor 404, a memory component 406, a data storage component 414, a code sheet module 412, an AI neural network module 416, a network connectivity component 418, a server 420, a network 422, and a computing device 424. The network connectivity component 418 may communicatively connect the system 400 to server 420 and one or more computing devices 424 via the communication path 402 and the network 422. The system 400 may be communicatively coupled to the sub-system 300 of FIG. 3 via the network 422 (such as through the cloud platform 320) and may be used to carry out the methods and processes as described herein. The code sheet repository 314 of FIG. 3 may be a data storage component 414 and may be communicatively coupled to and operable by the code sheet module 412, and the AI neural network model 308 of FIG. 3 may be communicatively coupled to and operable by the AI neural network module 416.
  • The communication path 402 of the system 400 may be formed from any medium that is capable of transmitting a signal such as, for example, conductive wires, conductive traces, optical waveguides, and the like, or from a combination of mediums capable of transmitting signals. The communication path 402 communicatively couples the various components of system 400. As used herein, the term “communicatively coupled” means that coupled components are capable of exchanging data signals with one another such as, for example, electrical signals via a conductive medium, electromagnetic signals via air, optical signals via optical waveguides, and the like.
  • The processor 404 can be any device capable of executing machine-readable instructions. Accordingly, the processor 404 may be a controller, an integrated circuit, a microchip, a computer, or any other computing device. The processor 404 is communicatively coupled to the other components of the system 400 by the communication path 402. Accordingly, the communication path 402 may communicatively couple any number of processors with one another, and allow the modules coupled to the communication path 402 to operate in a distributed computing environment. Specifically, each of the components can operate as a node that may send and/or receive data.
  • The memory component 406 may be a non-transitory computer readable medium or non-transitory computer readable memory and may be configured as a non-volatile computer readable medium. The memory component 406 is communicatively coupled to the other components of the system 400 by the communication path 402. The memory component 406 may comprise RAM, ROM, flash memories, hard drives, or any other device capable of storing machine-readable instructions such that the machine-readable instructions can be accessed and executed by the processor 404. The machine-readable instructions may comprise logic or algorithms written in any programming language such as, for example, machine language that may be directly executed by the processor, or assembly languages, object-oriented programming (OOP) languages, scripting languages, microcode, and the like, that may be compiled or assembled into machine-readable instructions and stored on the memory component 406. Alternatively, the machine-readable instructions may be written in a hardware description language (HDL), such as logic implemented via either a field-programmable gate array (FPGA) configuration or an application-specific integrated circuit (ASIC), or their equivalents. Accordingly, the methods described herein may be implemented in any conventional computer programming language, as pre-programmed hardware elements, or as a combination of hardware and software components.
  • The data storage component 414 is coupled to the communication path 402 and may contain one or more persistent storage devices such as solid state drives, hard disk drives, or any other device capable of persistent data storage. The data storage component 414 may store data used by various components of the system 400. The code sheet repository 314 of FIG. 3 may be one of the one or more data storage components 414. In addition, the data storage component 414 may store data downloaded from the server 420 and/or received from the computing device 424. It should be understood that the data storage component 414 may reside local to and/or remote from the system 400, and may be configured to store one or more pieces of data for access by the system 400 and/or other components. The data storage component 414 may include computer program code, automatically retrieved chatbot code, and other electronic data documents. Other data to perform the functionalities described herein may also be stored in the data storage component 414 (e.g., cached data, user session data, historical automated code recommendation data, etc.).
  • The code sheet module 412 is communicatively coupled via the communication path 402 to the processor 404 and components of system 400. The code sheet module 412 may be any hardware capable of storing data. The hardware may be included as part of the data storage component 414. The code sheet module 412 may be a centralized location where code sheets 200 may be stored, as well as the historical data for use by the AI neural network module 416. The code sheet module 412 may also comprise a historical record of conversations, conversation chat flows, and rules for code retrieval, which may be used to provide historical data to the AI neural network module 416. The code sheet module 412 may exist remotely from the system 400, or locally to or included in the system 400, as depicted in FIG. 4 .
  • The AI neural network module 416 is communicatively coupled via the communication path 402 to the processor 404 and components of system 400. The AI neural network module 416 may train and provide machine learning capabilities to a neural network such as the AI neural network model 308 as described herein. By way of example, and not as a limitation, a convolutional neural network (CNN) may be utilized as the AI neural network model 308. The AI neural network module 416 may receive a set of historical conversation data and a set of historical fulfillment data, corresponding to the set of historical conversation data, for training. The AI neural network module 416 may receive an intent 112 from a conversation designer as input and generate a development event as output, which may be used to automatically retrieve computer program code for the chatbot 100.
  • Data stored and manipulated in the system 400 as described herein is utilized by the AI neural network module 416, which can leverage a cloud computing-based network configuration such as the cloud (e.g., the cloud platform 320 of FIG. 3 and/or network 422 of FIG. 4 ) to apply machine learning and artificial intelligence. This machine learning application may create models that can be applied by the system 400, to make it more efficient and intelligent in execution. As an example and not a limitation, the AI neural network module 416 may include artificial intelligence components selected from the group consisting of an artificial intelligence engine, Bayesian inference engine, and a decision-making engine, and may have an adaptive learning engine further comprising a deep neural network learning engine.
  • The communication path 402 communicatively couples the network connectivity component 418 to other components of the system 400. The network connectivity component 418 can be any device capable of transmitting and/or receiving data via a wireless network. Accordingly, the network connectivity component 418 can comprise a communication transceiver for sending and/or receiving data according to any wireless communication standard. For example, the network connectivity component 418 can comprise a chipset (e.g., antenna, processors, machine-readable instructions, etc.) to communicate over wired and/or wireless computer networks such as, for example, Wi-Fi, WiMAX, Bluetooth, IrDA, Ethernet, Z-Wave, ZigBee, and the like.
  • The network 422 may comprise any wired and/or wireless network such as, for example, wide area networks, metropolitan area networks, local area networks, satellite networks, and the like. Accordingly, the network 422 can be utilized as an access point by the computing device 424 to access one or more servers (e.g., server 420). The server 420 and any additional services generally comprise processors, memory, and chipset for delivering resources via the network 422. Resources can include providing, for example, processing, storage, software, and information from the server 420 to the system 400 via the network 422. Additionally, it is noted that the server 420 and any additional servers can share resources with one another over the network 422 such as, for example, via the wired portion of the network, the wireless portion of the network, or combinations thereof.
  • The computing device 424 include computers such as laptop computer, desktop computers, smartphones, tablets, and the like that have a network connectivity component for communicating with system 400 and/or server 420 via network 422. The web portal 302 may be accessed through the computing device 424. A conversation designer may use the computing device 424 to engage with the system 400 by providing the system 400 with a conversation design input to instruct the system 400 to automatically retrieve a computer program code for developing the chatbot 100.
  • Referring now to FIG. 5 , a process 500 for automatically retrieving chatbot computer programming code as described herein by use of the sub-system 300 and/or system 400 is set forth. In block 502, a code sheet 200 can be accessed to provide a set of conversations 201, a set of conversation chat flows 206, and a set of rules 208 for code retrieval based on the set of conversations 201 and the set of conversation chat flows 206. The code sheet 200 may thus provide components for automatically retrieving computer program code for a chatbot 100 in response to a conversation designer's request in block 504.
  • In block 504, an iterative process is implemented by first receiving a conversation design input from a conversation designer. The iterative process automatically retrieves a conversation 201 for a conversation designer by receiving a conversation design input of one or more conversation design inputs from the conversation designer.
  • For example, the conversation designer may or may not be familiar with computer programming. The conversation designer may retrieve computer programming code for a chatbot by entering one or more conversation design inputs via the sub-system 300. The conversation designer may enter an utterance 108 such as “I would like to develop an application support chatbot that determines an account registration date and a user's prior access to applications.”
  • In block 506, an intent may be identified from the conversation design input received in block 504. In interactions where the conversation designer provides a conversation design input, the NLP tools 306 may be used to extract essential terms and/or filter irrelevant terms so that the chatbot may form an appropriate intent 112 that may include supporting parameters. For a determined new intent 112, a new conversation 201 may be input into the code sheet 200.
  • For example, the conversation designer may enter the utterance 108 such as “I would like to develop an application support chatbot that determines an account registration date and a user's prior access to applications.” The NLP tools 306 may be used to extract essential terms, such as “develop an application support chatbot,” “account registration date,” and “user's prior access.” The NLP tools 306 may also be used to filter irrelevant terms, such as “I would like to,” “that,” and “and.” The NLP tools 306 may identify “develop an application support chatbot” as an intent 112 to develop a chatbot 100 for application support and “account registration date” and “user's prior access” as parameters for potential prompts 202.
  • In block 508, a development event is generated based on the identified intent. The AI neural network model 308 may generate a development event by taking the identified intent 112 as an input to compare against the historical conversation data and the historical fulfillment data that it was trained on. Because fulfillments require an intent and prompts to gather data necessary to fulfill the intent, the AI neural network model 308 can utilize the identified intent 112 to identify historical fulfillments based on similar intents, which in turn also identifies historical conversations associated with the historical fulfillments. The historical conversations may include one or more conversations flows 206 from the set of conversations flows 206. The development event may contain instructions to gather the conversation chat flows 206 utilized in each historical conversation associated with historical fulfillments having a similar intent as the identified intent 112. Which conversation chat flows 206 are gathered may also be impacted by the parameters identified by the NLP tool 306. The conversation designer may be prompted to provide more information to help narrow down the amount of conversation chat flows 206 that may be gathered.
  • In addition, the development event generated by AI neural network model 308 may include instructions to compress the gathered conversation chat flows 206 such that the gathered conversation chat flows 206 contain fewer prompts 104, 202 than in their state prior to retrieval. For example, if historical conversation data reveals that two conversations having the same intent 112 and arriving at the same fulfillment 106 despite each conversation 201 have additional prompts 104, 202 that the other does not have, the AI neural network model 308 may contain instructions to remove one or more conversations flows of the conversations having additional prompts 104, 202 that do not impact the fulfillment 106.
  • In block 510, a conversation chat flow 206 is retrieved from the set of conversation chat flows 206 based on the development event. Multiple conversation chat flows 206, as identified by the development event, may be combined to form a single conversation chat flow 206. The conversation chat flow 206 may be compressed according to the development event. The conversation chat flows 206 may be located in a code sheet 200, as described in the discussion of FIG. 2 . The code sheet 200 may be located in a code sheet repository 314, as described in the discussion of FIG. 3 . The retrieval of conversation chat flows 206 may be orchestrated by a conversation chat flow service 318, as described in the discussion of FIG. 3 , to handle the parsing, caching, retrieval, and/or other forms of data processing.
  • In block 512, a chatbot computer program code may be automatically retrieved from the code repository based on the retrieved conversation chat flow 206. Similar to how the conversation chat flow 206 was created by combining multiple conversation chat flows 206 as directed by the development event, the rules for code retrieval associated with the conversation chat flows 206 identified by the development event may be combined to form a codebase sufficient to develop a chatbot 100 for the identified intent 112. The computer program code may be sent to the conversation designer as a fulfillment message in the chatbot 100. The computer program code may be sent to the conversation designer in whole or in part to approve or reject the entirety or components of the computer program code. If the computer program code is approved, the chatbot 100 may transfer the computer program code to the user as a source code file, a compiled binary, or any other form of computer program code. If the computer program code is rejected, the AI neural network model 308 may receive the feedback and generate a new development event such that different combinations or arrangements of conversation chat flows 206 are combined to form a new retrieved conversation chat flow 206.
  • The iterative process as implemented in blocks 504-512 may repeat to develop the chatbot conversation 201 until the chatbot computer program code is automatically retrieved in block 512 for each conversation design input of the one or more conversation design inputs from the conversation designer. It should now be understood that disclosed herein are embodiments directed to methods and systems for codeless chatbot development for a chatbot 100. Embodiments may access a code sheet 200, receive a conversation design input from a conversation designer, identify an intent 112 from the conversation design input, generate a development event with an AI component such as the AI neural network model 308, retrieve a conversation chat flow 206 from the code sheet 200 based on the development event, and automatically retrieve computer program code that may be used to create the chatbot 100.
  • The AI component of the system, such as the AI neural network model 308, may be trained on a set of historical conversation data and a set of historical fulfillment data corresponding to the set of historical conversation data. The AI component may receive a conversation design input and may automatically generate a development event as an output. The development event may be instructions to retrieve one or more conversation chat flows 206 from the code sheet 200, along with their associated rules 208 for code retrieval, that may be combined into a single conversation chat flow 206 from which computer program code may be automatically retrieved to fulfill the conversation designer's intent 112. The AI component may improve its future code retrievals based on the conversation designer's decisions to approve or reject prior chatbot code retrievals.
  • It is noted that recitations herein of a component of the present disclosure being “configured” or “programmed” in a particular way, to embody a particular property, or to function in a particular manner, are structural recitations, as opposed to recitations of intended use. More specifically, the references herein to the manner in which a component is “configured” or “programmed” denotes an existing physical condition of the component and, as such, is to be taken as a definite recitation of the structural characteristics of the component.
  • It is noted that one or more of the following claims utilize the term “wherein” as a transitional phrase. For the purposes of defining the present disclosure, it is noted that this term is introduced in the claims as an open-ended transitional phrase that is used to introduce a recitation of a series of characteristics of the structure and should be interpreted in like manner as the more commonly used open-ended preamble term “comprising.”
  • Having described the subject matter of the present disclosure in detail and by reference to specific embodiments thereof, it is noted that the various details disclosed herein should not be taken to imply that these details relate to elements that are essential components of the various embodiments described herein, even in cases where a particular element is illustrated in each of the drawings that accompany the present description. Further, it will be apparent that modifications and variations are possible without departing from the scope of the present disclosure, including, but not limited to, embodiments defined in the appended claims. More specifically, although some aspects of the present disclosure are identified herein as preferred or particularly advantageous, it is contemplated that the present disclosure is not necessarily limited to these aspects.

Claims (20)

What is claimed is:
1. A system for intelligent codeless chatbot development, the system comprising:
a chatbot comprising an artificial intelligence neural network model and a natural language processing tool;
one or more processors;
one or more memory components communicatively coupled to the one or more processors and the chatbot; and
machine-readable instructions stored in the one or more memory components that cause the one or more processors to perform at least the following:
implement an iterative process to automatically develop a chatbot conversation for a conversation designer by receiving, with the chatbot, a conversation design input of one or more conversation design inputs from the conversation designer;
identify, with the natural language processing tool, an intent based on the conversation design input;
generate, with the artificial intelligence neural network model, a development event based on the intent;
retrieve a conversation chat flow from a set of conversation chat flows of a code sheet based on the development event, the code sheet comprising a set of conversations, the set of conversation chat flows, and a set of rules for code retrieval based on the set of conversations and the set of conversation chat flows;
automatically retrieve a chatbot computer program code based on the conversation chat flow and the set of rules from the code sheet; and
repeat the iterative process to develop the chatbot conversation until the chatbot computer program code is automatically retrieved from a code repository for each conversation design input of the one or more conversation design inputs from the conversation designer.
2. The system of claim 1, wherein the artificial intelligence neural network model is trained on a set of historical conversation data and a set of historical fulfillment data corresponding to the set of historical conversation data.
3. The system of claim 1, wherein the machine-readable instructions further cause the one or more processors to:
generate one or more prompts to the conversation designer by the chatbot to accept or reject each chatbot computer program code retrieved based on the conversation chat flow and the set of rules from the code sheet.
4. The system of claim 3, wherein the machine-readable instructions further cause the one or more processors to:
train the artificial intelligence neural network model using machine learning based on the chatbot computer program code, acceptance or rejection of each chatbot computer program code, or combinations thereof.
5. The system of claim 1, wherein each conversation chat flow is based on an associated intent, and wherein each conversation chat flow comprises a set of prompts for identification of information to generate a fulfillment of the associated intent.
6. The system of claim 5, wherein the machine-readable instructions further cause the one or more processors to:
compress, with the artificial intelligence neural network model, the conversation chat flow retrieved from the set of conversation chat flows such that the conversation chat flow contains fewer prompts than prior to retrieval.
7. The system of claim 1, wherein to retrieve the code sheet, the machine-readable instructions further cause the one or more processors to:
parse the code sheet into a computer program code format.
8. The system of claim 1, wherein the machine-readable instructions further cause the one or more processors to:
generate a lambda event based on the development event;
select a conversation from the set of conversations, the conversation chat flow, and one or more rules from the set of rules from the code sheet for code retrieval based on the lambda event;
convert the conversation, the conversation chat flow, and the one or more rules into a data interchange format;
transmit the conversation, the conversation chat flow, and the one or more rules to a cloud platform based on the lambda event; and
automatically retrieve the chatbot computer program code based on the data interchange format from the cloud platform.
9. The system of claim 8, wherein the machine-readable instructions further cause the one or more processors to:
cache the conversation, the conversation chat flow, and the one or more rules for a subsequent development event.
10. A system for intelligent codeless chatbot development, the system comprising:
a chatbot comprising an artificial intelligence neural network model and a natural language processing tool;
one or more processors;
one or more memory components communicatively coupled to the one or more processors and the chatbot; and
machine-readable instructions stored in the one or more memory components that cause the one or more processors to perform at least the following:
implement an iterative process to automatically develop a chatbot conversation for a conversation designer by receiving, with the chatbot, a conversation design input of one or more conversation design inputs from the conversation designer;
identify, with the natural language processing tool, an intent based on the conversation design input;
generate, with the artificial intelligence neural network model, a development event based on the intent;
retrieve a conversation chat flow from a set of conversation chat flows of a code sheet based on the development event, the code sheet comprising a set of conversations, the set of conversation chat flows, and a set of rules for code retrieval based on the set of conversations and the set of conversation chat flows, wherein each conversation chat flow is based on an associated intent, and wherein each conversation chat flow comprises a set of prompts for identification of information to generate a fulfillment of the associated intent;
automatically retrieve a chatbot computer program code based on the conversation chat flow and the set of rules from the code sheet; and
repeat the iterative process to develop the chatbot conversation until the chatbot computer program code is automatically retrieved from a code repository for each conversation design input of the one or more conversation design inputs from the conversation designer.
11. The system of claim 10, wherein the artificial intelligence neural network model is trained on a set of historical conversation data and a set of historical fulfillment data corresponding to the set of historical conversation data.
12. The system of claim 10, wherein the machine-readable instructions further cause the one or more processors to:
generate one or more prompts to the conversation designer by the chatbot to accept or reject each chatbot computer program code retrieved based on the conversation chat flow and the set of rules from the code sheet.
13. The system of claim 12, wherein the machine-readable instructions further cause the one or more processors to:
train the artificial intelligence neural network model using machine learning based on the chatbot computer program code, acceptance or rejection of each chatbot computer program code, or combinations thereof.
14. The system of claim 10, wherein the machine-readable instructions further cause the one or more processors to:
compress, with the artificial intelligence neural network model, the conversation chat flow retrieved from the set of conversation chat flows such that the conversation chat flow contains fewer prompts than prior to retrieval.
15. A method for intelligent codeless chatbot development, the method comprising:
implementing, via a processor, an iterative process to automatically develop a chatbot conversation for a conversation designer by receiving, with a chatbot comprising an artificial intelligence neural network model and a natural language processing tool, a conversation design input of one or more conversation design inputs from the conversation designer;
identifying, with the natural language processing tool, an intent based on the conversation design input;
generating, with the artificial intelligence neural network model, a development event based on the intent;
retrieving, via the processor, a conversation chat flow from a set of conversation chat flows of a code sheet based on the development event, the code sheet comprising a set of conversations, the set of conversation chat flows, and a set of rules for code retrieval based on the set of conversations and the set of conversation chat flows;
automatically retrieving, via the processor, a chatbot computer program code based on the conversation chat flow and the set of rules from the code sheet; and
repeating the iterative process to develop the chatbot conversation until the chatbot computer program code is automatically retrieved from a code repository for each conversation design input of the one or more conversation design inputs from the conversation designer.
16. The method of claim 15, wherein the artificial intelligence neural network model is trained on a set of historical conversation data and a set of historical fulfillment data corresponding to the set of historical conversation data.
17. The method of claim 15, further comprising:
generating one or more prompts to the conversation designer by the chatbot to accept or reject each chatbot computer program code retrieved based on the conversation chat flow and the set of rules from the code sheet.
18. The method of claim 17, further comprising:
training the artificial intelligence neural network model using machine learning based on the chatbot computer program code, acceptance or rejection of each chatbot computer program code, or combinations thereof.
19. The method of claim 15, further comprising:
compressing, with the artificial intelligence neural network model, the conversation chat flow retrieved from the set of conversation chat flows such that the conversation chat flow contains fewer prompts than prior to retrieval.
20. The method of claim 15, further comprising:
generating a lambda event based on the development event;
selecting a conversation from the set of conversations, the conversation chat flow, and one or more rules from the set of rules from the code sheet for code retrieval based on the lambda event;
converting the conversation, the conversation chat flow, and the one or more rules into a data interchange format;
transmitting the conversation, the conversation chat flow, and the one or more rules to a cloud platform based on the lambda event; and
automatically generating the chatbot computer program code based on the data interchange format from the cloud platform.
US17/469,241 2021-09-08 2021-09-08 Methods and systems for codeless chatbot development Active 2041-12-30 US11699431B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US17/469,241 US11699431B2 (en) 2021-09-08 2021-09-08 Methods and systems for codeless chatbot development
PCT/US2022/042555 WO2023038868A1 (en) 2021-09-08 2022-09-02 Methods and systems for codeless chatbot development

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US17/469,241 US11699431B2 (en) 2021-09-08 2021-09-08 Methods and systems for codeless chatbot development

Publications (2)

Publication Number Publication Date
US20230076767A1 true US20230076767A1 (en) 2023-03-09
US11699431B2 US11699431B2 (en) 2023-07-11

Family

ID=83507581

Family Applications (1)

Application Number Title Priority Date Filing Date
US17/469,241 Active 2041-12-30 US11699431B2 (en) 2021-09-08 2021-09-08 Methods and systems for codeless chatbot development

Country Status (2)

Country Link
US (1) US11699431B2 (en)
WO (1) WO2023038868A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102635363B1 (en) * 2023-10-19 2024-02-08 주식회사 크레드잇 Code generation system based on interactive chatbot

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190124020A1 (en) * 2017-10-03 2019-04-25 Rupert Labs Inc. (Dba Passage Ai) Chatbot Skills Systems And Methods
US20190158433A1 (en) * 2017-11-20 2019-05-23 Samsung Electronics Co., Ltd. Electronic device and method for changing chatbot
US20200143115A1 (en) * 2015-01-23 2020-05-07 Conversica, Inc. Systems and methods for improved automated conversations
US20200341970A1 (en) * 2019-04-26 2020-10-29 Oracle International Corporation Bot extensibility infrastructure

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010078614A1 (en) 2009-01-08 2010-07-15 Relevancenow Pty Limited Chatbots
CN108369521A (en) 2015-09-02 2018-08-03 埃丹帝弗有限公司 Intelligent virtual assistance system and correlation technique
US20180075014A1 (en) 2016-09-11 2018-03-15 Xiaojiang Duan Conversational artificial intelligence system and method using advanced language elements
US10388285B2 (en) 2017-08-31 2019-08-20 International Business Machines Corporation Generating chat bots from web API specifications
US20190103111A1 (en) 2017-10-03 2019-04-04 Rupert Labs Inc. ( DBA Passage AI) Natural Language Processing Systems and Methods
WO2019162921A1 (en) 2018-02-26 2019-08-29 Nintex Pty Ltd Method and system for chatbot-enabled web forms and workflows
US20200034681A1 (en) 2018-07-24 2020-01-30 Lorenzo Carver Method and apparatus for automatically converting spreadsheets into conversational robots (or bots) with little or no human programming required simply by identifying, linking to or speaking the spreadsheet file name or digital location
WO2020102571A1 (en) 2018-11-16 2020-05-22 Liveperson, Inc. Automatic bot creation based on scripts
US11847167B2 (en) 2019-06-05 2023-12-19 Boomi, LP System and method for generation of chat bot system with integration elements augmenting natural language processing and native business rules
KR102148439B1 (en) 2019-10-24 2020-08-26 한경훈 Server, method, and system for providing chatbot service with adaptive development environment based on block unit combined api function and scenario
US11651250B2 (en) 2019-11-20 2023-05-16 International Business Machines Corporation Automatically generated conversation output

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200143115A1 (en) * 2015-01-23 2020-05-07 Conversica, Inc. Systems and methods for improved automated conversations
US20190124020A1 (en) * 2017-10-03 2019-04-25 Rupert Labs Inc. (Dba Passage Ai) Chatbot Skills Systems And Methods
US20190158433A1 (en) * 2017-11-20 2019-05-23 Samsung Electronics Co., Ltd. Electronic device and method for changing chatbot
US20200341970A1 (en) * 2019-04-26 2020-10-29 Oracle International Corporation Bot extensibility infrastructure

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Strutynskyi Maksym, " A concept of intent-based contextual chat-bot with capabilities for continual learning", Spring 2020, Master’s Degree Project: 68 pgs <intentBased_Learning.pdf> *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102635363B1 (en) * 2023-10-19 2024-02-08 주식회사 크레드잇 Code generation system based on interactive chatbot

Also Published As

Publication number Publication date
US11699431B2 (en) 2023-07-11
WO2023038868A1 (en) 2023-03-16

Similar Documents

Publication Publication Date Title
US11816435B1 (en) Applied artificial intelligence technology for contextualizing words to a knowledge base using natural language processing
AU2019202632B2 (en) Deep learning techniques based multi-purpose conversational agents for processing natural language queries
Harms et al. Approaches for dialog management in conversational agents
US11297016B1 (en) Intelligent conversational systems
US10492039B1 (en) State-based electronic message management systems and controllers
CN109760041B (en) Chat robot-based cloud management system and operation method thereof
CN110321413A (en) Session frame
JP2022544969A (en) Voice conversation processing method and device
WO2021109690A1 (en) Multi-type question smart answering method, system and device, and readable storage medium
CN109685571A (en) Intelligent customer service system based on car networking
AU2020402099B2 (en) Function-as-a-service cloud chatbot for two-way communication systems
US20090182661A1 (en) Firm offers of credit system
US20220237567A1 (en) Chatbot system and method for applying for opportunities
CN102369568A (en) Systems and methods for interactively accessing hosted services using voice communications
US11699431B2 (en) Methods and systems for codeless chatbot development
CN116431316B (en) Task processing method, system, platform and automatic question-answering method
US10805469B1 (en) Systems and methods for intelligent routing call center solutions
CN116049360A (en) Intelligent voice dialogue scene conversation intervention method and system based on client image
KR20180042763A (en) Chatting type financial robot and method for providing financial service using the same
CN111858874A (en) Conversation service processing method, device, equipment and computer readable storage medium
CN110442692A (en) It is a kind of for problem worksheet processing and its method and apparatus of training
CN108510188A (en) Data processing method, device based on alliance&#39;s operation and equipment
CN111914077A (en) Customized speech recommendation method, device, computer equipment and storage medium
US11430446B1 (en) Dialogue system and a dialogue method
KR102218765B1 (en) System for providing customized travel platform service brokering certified tour guide

Legal Events

Date Code Title Description
FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

AS Assignment

Owner name: ALLSTATE SOLUTIONS PRIVATE LIMITED, INDIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:SHEPAL, CHINMAYEE;REEL/FRAME:057780/0469

Effective date: 20210915

STCF Information on status: patent grant

Free format text: PATENTED CASE