EP4740110A1 - Knowledge bot as a service - Google Patents
Knowledge bot as a serviceInfo
- Publication number
- EP4740110A1 EP4740110A1 EP24852571.9A EP24852571A EP4740110A1 EP 4740110 A1 EP4740110 A1 EP 4740110A1 EP 24852571 A EP24852571 A EP 24852571A EP 4740110 A1 EP4740110 A1 EP 4740110A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- documents
- user
- query
- user query
- knowledge
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/332—Query formulation
- G06F16/3329—Natural language query formulation
- G06F16/33295—Natural language query formulation in dialogue systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
- G06F16/3332—Query translation
- G06F16/3338—Query expansion
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
- G06F16/334—Query execution
- G06F16/3344—Query execution using natural language analysis
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/9032—Query formulation
- G06F16/90332—Natural language query formulation or dialogue systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/30—Semantic analysis
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/30—Semantic analysis
- G06F40/35—Discourse or dialogue representation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/02—User-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
Definitions
- the present specification generally relates to computer-based automated interactive services, and more specifically, to a framework for providing a knowledge hot configurable to interact with users across multiple domains according to various embodiments of the disclosure.
- Service providers typically provide a platform for interacting with their users.
- the platform can be implemented as a website, a mobile application, or a phone service, through which the users may access data and/or services offered by the service provider.
- these platforms can be interactive in nature (e.g., the content of the platform can be changed based on different user interactions, etc.), they are fixed and bound by their structures. In other words, users have to navigate through the platform to obtain the desired data and/or services.
- the data and/or the service desired by a user is “hidden” (e.g., requiring multiple navigation steps that are not intuitive, etc.), it may be difficult for the user to access the data and/or the service purely based on manual navigation of the platform.
- service providers have often dedicated one or more information pages, such as a “Frequently Asked Questions (FAQ)” page, within the platforms for assisting users to access data and/or services that are popular in demand.
- the information pages may include predefined questions, such as “how to change my password” and pre-populated answers to the questions.
- predefined questions such as “how to change my password”
- pre-populated answers to the questions are predefined questions.
- a user who is looking for data and/or services is still required to navigate through the information pages to find a question that matches the data and/or services that the user desires. If the desired data and/or services do not match any of the questions on the information pages, the user will have to manually navigate the platform or contact a human agent of the service provider.
- the information pages also create an additional burden for the service provider, as the answers to the pre-generated questions would need to be reviewed and/or modified as necessary whenever any one of the platform, the data, and/or the services offered by the service provider is updated.
- FIG. I is a block diagram illustrating an electronic transaction system according to an embodiment of the present disclosure.
- FIG. 2 is a block diagram illustrating a knowledge bot according to an embodiment of the present disclosure
- FIG. 3 is a block diagram illustrating a document retrieval module that utilizes multiple search engines for generating search results according to an embodiment of the present disclosure
- FIG. 4 illustrates an example flow for generating a knowledge bot according to an embodiment of the present disclosure
- FIG. 5 illustrates an example flow for using a knowledge bot to generate a free-form answer according to an embodiment of the present disclosure
- FIG. 6 illustrates an example flow for using multiple search engines for generating search results according to an embodiment of the present disclosure
- FIG. 7 illustrates an example neural network that can be used to implement a machine learning model according to an embodiment of the present disclosure
- FIG. 8 is a block diagram of a system for implementing a device according to an embodiment of the present disclosure.
- the present disclosure describes methods and systems for providing a knowledge bot configurable to interact with users across multiple domains.
- a knowledge bot is a software module that is capable of interacting with users through dialogues in natural languages (e.g., free-form/unstructured texts).
- natural languages e.g., free-form/unstructured texts.
- a knowledge bot configured using the techniques disclosed herein can dynamically search for relevant documents within one or more specific domains based on a user query, and generate a free-form response to the user query using content extracted from the relevant documents.
- knowledge bots may be dynamically generated (e.g., as a service) for different service providers or for different domains within a service provider.
- Each service provider, or each domain within a service provider may be associated with documents that include information and knowledge related to the service provider or the domain.
- a service provider may have access to product manuals associated with products and/or services offered by the service provider, technical articles and/or marketing articles published by the engineers or marketing teams of the service provider, press releases generated by the service provider, reviews and other articles that are generated by third parties describing the products and/or services offered by the service provider, etc.
- the documents related to a service provider may be associated with different domains.
- the documents related to the service provider may include documents associated with navigating the platform of the service provider, documents associated with products and/or services offered by the service provider, documents associated with legal matters such as user data privacy protection, and documents associated with other domains.
- a chat system may first obtain the documents related to one or more domains associated with the particular service provider. When the documents are associated with different domains, the chat system may divide the documents into different sets of documents (also referred to as different “corpuses of documents”) based on the corresponding domains, such that each domain may be associated with a corresponding corpus of documents. The chat system may then generate one or more indices for each corpus of the documents that can be used by one or more search engines for searching the corpus of documents based on user queries. In some embodiments, the chat system may generate multiple indices, such as an inverted index and a vector index, for each corpus of documents.
- An inverted index is an index data structure that stores mappings from content, such as words or character strings, extracted from documents to locations of the documents within the corpus of documents.
- the mappings can be implemented as a hash table that uses different words or character strings extracted from each document of the corpus of documents as keys. The keys are mapped to values indicating locations of documents that include the corresponding words or character strings.
- the inverted index can be used by a text-based search engine to perform a search to retrieve relevant documents based on a query. For example, upon receiving a user query, the text-based search engine may identify keys within the hash table that includes keywords that match words or character strings included in the user query, and may retrieve documents that are mapped from the keys.
- a vector index is another type of index data structure. Unlike the inverted index that uses words or character strings for the indices, the vector index is built on vectors through one or more mathematical models.
- the chat system may extract embeddings from the corpus of documents (e.g., by using one or more natural language models, such as a bidirectional encoder representations from transformers (BERT) model, etc.).
- the chat system may generate the embeddings by parsing the words in the documents in multiple directions (e.g., forward and backward, etc.), such that the chat system may understand the meaning of each word not just based on the word itself, but also the neighboring words (e.g., words the come before and after the word).
- the embeddings generated for a document may represent contextual meanings of the document.
- Each embedding can be implemented as a vector having a set of dimensions, where each dimension may correspond to a specific meaning/context.
- each embedding may encompass a semantic context derived from a portion of a document (e.g., a phrase, a sentence, a paragraph, etc.).
- each embedding captures a context (instead of keywords) of the corresponding portion of the document.
- the embeddings may be implemented as keys in a table (e.g., a hash table) that are mapped to the corresponding documents.
- a semantic-based search engine may then use the vector index to perform a search to retrieve relevant documents based on a query. For example, upon receiving a user query, the semantic-based search engine may extract one or more embeddings based on the user query. The semantic-based search engine may then identify keys (which include embeddings) that match the one or more embeddings. For example, a key matches an embedding from the one or more embeddings when a Euclidean distance between the key (which corresponds to an embedding) and the embedding from the one or more embeddings is within a threshold. The semantic-based search engine may retrieve documents corresponding to the matched keys.
- One advantage of using a vector index to query the corpus of documents is that documents that share similar semantic contexts with the user query (but may not include identical keywords within the documents) will be retrieved by the semantic-based search engine. Since the documents do not include identical keywords as the user query, the textbased search engine may not be capable of retrieving such relevant documents. On the other hand, since the embeddings stored in the vector index are constrained by the number of dimensions, and may not be able to represent every keyword in the documents, the semanticbased search engine may miss certain relevant documents that the text-based search engine can retrieve based on a user query. As such, the chat system may use both the inverted index and the vector index for retrieving relevant documents for a query in order to enhance the search result.
- the chat system may integrate the search engines (e.g., the text-based search engine, the semantic -based search engine, etc.) with a machine learning model (e.g., a generative artificial intelligence model (also referred to as a large language model) such as ChatGPT by OpenAI®, Bard, DALL-E, Midjourney, DeepMind, etc.) for the knowledge bot.
- a machine learning model e.g., a generative artificial intelligence model (also referred to as a large language model) such as ChatGPT by OpenAI®, Bard, DALL-E, Midjourney, DeepMind, etc.
- the chat system may integrate a data framework (e.g., Llamalndex, LangChain, etc.) for ingesting and structuring data associated with different domains for the machine learning model.
- the framework provides data connectors that enable the knowledge bot to ingest data of different formats (e.g., PDFs, text documents, etc.) from various data sources using different Application Programming Interface
- the chat system may also provide an interface for interacting with the users and enabling the users to access and utilize the knowledge bot.
- the interface may be implemented as a chat window that may be integrated within the platform of the service provider, such that the users may interact with the knowledge bot by providing queries in a text format.
- the interface maybe implemented within an interactive voice response (IVR) system such that the users may interact with the knowledge bot by providing queries in a voice format.
- IVR interactive voice response
- the chat system may then translate the voice query into a text query using one or more voice recognition algorithms.
- the knowledge bot may first analyze the user query received from the user to determine which domain the user query is associated with.
- the user query received from the user may be unstructured and free form (that is, does not conform to a predefined structure or form specified by the service provider).
- the knowledge bot may then identify the indices and the corpus of documents corresponding to the domain associated with the user query, and may use the search engines (e.g., the text-based search engine, the semantic-based search engine, etc.) to retrieve documents, from the corpus of documents, that are relevant to the user query.
- the search engines e.g., the text-based search engine, the semantic-based search engine, etc.
- the text-based search engine may extract keywords (e.g., words or strings of characters, etc.) from the user query, and match the keywords with one or more associated keys in the inverted index.
- the text-based search engine may identify a first set of documents that are mapped from the one or more associated keys as relevant to the user query.
- the semantic-based search engine may also retrieve a second set of documents, from the corpus of documents, that are relevant to the user query. For example, the semantic -based search engine may determine one or more embeddings (e.g., vectors) based on the user query. The semantic-based search engine may then compare the one or more embeddings to the embeddings stored in the vector index, and may identify a set of embeddings stored in the vector index that are most similar to the one or more embeddings (e.g., having Euclidean distances from the one or more embeddings within a threshold, etc.). The semantic-based search engine may retrieve, from the corpus of documents, the second set of documents mapped from the set of embeddings.
- embeddings e.g., vectors
- each of the search engines has its strengths and weaknesses, and may retrieve relevant documents that the other search engine may miss.
- the first set of documents retrieved by the text-based search engine and the second set of documents retrieved by the semantic-based search engine may not completely overlap, as the text-based search engine may retrieve one or more documents that are missed by the semantic -based search engine, and the semantic-based search engine may similarly retrieve one or more documents that are missed by the text-based search engine.
- the knowledge bot may merge the two sets of documents retrieved by the text-based search engine and the semantic-based search engine, respectively.
- each search engine may determine a relevancy score (or confidence score) for each of the retrieved documents.
- the score may indicate how confident the search engine is that the document is related to the user query. For example, the text-based search engine may determine a higher score for a document that includes all of the keywords extracted from the user query than a document that includes only one keyword extracted from the user query. Similarly, the semantic-based search engine may determine a higher score for a document associated with embeddings that are closer to the embeddings associated with the user query than a document associated with embeddings that are farther away from the embeddings associated with the user query.
- the knowledge bot may rank the documents within the first and second sets of documents based on the scores, and may generate a set of relevant documents (e.g., selecting the highest ranked number of documents, etc.).
- the knowledge bot may then generate an input (e.g., a prompt) for the machine learning model based on the user query and the set of relevant documents.
- the machine learning model may generate a response to the user query based on the content of the set of relevant documents.
- the machine learning model may also generate embeddings based on the set of relevant documents.
- the machine learning model may then match the embeddings generated based on the user query with embeddings generated based on the set of relevant documents, and may extract portions of the content from the set of relevant documents for use in generating the response to the user query.
- the machine learning model may generate the response in a natural language format (e.g., a free-form, unstructured format) based on the extracted portions of the content according to one or more parameters.
- the response may include one or more sentences and/or one or more paragraphs.
- the knowledge bot may use multiple machine learning models for generating responses to different user queries.
- the chat system may configure the knowledge bot to use a simpler machine learning model (e.g., a machine learning model having simpler internal structures) for generating responses for user queries that are less complex.
- the responses generated by such a machine learning model may be directly copied from one or more of the relevant documents.
- the knowledge bot may use a more sophisticated machine learning model (e.g., a machine learning model having more complex internal structures) for generating responses for user queries that are more complex.
- the responses generated by such a machine learning model may include new content that is not found in any of the relevant documents. Rather, the new content in some embodiments may be derived or otherwise generated by the machine learning model through the internal structure of the machine learning model based on the relevant documents.
- the knowledge bot may provide the response on the interface (e.g., display the response on a chat window of a user device, transmit an audio response to a user device, etc.).
- the knowledge bot may continue to interact with the user. For example, the user may continue to have a natural, free-form dialogue with the knowledge bot via the interface.
- the user may provide a subsequent query to the knowledge bot, and the knowledge bot may again process the subsequent query using the techniques disclosed herein, and provide the user with another response. Since the user may submit multiple queries within an online session (e.g., a session being defined as an uninterrupted connection between the user device of the user and the knowledge bot over a network), some of the queries may be related to each other. In some scenarios, the background (or the context) of the session may help the knowledge bot in interpreting a user query more accurately.
- the knowledge bot may retrieve the relevant documents from a corpus of documents associated with the XYZ program product, and may generate a first response to the user.
- the first response may indicate how the user can generate a document using the XYZ program.
- the user may submit a second query “I don’t know how to save it” to the knowledge bot. Based solely on the second query, the knowledge bot may not be able to understand the question, or would retrieve documents that may not be relevant to the query or may not be useful in helping the user based on the query.
- the knowledge bot may understand that the user would like to know how to save a document generated in the XYZ program.
- the context of a subsequent user query need not be during the same online session, but could be during a later online session. In this case, the knowledge bot would be able to access queries and responses from previous online sessions for the user to provide additional context to a current query.
- Online sessions conducted within a shorter time frame may be more relevant, and as such, the knowledge bot need not look at all previous online sessions, but only more recent ones, such as within the same day (or other time frame) as the current online session.
- the knowledge bot may modify a user query based on a context of the online session (or any previous online sessions), and may use the modified user query to generate the response in order to improve the quality of the responses and the dialogue with the user.
- the knowledge hot may include a chat history data storage and may store user queries submitted by the user and responses generated for the user queries in the chat history data storage.
- the knowledge bot may generate a context based on the chat history between the user and the knowledge bot (the chat history may encompass only the user queries and responses associated with the same online session or user queries and responses associated with this online session and any previous online sessions, etc.).
- the knowledge bot may modify the second user query based on the context.
- the knowledge bot may infer that the term “it” in the second query refers to “the document in the XYZ program” based on the context derived from the online session.
- the knowledge bot may then modify the second query by substituting the word “it” with the phrase “the document in the XYZ program.”
- the modified second query may become “I don’t know how to save the document in the XYZ program.”
- the knowledge bot may then use the search engines to retrieve relevant documents for the user based on the modified second query.
- the knowledge bot may also use the modified second query and the retrieved documents to generate a prompt for the machine learning model. Based on the prompt, the machine learning model may generate a second response to the second user query.
- the knowledge bot may provide the second response to the user via the interface. After providing the second response to the user, the knowledge bot may also store the modified second query and the second response in the chat history data storage for processing subsequent queries from the user.
- the chat system may incorporate a semantic cache layer within the knowledge bot, such that the same response that is stored in a cache memory can be used to respond to similar user queries.
- the semantic cache layer is different from a conventional cache system where an exact match is required between a user query and a key of the cache in order to use the cache data for a response.
- a new query has to be identical to a key stored in a cache memory for the cache system to use the response from the matched key for the new query.
- the semantic cache layer does not store queries directly as keys in the cache memory. Instead, the semantic cache layer is configured to store embeddings associated with different user queries submitted to the knowledge bot in the past. In some embodiments, due to the limited storage capacity of the semantic cache layer, the semantic cache layer may select embeddings associated with a number of most frequently submitted queries to store in the cache memory. Each of the embeddings may be linked to a response that has been generated by the machine learning model in the past and provided to a user.
- the knowledge bot may check to see if a match exists within the semantic cache layer before using the search engines and the machine learning model to generate a response for the new user query.
- the knowledge bot may use the machine learning model to generate one or more embeddings based on the user query.
- the knowledge bot may then determine if any keys (embeddings) within the cache memory that are similar to the one or more embeddings generated based on the user query.
- the knowledge both may identify a match if a key within the cache memory is within a threshold distance from the one or more embeddings generated based on the user query.
- the sematic cache layer may provide the response that is linked to the matched key (the response that was previously generated by the knowledge bot as a response to a previous query) to the interface as a response to the new user query.
- the chat system may validate the knowledge bot and the responses generated by the knowledge bot.
- the chat system may validate the knowledge bot in an online manner and an offline manner.
- the chat system may use a set of test queries for validating the knowledge bot in an offline manner.
- the set of test queries may include queries of different lengths, where a portion of the set of test queries is below a length threshold and another portion of the set of test queries is above the length threshold.
- the queries may have been provided to different chat bots to generate benchmark responses, and the benchmark responses may have been further reviewed and revised by one or more human agents.
- a set of benchmark responses corresponding to the set of test queries may be obtained by the chat system.
- the chat system may generate embeddings based on each of the set of benchmark responses.
- the chat system may obtain a set of test responses from the knowledge bot.
- the chat system may also generate embeddings based on each of the set of test responses from the knowledge bot.
- the chat system may compare the embeddings generated based on the corresponding benchmark response against the embeddings generated based on the corresponding test response. The chat system may determine a deviation between the two embeddings.
- the chat system may reconfigure the knowledge bot, for example, by adjusting one or more parameters associated with the search engines and/or adjusting one or more parameters associated with the machine learning model.
- the chat system may test various versions of the knowledge bot (each version may be associated with different parameters for the search engines and/or different parameters for the machine learning model), and may select the version of the knowledge bot having the least deviations.
- the chat system may determine, based on the deviations between the embeddings, that the corpus of document lacks information associated with a particular topic within the domain. For example, the chat system may determine that the deviations are substantially larger for a subset of queries related to the particular topic than other queries.
- the chat system may retrieve (e.g., crawl within an internal network of the service provider or on the Internet) additional documents related to the particular topic, and may add the additional documents to the corpus of documents for use by the knowledge bot.
- the chat system may intercept a response generated by the machine learning model for a user query before the response is provided to a user via an interface.
- the chat system may validate the response, and may modify the response before providing the modified response to the user. For example, the chat system may adapt a guideline of the service provider in validating/correcting responses, such as removing one or more words that are determined to be inappropriate. In some embodiments, when the response generated by the machine learning model is deemed to be inappropriate overall, the chat system may not provide the response.
- -Il- response may instead provide a default response (e.g., “we cannot find an answer to your question,” etc.) to the user.
- the chat system may also intercept a user query submitted by a user before providing the user query to the knowledge bot.
- the chat system may determine whether the user query is appropriate or related to one of the known domains associated with the service provider. For example, a user query of “how is the weather today” or “who is the president” may not be associated with any domains associated with the service provider.
- the chat system may provide the default response to the user without providing such a query to the knowledge bot, which improves the efficiency of the system by requiring less computational resources.
- the knowledge bot can be dynamic and flexible in answering user questions associated with different domains without requiring the generation of multiple knowledge bots that cater to the different domains or reconfiguring and/or retraining of the knowledge bot.
- the knowledge bot can be configured to generate responses in different manners (e.g., different length requirements, different tone requirements, different complexity requirements, etc.) for different domains.
- the knowledge bot may configure the machine learning model to generate responses with less technical complexity, longer in length, and in a professional tone when the user query is associated with a domain related to customers of the service provider.
- the knowledge bot may configure the machine learning model to generate responses with more technical complexity and shorter in length when the user query is associated with a domain related to technical staffs of the service provider.
- the knowledge bot is generated by integrating different modules (e.g., different search engines, a machine learning model, etc.) that can perform their corresponding functionalities independent of each other, these modules can be easily interchangeable.
- the chat system may replace one machine learning model (e.g., a ChatGPT) with another machine learning model (e.g., Bard), or replace one search engine with another search engine in a plug-and-play manner, and the knowledge hot can continue to function the same way without interruptions.
- Fig. 1 illustrates an electronic transaction system 100, within which the chat system may be implemented according to one embodiment of the disclosure.
- the electronic transaction system 100 includes a service provider server 130, a merchant server 120, and user devices 1 10 and 180 that may be communicatively coupled with each other via a network 160.
- the network 160 may be implemented as a single network or a combination of multiple networks.
- the network 160 may include the Internet and/or one or more intranets, landline networks, wireless networks, and/or other appropriate types of communication networks.
- the network 160 may comprise a wireless telecommunications network (e.g., cellular phone network) adapted to communicate with other communication networks, such as the Internet.
- a wireless telecommunications network e.g., cellular phone network
- the user device 110 may be utilized by a user 140 to interact with the merchant server 120 and/or the service provider server 130 over the network 160.
- the user 140 may use the user device 1 10 to conduct an online purchase transaction with the merchant server 120 via websites hosted by, or mobile applications associated with, the merchant server 120.
- the user 140 may also log in to a user account to access account services or conduct electronic transactions (e.g., data access, account transfers or payments, etc.) with the service provider server 130.
- the user device 110 in various embodiments, may be implemented using any appropriate combination of hardware and/or software configured for wired and/or wireless communication over the network 160.
- the user device 110 may include at least one of a wireless cellular phone, wearable computing device, PC, laptop, etc.
- the user device 110 includes a user interface (UI) application 112 (e.g., a web browser, a mobile payment application, etc.), which may be utilized by the user 140 to interact with the merchant server 120 and/or the service provider server 130 over the network 160.
- the user interface application 112 includes a software program (e.g., a mobile application) that provides a graphical user interface (GUI) for the user 140 to interface and communicate with the service provider server 130 and/or the merchant server 120 via the network 160.
- GUI graphical user interface
- the user interface application 112 includes a browser module that provides a network interface to browse information available over the network 160.
- the user interface application 112 may be implemented, in part, as a web browser to view information available over the network 160.
- the user 140 may use the user interface application 1 12 to initiate electronic transactions with the merchant server 120 and/or the service provider server 130.
- the user device 110 may include other applications 116 as may be desired in one or more embodiments of the present disclosure to provide additional features available to the user 140.
- such other applications 116 may include security applications for implementing client-side security features, programmatic client applications for interfacing with appropriate application programming interfaces (APIs) over the network 160, and/or various other types of generally known programs and/or software applications.
- the other applications 116 may interface with the user interface application 112 for improved efficiency and convenience.
- the user device 110 may include at least one identifier 114, which may be implemented, for example, as operating system registry entries, cookies associated with the user interface application 1 12, identifiers associated with hardware of the user device 110 (e.g., a media control access (MAC) address), or various other appropriate identifiers.
- the identifier 114 may be passed with a user login request to the service provider server 130 via the network 160, and the identifier 114 may be used by the service provider server 130 to associate the user with a particular user account (e.g., and a particular profile).
- the user 140 is able to input data and information into an input component (e.g., a keyboard) of the user device 110.
- an input component e.g., a keyboard
- the user 140 may use the input component to interact with the UI application 112 (e.g., to conduct a purchase transaction with the merchant server 120 and/or the service provider server 130, to initiate a chargeback transaction request, etc.).
- the user device 180 may include substantially the same hardware and/or software components as the user device 110, which may be used by a user who is internal to a service provider associated with the service provider server 130 to initiate building and configuring of one or more knowledge bots to the service provider or other service providers (e.g., such as the merchant associated with the merchant server 120, etc.). Alternatively, the user device 180 may also be used by a user internal to the service provider to interact with one or more knowledge bots associated with the service provider server 130.
- the merchant server 120 in various embodiments, may be maintained by a business entity (or in some cases, by a partner of a business entity that processes transactions on behalf of business entity).
- the merchant server 120 may include a merchant database 124 for identifying available items or services, which may be made available to the user devices 110 and 180 for viewing and purchase by the respective users.
- the merchant server 120 may include a marketplace application 122, which may be configured to provide information over the network 160 to the user interface application 112 of the user device 110.
- the marketplace application 122 may include a web server that hosts a merchant website for the merchant.
- the user 140 of the user device 110 (or the user of the user device 180) may interact with the marketplace application 122 through the user interface application 1 12 over the network 160 to search and view various items or services available for purchase in the merchant database 124.
- the merchant server 120 in one embodiment, may include at least one merchant identifier 126, which may be included as part of the one or more items or services made available for purchase so that, e.g., particular items and/or transactions are associated with the particular merchants.
- the merchant identifier 126 may include one or more attributes and/or parameters related to the merchant, such as business and banking information.
- the merchant identifier 126 may include attributes related to the merchant server 120, such as identification information (e.g., a serial number, a location address, GPS coordinates, a network identification number, etc.).
- the service provider server 130 may be maintained by a transaction processing entity or an online service provider, which may provide processing of electronic transactions between users (e.g., the user 140 and users of other user devices, etc.) and/or between users and one or more merchants.
- the service provider server 130 may include a service application 138, which may be adapted to interact with the user device 110 and/or the merchant server 120 over the network 160 to facilitate the electronic transactions (e.g., electronic payment transactions, data access transactions, etc.) among users and merchants processed by the service provider server 130.
- the service provider server 130 may be provided by PayPal®, Inc., of San Jose, California, USA, and/or one or more service entities or a respective intermediary that may provide multiple point of sale devices at various locations to facilitate transaction routings between merchants and, for example, service entities.
- the service application 138 may include a payment processing application (not shown) for processing purchases and/or payments for electronic transactions between a user and a merchant or between any two entities (e.g., between two users, between two merchants, etc.).
- the payment processing application assists with resolving electronic transactions through validation, delivery, and settlement. As such, the payment processing application settles indebtedness between a user and a merchant, wherein accounts may be directly and/or automatically debited and/or credited of monetary funds in a manner as accepted by the banking industry.
- the service provider server 130 may also include an interface server 134 that is configured to serve content (e.g., web content) to users and interact with users.
- the interface server 134 may include a web server configured to serve web content in response to HTTP requests.
- the interface server 134 may include an application server configured to interact with a corresponding application (e.g., a service provider mobile application) installed on the user devices 110 and 180 via one or more protocols (e.g., RESTAPI, SOAP, etc.).
- a corresponding application e.g., a service provider mobile application
- the interface server 134 may include pregenerated electronic content ready to be served to users.
- the interface server 134 may store a log-in page and is configured to serve the log-in page to users for logging into user accounts of the users to access various service provided by the service provider server 130.
- the interface server 134 may also include other electronic pages associated with the different services (e.g., electronic transaction services, etc.) offered by the service provider server 130.
- a user e.g., the user 140, the user of the user device 180, or a merchant associated with the merchant server 120, etc.
- the service provider server 130 may be configured to maintain one or more user accounts and merchant accounts in an accounts database 136, each of which may be associated with a profile and may include account information associated with one or more individual users (e.g., the user 140 associated with user device 110, etc.) and merchants.
- account information may include private financial information of users and merchants, such as one or more account numbers, passwords, credit card information, banking information, digital wallets used, or other types of financial information, transaction history, Internet Protocol (IP) addresses, device information associated with the user account.
- account information also includes user purchase profile information such as account funding options and payment options associated with the user, payment information, receipts, and other information collected in response to completed funding and/or payment transactions.
- a user may have identity attributes stored with the service provider server 130, and the user may have credentials to authenticate or verify identity with the service provider server 130.
- User attributes may include personal information, banking information and/or funding sources.
- the user attributes may be passed to the service provider server 130 as part of a login, search, selection, purchase, and/or payment request, and the user attributes may be utilized by the service provider server 130 to associate the user with one or more particular user accounts maintained by the service provider server 130 and used to determine the authenticity of a request from a user device.
- the service provider server 130 also includes a chat module 132 that implements the chat system as discussed herein.
- the chat module 132 may provide a user interface that enables users (e.g., internal users of the service provider server 130 such as the user of the user device 180, etc.) to submit requests and parameters for generating and configuring knowledge bots.
- users e.g., internal users of the service provider server 130 such as the user of the user device 180, etc.
- the user of the user device 180 may specify a particular service provider (e.g., the service provider associated with the service provider server 130 or other service providers, such as the merchant associated with the merchant server 120, etc.) and one or more domains associated with the service provider.
- the user may provide the locations of the documents that are associated with the one or more domains.
- the chat module 132 may generate and configure one or more knowledge bots using the techniques disclosed herein for serving users of the service provider server 130 (or other service providers, such as the merchant associated with the merchant server 120). For example, the chat module 132 may generate one or more knowledge bots for the one or more domains associated with the service provider server 130 specified in the user inputs (e.g., a products and services information domain, an internal knowledge bank domain, a platform usage domain, etc.). The chat module 132 may then configure the one or more knowledge bots to provide dialogue interactions with users based on different corpuses of documents associated with the different domains.
- the chat module 132 may generate and configure one or more knowledge bots using the techniques disclosed herein for serving users of the service provider server 130 (or other service providers, such as the merchant associated with the merchant server 120). For example, the chat module 132 may generate one or more knowledge bots for the one or more domains associated with the service provider server 130 specified in the user inputs (e.g., a products and services information domain, an internal knowledge bank domain,
- Fig. 2 illustrates an example knowledge bot generated by the chat module 132 according to various embodiments of the disclosure.
- the chat module 132 may be configured to provide the knowledge bot as a service for different service providers and/or different domains within a service provider.
- the chat module 132 may generate and configure one or more knowledge bots, such as a knowledge bot 200, for different service providers and/or different domains.
- the chat module 132 may obtain documents related to the one or more domains.
- the documents may include product manuals associated with products and/or services offered by the service provider, technical articles and/or marketing articles published by the engineers or marketing teams of the service provider, press releases generated by the service provider, reviews and other articles that are generated by third parties describing the products and/or services offered by the service provider, internal process documentations associated with the service provider, etc.
- the chat module 132 may store the documents in a document storage 216 (or multiple storages accessible by the chat module 132).
- the chat module 132 may divide the documents into groups such that all documents associated with the same domain are stored in the same group. Each group of documents may form a corpus of documents to be used by the knowledge bot 200 to generate responses to various user queries.
- the chat module 132 may then generate one or more indices for each corpus of documents stored in the document storage 216.
- the one or more indices may be used by one or more corresponding search engines for retrieving documents, from a corpus of documents stored in the document storage 216, that are relevant to a user query.
- the chat module 132 may generate an inverted index and a vector index for each corpus of documents stored in the document storage 216, and may store the inverted index and the vector index in an index storage 214.
- An inverted index is an index data structure that stores mappings from content, such as words or character strings, extracted from documents to locations of the documents within the corpus of documents.
- the chat module 132 may parse through the documents in each corpus of documents, and may extract keywords (e.g., words or strings of characters that appear in each document, etc.) from each document.
- the chat module 132 may store the keywords as keys in a hash table, which are then linked to locations of the documents that include the corresponding keywords in the document storage 216.
- the inverted index can be used by a text-based search engine to perform a search to retrieve relevant documents based on a query.
- a vector index is another type of index data structure. Unlike the inverted index that uses words or character strings for the indices, the vector index is built on vectors through one or more mathematical models. To generate the vector index, the chat module 132 may extract embeddings from the documents in each corpus of documents (e.g., by using one or more natural language models, such as a BERT model, etc.).
- the chat module 132 may generate the embeddings by parsing the words in each document in multiple directions (e.g., forward and backward, etc.), such that the chat module 132 (and/or the natural language model) may understand the meaning of each word not just based on the word itself, but also the neighboring words (e.g., words the come before and after the word).
- the embeddings generated for a document may represent contextual meanings of the document.
- the chat module 132 may implement an embedding as a vector within a multi-dimensional space, which may represent a semantic context that is derived from a portion of a document (e.g., by understanding the meaning of one or more words in the document based on the neighboring words).
- the chat module 132 may store the embeddings as keys in a hash table that are linked to locations of the documents from which the embeddings are derived.
- a semantic-based search engine may then use the vector index to perform a search to retrieve relevant documents based on a query.
- the chat module 132 may then integrate a user interface module 208, a query formatting module 202, a document retrieval module 204, and an Al module 206 within the knowledge bot 200.
- the user interface module 208 may provide an interface for users to interact with the knowledge bot 200.
- the interface may be implemented as a chat interface that enables a user, via a user device, to provide text input in the natural language format (e.g., a user query), and to view responses to the user queries generated by the knowledge bot 200.
- the interface may be implemented as an interactive voice response (IVR) system, which enables the users to have a voice dialogue with the knowledge hot 200.
- IVR interactive voice response
- the user interface 208 may provide the interface on any device, such as the user device 110, the user device 180, and/or the merchant server 120.
- a user via the interface provided on a device, may submit a user query 232 to the knowledge bot 200.
- the query may be a question in natural language format, such as “how do I reset my password,” “how do I generate a document using your XYZ program,” “I want to add a credit card to my account,” etc. Since the user can submit any free-form questions, the user can provide the query in any desirable manner, not limited by a pre-existing structure.
- the query formatting module 202 of the knowledge bot 200 may re-format the user query 232.
- the query formatting module 202 may modify the user query 232 based on a context associated with a dialogue between the user and the knowledge bot 200 during a current chat session (and/or previous chat sessions). It has been contemplated that as the user is having a dialogue with the knowledge bot 200, the user may submit user queries using languages that refer to previous queries or statements during the chat session (or previous chat sessions). As such, the knowledge bot 200 may be configured to store any previously submitted user queries from the user and responses generated for the user queries in a chat history data storage 212. When the query formatting module 202 receives the user query 232, the query formatting module 202 may derive a context 242 based on the user queries previously submitted by the user and responses generated for the user during the current chat session.
- the query formatting module 202 may also include queries and responses from previous chat sessions between the user and the knowledge bot 200 for generating the context. However, since the current chat session is more relevant and indicative to the meaning of the user query 232, the query formatting module 202 may either use only the queries and responses from the current chat session or assign a larger weight to the queries and responses from the current chat session than the queries and responses from the previous chat sessions.
- the user may initially ask the knowledge bot 200 “how do I generate a document in your XYZ program.” After obtaining a response generated by the knowledge bot 200, the user may subsequently ask “how do I save it” (which is the user query 232) via the user interface 208.
- the knowledge bot 200 may not be able to accurately interpret the user query 232, and thus may fail to generate a relevant response for the user query 232 based on the query alone, since the user query is missing critical information (e.g., what does “it” refer to, etc.).
- the query formatting module 202 may derive a context for the chat session (e.g., that the chat session is related to document and XYZ program). The query formatting module 202 may then modify the user query 232 to generate a modified query 244 based on the context. In some embodiments, the query formatting module 202 may add words, remove words, or replace words in the user query when modifying the user query. In this example, the query formatting module 202 may substitute the word “it” in the user query 232 with “a document using XYZ program” based on the context. The modification of the user queries based on context may improve the searching of relevant documents to the user query (by the document retrieval module 204) and the generation of relevant and helpful responses to the user query (by the Al module 206).
- the query formatting module 202 may then pass the modified query 244 to the document retrieval module 204 for retrieving documents that are relevant to the user query 232.
- the document retrieval module 204 may first determine a domain, from the one or more domains) associated with the modified query 244. For example, the document retrieval module 204 may parse the modified query 244, and determine a particular domain, from the one or more domains, based on the words included in the modified query 244. The document retrieval module 204 may then access the one or more indices generated by the chat module 132 for the particular domain from the index storage 214.
- the document retrieval module 204 may include one or more search engines that may match the modified query 244 to one or more keys in the indices stored in the index storage 214. The document retrieval module 204 may also retrieve documents from the document storage 216 that are linked by the one or more keys. In some embodiments, using the one or more search engines and the indices in the index storage 214, the document retrieval module 204 may retrieve documents 246 from the document storage 216 that are determined to be relevant to the user query 232. The document retrieval module 204 may pass the retrieved documents 246 to the Al module 206. In some embodiments, the Al module 206 also obtains the modified query 244 and the context 242 of the dialogue between the user and the knowledge hot 200.
- the Al module 206 may include a machine learning model (e.g., a large language model such as ChatGPT, Bard, DALL-E, Midjourney, DeepMind, etc.) that is configured to generate a response for the user query 232 based on the modified query 244, the documents 246 and the context 242.
- the Al module 206 may generate an input (e.g., a prompt) for the machine learning model based on the modified query 244, the documents 246, and the context 242.
- the machine learning model may be configured and trained to generate a response 234 to the query 242 using the content within the documents 246.
- the response 234 may be in a natural language format that includes sentences and/or paragraphs that is easily interpretable by humans.
- the user interface module 208 may transmit the response 235 to a device (e.g., the user device 110, the user device 180, the merchant server 120, etc.) that submitted the user query 232 via an interface.
- a device e.g., the user device 110, the
- the Al module 206 may be associated with use multiple machine learning models of different types and/or complexity for generating responses to different user queries. For example, the Al module 206 to use a simpler machine learning model (e.g., a machine learning model having simpler internal structures such a simplified version of ChatGPT, etc.) for generating responses for user queries that are less complex.
- a simpler machine learning model e.g., a machine learning model having simpler internal structures such a simplified version of ChatGPT, etc.
- the responses generated by such a machine learning model may be directly copied from one or more of the relevant documents.
- the knowledge bot may use a more sophisticated machine learning model (e.g., a machine learning model having more complex internal structures such as a more advanced version of ChatGPT, etc.) for generating responses for user queries that are more complex.
- the responses generated by such a machine learning model may include new content that is not found in any of the relevant documents. Rather, the new content in some embodiments may be derived or otherwise generated by the machine learning model through the internal structure of the machine learning model based on the relevant documents.
- the knowledge bot 200 may provide the response on the interface (e.g., display the response on a chat window of a user device, transmit an audio response to a user device, etc.).
- the chat module 132 of some embodiments may integrate a cache layer 240 within the knowledge bot 200.
- the cache layer 240 may enable the knowledge bot 240 to store and reuse responses previously generated for other user queries for responding to a current query.
- the cache layer 240 includes a semantic cache system that is configured to store and match previously generated responses with a current user query.
- the cache layer 240 is different from other conventional cache systems where an exact match of a key (e.g., user query) is required in order to reuse a previously generated response stored as cache data.
- a new query has to be identical to a key (which may be a previously submitted query) stored in a cache memory for the cache system to use the response from the matched key for the new query.
- the cache layer 240 includes a semantic cache system that does not store queries directly as keys in the cache memory. Instead, the cache layer 240 is configured to store embeddings generated based on different user queries submitted to the knowledge bot 200 in the past. For example, when the knowledge bot 200 processes a user query (or a modified query), the cache layer 240 (or the document retrieval module 204) may generate embeddings based on the user query. The cache layer 240 may store the embeddings as keys for the cache data, and may store the response generated by the Al module 206 for the user query as value corresponding to the keys.
- the cache layer 240 would match the query “I want to add card” to the key embeddings generated for a previously submitted query “I want to add credit card” since the embeddings generated for the two queries should be sufficiently similar (e.g., close within a threshold distance) even though the two queries are not identical.
- the chat module 132 may validate the responses generated by the knowledge bot 200 to ensure that the quality of the responses generated by the knowledge bot 200 is above a threshold.
- the threshold may vary depending on the type of query, e.g., a query that needs a more exact or accurate response may have a higher accuracy threshold than a query that only needs a more general response.
- the chat module 132 may validate the responses in an online manner and an offline manner. As such, the chat module 132 may incorporate an online validation module 252 configured to validate responses generated by the knowledge bot 200 in an online manner, and an offline validation module 254 configured to validate responses generated by the knowledge bot 200 in an offline manner.
- the offline validation module 254 may provide the set of test queries to the knowledge bot 200 as user queries.
- the knowledge bot 200 may generate responses (e.g., a set of test responses) for the set of test queries. Since the responses generated by the knowledge bot 200 is in a natural language format, which can be expressed in multiple different ways (e.g., different tones, using different words having the same meaning, using a variety of different phrases for the same meaning, etc.), it is not effective to compare the responses generated by the knowledge bot 200 with the benchmark responses in a literal manner (e.g., comparing word- for-word between the two responses). Thus, the offline validation module 254 may determine whether the contextual meaning of the responses generated by the knowledge bot 200 matches the contextual meaning of the benchmark responses.
- the chat module 132 may reconfigure the knowledge bot 200. For example, the chat module 132 may reconfigure the knowledge bot 200 by adjusting one or more parameters associated with the search engines in the document retrieval module 204 and/or adjusting one or more parameters associated with the machine learning model in the Al module 206. In some embodiments, the chat module 132 may test various versions of the knowledge bot 200 (each version may be associated with different parameters for the search engines in the document retrieval module 204 and/or different parameters for the machine learning model in the Al module 206). The chat module 1 2 of some embodiments may select the version of the knowledge bot 200 having the least deviations for use in a production environment.
- the chat module 132 may reconfigure the knowledge bot 200 by adjusting one or more parameters associated with the search engines in the document retrieval module 204 and/or adjusting one or more parameters associated with the machine learning model in the Al module 206.
- the chat module 132 may test various versions of the knowledge bot 200 (each version may be associated with different parameters for the search engines in the document retrieval module
- the online validation module 252 may be configured to validate queries and/or responses for the knowledge bot 200 during a production environment. For example, when a user query is submitted through the interface of the knowledge bot 200, the online validation module 252 may intercept the user query, and may validate the user query before it is passed to other modules within the knowledge bot 200 for processing the user query. The validation of the user queries ensures that the user queries are associated with one of the domains that the knowledge bot 200 is configured to serve, and that there is sufficient certainty (e.g., exceeds a threshold) that the knowledge bot 200 can generate an acceptable answer for the user queries.
- the online validation module 252 may analyze the user query (e.g., by parsing the words in the user query). The online validation module 252 may determine whether the user query is associated with one of the domains (if so, the user query is deemed to be appropriate) or not associated with one of the domains (if so, the user query is deemed to be inappropriate). The online validation module 252 may pass the user query to the formatting module 202 and/or the document retrieval module 204 only if the user query is deemed to be appropriate. If the user query is deemed to be inappropriate, the online validation module 252 may provide a default response (e.g., “we have no answer to your question,” etc.) to the user without passing the user query to other modules of the knowledge hot 200 for processing.
- a default response e.g., “we have no answer to your question,” etc.
- the online validation module 252 may also validate the response before the response is provided to a user device through the interface of the knowledge hot 200.
- the online validation module 252 may analyze the response (e.g., by parsing the words in the response), and may determine whether the response is in compliance with a set of guidelines associated with the service provider.
- the service provider may include guidelines that prohibit the use of certain words or require the use of certain words for one or more domains.
- the online validation module 252 determines if the response is in compliance with the guidelines. If the response is not in compliance with the guidelines, the online validation module 252 may modify the response before providing the modified response to the user.
- the online validation module 252 may add words to or remove/change words from the response based on the guidelines.
- the online validation module 252 may not provide the response to the user, and may instead provide a default response (e.g., “we cannot find an answer to your question,” etc.) to the user.
- the knowledge bot 200 is generated to be flexible in terms of the components that are integrated within the knowledge bot 200 and the user base for which it serves.
- the Al module 206 is configured to generate responses solely based on a prompt, which includes the user query and the set of documents from which the response is generated, the knowledge bot 200 can seamlessly provide responses across different domains.
- the chat module 132 may provide corpuses of documents and corresponding indices associated with different domains to the knowledge bot 200 (and store them in the document storage 216 and the index storage 214) such that the knowledge bot 200 can service user queries associated with different domains.
- the chat module 132 may generate multiple knowledge bots, each knowledge bot being similar to the knowledge bot 200, and may provide corpuses of documents and corresponding indices to the different knowledge bots, respectively, such that each of the knowledge bots may be configured to service user queries associated with a corresponding domain. Furthermore, the chat module 132 may replace any of the components (e.g., the query formatting module 202, the document retrieval module 204 (or any of the search engines within the document retrieval module 204), or the Al module 206) without affecting the operations of the knowledge hot 200, which enables updates and/or improvements to be performed on the knowledge hot 200 seamlessly.
- Fig. 3 illustrates an example schematic of the document retrieval module 204 according to various embodiments of the disclosure.
- the document retrieval module 204 includes two search engines, including a text-based retrieval module 302 and a semantic -based retrieval module 304, that work together to perform the document retrieval functionalities for the knowledge bot 200.
- the chat module 132 may obtain a corpus of documents 312 associated with the particular domain.
- the chat module 132 may generate an inverted index 322 based on the corpus of documents 312 and may use a natural language processing model 308 to generate a vector index 324 based on the corpus of documents 312.
- the chat module 132 may store the corpus of documents 312 in the document storage 216, and may store the inverted index 322 and the vector index 324 in the index storage 214.
- the document retrieval module 204 may use the text-based retrieval module 302 and the semantic-based retrieval module 304 to retrieve documents, from the corpus of documents 312, that are relevant to the modified query 244.
- the text-based retrieval module 302 may extract words or character strings from the modified query 244, and may determine if the words or character strings extracted from the modified query 244 match any keys in the inverted index 322.
- the text-based retrieval module 302 may retrieve a set of documents 332 from the corpus of documents 312 based on the identified keys from the inverted index 322.
- the semantic-based retrieval module 304 may generate embeddings (e.g., vectors) based on the modified query 244, and may determine if the embeddings generated based on the modified query 244 match any keys in the vector index 324. Once the semantic-based retrieval module 304 has identified keys in the vector index 324 that match the embeddings generated based on the modified query 244, the semantic -based retrieval module 304 may retrieve a set of documents 334 from the corpus of documents 312 based on the identified keys from the vector index 324.
- embeddings e.g., vectors
- each of the search engines has its strengths and weaknesses, and may retrieve relevant documents that the other search engine may miss.
- One advantage of using the semantic-based retrieval module 304 (and the vector index 324) to query the corpus of documents 312 is that documents that share similar semantic contexts with the modified query 244 (but may not include identical keywords within the documents) will be retrieved by the semantic-based retrieval module 304. Since the documents do not include identical keywords as the user query, the text-based retrieval module 302 may not be capable of retrieving such relevant documents using the inverted index 322.
- the semantic-based retrieval module 304 may miss certain relevant documents that the text-based retrieval module 302 can retrieve based on the modified query 244.
- the set of documents 332 retrieved by the text-based retrieval module 302 and the set of documents 334 retrieved by the semantic -based retrieval module 304 may not completely overlap, as the text-based retrieval module 302 may retrieve one or more documents that are missed by the semantic-based retrieval module 304, and the semantic-based retrieval module 304 may similarly retrieve one or more documents that are missed by the text-based retrieval module 302.
- the document retrieval module 204 may use a ranking module 306 to merge the sets of documents 332 and 334 retrieved by the respective retrieval modules.
- the text-based retrieval module 302 and the semantic-based retrieval module 304 may determine a relevancy score (or confidence score) for each of the retrieved documents. The score may indicate how confident the retrieval module is that the corresponding document is related to the modified query 244.
- the text-based retrieval module 302 may determine a higher score for a document from the set of documents 332 that includes all of the words extracted from the modified query 244 than a document from the set of documents 332 that includes only one word extracted from the modified query 244.
- the semantic-based retrieval module 304 may determine a higher score for a document from the set of documents 334 that is associated with embeddings closer to the embeddings generated based on the modified query 244 than a document from the set of documents 334 that is associated with embeddings farther away from the embeddings generated based on the modified query 244.
- the ranking module 306 may merge the sets of documents 332 and 334, and may rank the documents from the merged documents based on the scores. The ranking module 306 may then generate a set of relevant documents as the search result 246 for the knowledge bot 200 (e.g., selecting the highest ranked number of documents, etc.).
- Fig. 4 illustrates a process 400 for generating and validating a knowledge bot according to various embodiments of the disclosure.
- the process 400 may be performed by the chat module 132.
- the process 400 begins by obtaining (at step 405) a corpus of document associated with a domain.
- a knowledge bot e.g., the knowledge bot 200
- the chat module 132 may retrieve documents (e.g., the corpus of documents 312) that are associated with the particular domain.
- the chat module 132 may access the service provider server 130, and may search and obtain documents that are related to the products and/or services, such as user manuals associated with the products and/or services, technical articles associated with the products and/or services, marketing materials associated with the products and/or services, third-party reviews of the products and/or services, or other materials related to the products and/or services.
- documents that are related to the products and/or services such as user manuals associated with the products and/or services, technical articles associated with the products and/or services, marketing materials associated with the products and/or services, third-party reviews of the products and/or services, or other materials related to the products and/or services.
- the process 400 then generates (at step 410) one or more search indices for indexing the corpus of document for use by one or more search models and integrates (at step 415) the one or more search models and the one or more search indices with an artificial intelligence (Al) model to generate a knowledge bot.
- the chat module 132 may generate the inverted index 322 by extracting keywords from each document in the corpus of documents 312.
- the inverted index 322 may include multiple key-value pairs. Each keyvalue pair may include an extracted keyword as the key, and a location address of the document from which the keyword was extracted as the value.
- the inverted index 322 may be used by the text-based retrieval module 302 for retrieving relevant documents from the corpus of documents 312.
- the chat module 132 may also use a natural language processing model 308 to generate embeddings from each document in the corpus of documents 312, and may generate the vector index 324 based on the embeddings.
- the vector index 324 may also include multiple key- value pairs. Each key-value pair may include an embedding as the key, and a location address of the document from which the embedding was generated as the value.
- the vector index 324 may be used by the semantic-based retrieval module 304 for retrieving relevant documents from the corpus of documents 312.
- the chat module 132 may integrate the document retrieval module 204, which includes the text-based retrieval module 302 and the semantic-based retrieval module 304, and the Al module 206 in the knowledge bot 200.
- the Al module 206 may include a large language model (e.g., ChatGPT, Bard, etc.) configured to generate a response in a natural language format based on a prompt.
- a large language model e.g., ChatGPT, Bard, etc.
- the process 400 may validate the knowledge bot, for example, by obtaining (at step 420) sample user queries and target answers for the sample user queries and using (at step 425) the knowledge bot to generate candidate answers for the sample user queries.
- the chat module 132 may obtain a set of test queries for validating the knowledge bot 200 in an offline manner.
- the set of test queries may include queries of different lengths to ensure that the knowledge bot 200 can provide responses to user queries of different lengths with a quality above a threshold.
- the chat module 132 may provide the set of test queries to the knowledge bot 200 as user queries.
- the knowledge bot may generate responses based on the set of test queries.
- the process 400 determines (at step 430) whether the responses generated by the knowledge bot 200 is acceptable (e.g., based on a threshold, system guidelines, compliance requirements, etc., as discussed above). If the responses are acceptable, the process 400 deploys (at step 440) the knowledge bot in a production environment. On the other hand, if the responses are not acceptable, the process 400 adjusts (at step 435) parameters associated with the knowledge bot, and reiterate through the validation steps (e.g., the step 425 and 430). For example, the chat module 132 may compare the responses generated by the knowledge bot 200 against a set of benchmark responses that were prepared for the set of test queries.
- the chat module 132 may compare the responses generated by the knowledge bot 200 against a set of benchmark responses that were prepared for the set of test queries.
- the chat module 132 may generate embeddings for each response generated by the knowledge bot 200 and each corresponding benchmark response. The chat module 132 may compare the embeddings associated with the response generated by the knowledge bot 200 and the embeddings associated with the corresponding benchmark response. The chat module 132 may determine a deviation between the two embeddings. In some embodiments, the chat module 132 may determine deviations for all of the responses generated by the knowledge bot 200, and may determine that the responses are acceptable if the deviations (e.g., a sum, an average, a median, etc.) are below a threshold. If the responses are acceptable, the chat module 132 may deploy the knowledge bot 200 in a production environment for use by various users.
- the deviations e.g., a sum, an average, a median, etc.
- the chat module 132 may adjust the parameters associated with the search engines (e.g., the text-based retrieval module 302 and the semantic -based retrieval module 304) and/or the parameters associated with the Al module 206. Adjustments to the parameters associated with the search engines may affect the documents that are retrieved by the respective search engines. Adjustments to the parameters associated with the Al module 206 may affect how responses are generated by the knowledge bot 200 (e.g., how to extract content from the relevant documents, how to summarize the content from the relevant documents, the word choice/language used in the response, the tone used in the response, etc.).
- the chat module 132 may continue to adjust the parameters of the knowledge bot 200 and test the responses generated by the knowledge bot 200 until the responses generated by the knowledge bot 200 are acceptable. In some embodiments, the chat module 132 may generate multiple versions of the knowledge bot 200 based on different sets of parameters, and may select the version that has the highest response quality (e.g., lowest deviations from the benchmark responses, etc.).
- Fig. 5 illustrates a process 500 for using a knowledge bot to generate a response for a user query according to various embodiments of the disclosure.
- the process 500 may be performed by the chat module 132 and/or the knowledge bot 200.
- the process 500 begins by receiving (at step 505) a user query from a user device.
- the knowledge bot 200 through the UI module 208 and an interface presented on a device (e.g., the user device 110, the user device 180, the merchant server 120, etc.), may receive a user query (e.g., the user query 232) submitted by a user.
- the process 500 modifies the user query based on a context of a dialogue.
- the knowledge bot 200 may store previous dialogues between the user and the knowledge bot 200 (e.g., user queries submitted by the user and responses generated by the knowledge bot 200 for responding to the user queries) in the chat history data storage 212. Since the context of the previous dialogue may be useful for assisting the knowledge bot 200 to interpret the user query 232 correctly, the query formatting module 202 may modify the user query 232 to generate the modified query 244 based on the context. The modification may include adding words to the user query 232, removing words from the user query 232, or replacing words with other words in the user query 232.
- previous dialogues between the user and the knowledge bot 200 e.g., user queries submitted by the user and responses generated by the knowledge bot 200 for responding to the user queries
- the query formatting module 202 may modify the user query 232 to generate the modified query 244 based on the context. The modification may include adding words to the user query 232, removing words from the user query 232, or replacing words with other words in the user query 232.
- the process 500 determines (at step 515) whether a response stored in cache memory can be used to respond to the user query. If it is determined that a response from the cache memory can be used to respond to the user query, the process 500 retrieves (at step 520) the response from the cache memory and provides the response to the user device.
- the knowledge 200 may analyze the modified query 244 to determine whether the modified query 244 corresponds to any of the keys in the cache memory.
- the cache layer 240 may generate embeddings based on the modified query 244, and may determine whether the embeddings correspond to any keys in the cache memory. Each key in the cache layer 240 may include one or more embeddings generated based on previously submitted user queries.
- the cache layer 240 may determine whether the embeddings generated based on the modified query 244 are within a threshold distance from the embeddings corresponding to the keys in the cache memory. If a match exists between the embeddings generated based on the modified query 244 and a key, the cache layer 240 may retrieve the response corresponding to the key, and may provide the response to the user device as a response to the query 232.
- the process 500 retrieves (at step 525), from the corpus of documents, a set of documents relevant to the modified user query using one or more search models.
- the document retrieval module 204 may use one or more search engines to retrieve relevant documents based on the modified query 244.
- the document retrieval module 204 may use the text-based retrieval module 302 and the semantic-based retrieval module 304 to retrieve relevant documents based on the modified query 244.
- the text-based retrieval module 302 may use the inverted index 322 to identify, from the corpus of documents 312, a set of documents 332 that is relevant to the modified query 244.
- the semantic-based retrieval module 304 may use the vector index 324 to identify, from the corpus of documents 312, a set of documents 334 that is relevant to the modified query 244.
- the ranking module 306 may select a subset of documents from the set of documents 332 and the set of documents 334 as the search results 246.
- the process 500 then generates (at step 530) a prompt for the Al model based on the modified user query and the set of documents and obtains (at step 535) a response from the Al model.
- a prompt for the Al model based on the modified user query and the set of documents and obtains (at step 535) a response from the Al model.
- the knowledge bot 200 may generate an input (e.g., a prompt) for the Al module 206 using the modified query 244, the search results 246, and the context 242.
- the Al module 206 may generate a response 234 based on the prompt.
- the process 500 validates (at step 540) the response and provides (at step 545) the response to the user device.
- the online validation module 262 may validate the response 234. If the response 234 is in compliance with a set of guidelines associated with a service provider, the knowledge bot 200 may provide the response 234 to the user device that submitted the user query 232. On the other hand, if the response 234 is not in compliance with the set of guidelines, the online validation module 252 may modify the response 234 or replace the response 234 with a default response before providing the modified response to the user device.
- Fig. 6 illustrates a process 600 for retrieving documents that are relevant to a user query according to various embodiments of the disclosure.
- the process 600 may be performed by the chat module 132 and/or the knowledge bot 200.
- the process 600 begins by receiving (at step 605) a user query.
- the knowledge bot 200 through the UI module 208 and an interface presented on a device (e.g., the user device 110, the user device 180, the merchant server 120, etc.), may receive a user query (e.g., the user query 232) submitted by a user.
- the process 600 then uses (at step 610) a text-based retrieval module and an inverted index to retrieve a first set of documents from the corpus of documents based on the user query, and uses (at step 615) a semantic-based retrieval module and a vector index to retrieve a second set of documents from the corpus of documents based on the user query.
- the document retrieval module 204 may include the text-based retrieval module 302 that is configured to use the inverted index 322 to identify a set of documents 332 that is relevant to the modified query 244.
- the document retrieval module 204 may also include the semantic-based retrieval module 302 that is configured to use the vector index 324 to identify a set of documents 334 that is relevant to the modified query 244.
- the process 600 collectively ranks (at step 620) the first set of documents and the second set of documents and determines (at step 625) a subset of documents from the first and second sets of documents based on the ranking.
- the text-based retrieval module 302 may determine a score for each document in the set of documents 332 that is determined to be relevant to the modified query 244.
- the score may indicate a degree of relatedness between the corresponding document and the modified query 244 such that a first document may have a higher score than a second document if it is determined that the first document is more closely related to the modified query 244 than second document.
- the semantic-based retrieval module 304 may determine a score for each document in the set of documents 334 that is determined to be relevant to the modified query 244.
- the document retrieval module 204 may then merge the set of documents 332 with the set of documents 334, and rank the documents in the merged set based on the scores.
- the document retrieval module 204 may select a subset of the documents (e.g., the top 10 ranked documents, etc.) as the search results 246 for the modified query 244.
- the process 600 determines (at step 630) if the quality of the subset of documents is above a threshold. If it is determined that the quality of the subset of documents is not above the threshold, the process 600 provides (at step 635) a default response.
- the process 600 provides (at step 640) the subset of documents to the Al model.
- the document retrieval module may determine whether the quality of the search results 246 is above a threshold (e.g., whether the collective score, such as an average, a median, etc., of the search results 246 is above a threshold score, etc.). If it is determined that the quality is not above the threshold, the document retrieval module 204 may determine that the knowledge hot 200 does not have sufficient knowledge to respond to the user query 232. They knowledge hot 200 may then abort the process of generating a response to the user query 232 by the Al module 206, and instead provide a default response (e.g., “we are not able to answer your question,” etc.) to the user device.
- a threshold e.g., whether the collective score, such as an average, a median, etc., of the search results 246 is above a threshold score, etc.
- Fig. 7 illustrates an example artificial neural network 700 that may be used to implement a machine learning model, such as the large language model associated with the Al module 206, the natural language model 308, and the semantic -based retrieval module 304.
- the artificial neural network 700 includes three layers - an input layer 702, a hidden layer 704, and an output layer 706.
- Each of the layers 702, 704, and 706 may include one or more nodes (also referred to as “neurons”).
- the input layer 702 includes nodes 732, 734, 736, 738, 740, and 742
- the hidden layer 704 includes nodes 744, 746, and 748
- the output layer 706 includes a node 750.
- each node in a layer is connected to every node in an adjacent layer via edges and an adjustable weight is often associated with each edge.
- the node 732 in the input layer 702 is connected to all of the nodes 744, 746, and 748 in the hidden layer 704.
- the node 744 in the hidden layer is connected to all of the nodes 732, 734, 736, 738, 740, and 742 in the input layer 702 and the node 750 in the output layer 706. While each node in each layer in this example is fully connected to the nodes in the adjacent layer(s) for illustrative purpose only, it has been contemplated that the nodes in different layers can be connected according to any other neural network topologies as needed for the purpose of performing a corresponding task.
- the artificial neural network 700 receives a set of inputs and produces an output.
- Each node in the input layer 702 may correspond to a distinct input.
- the nodes in the input layer 702 may correspond to different parameters and/or attributes of a prompt (which may be generated based on the modified query 244, the context 242, and the search results 246).
- each of the nodes 744, 746, and 748 in the hidden layer 704 generates a representation, which may include a mathematical computation (or algorithm) that produces a value based on the input values received from the nodes 732, 734, 736, 738, 740, and 742.
- the mathematical computation may include assigning different weights (e.g., node weights, edge weights, etc.) to each of the data values received from the nodes 732, 734, 736, 738, 740, and 742, performing a weighted sum of the inputs according to the weights assigned to each connection (e.g., each edge), and then applying an activation function associated with the respective node (or neuron) to the result.
- the nodes 744, 746, and 748 may include different algorithms (e.g., different activation functions) and/or different weights assigned to the data variables from the nodes 732, 734, 736, 738, 740, and 742 such that each of the nodes 744, 746, and 748 may produce a different value based on the same input values received from the nodes 732, 734, 736, 738, 740, and 742.
- the activation function may be the same or different across different layers.
- Example activation functions include but not limited to Sigmoid, hyperbolic tangent, Rectified Linear Unit (ReLU), Leaky ReLU, Softmax, and/or the like.
- the output layer may consist of a single node representing the probability of belonging to one class (as in the example shown in Fig. 7).
- the output layer may have multiple nodes, each representing the probability of belonging to a specific class.
- the output node 750 may be configured to generate new content (e.g., a response in a natural language format) based on the prompt.
- the artificial neural network 700 may be implemented on one or more hardware processors, such as CPUs (central processing units), GPUs (graphics processing units), FPGAs (field-programmable gate arrays), Application- Specific Integrated Circuits (ASICs), dedicated Al accelerators like TPUs (tensor processing units), and specialized hardware accelerators designed specifically for the neural network computations described herein, and/or the like.
- hardware processors such as CPUs (central processing units), GPUs (graphics processing units), FPGAs (field-programmable gate arrays), Application- Specific Integrated Circuits (ASICs), dedicated Al accelerators like TPUs (tensor processing units), and specialized hardware accelerators designed specifically for the neural network computations described herein, and/or the like.
- CPUs central processing units
- GPUs graphics processing units
- FPGAs field-programmable gate arrays
- ASICs Application- Specific Integrated Circuits
- dedicated Al accelerators like TPUs (tensor processing units)
- specialized hardware accelerators designed specifically for the neural network computations described herein
- -n- network structures may include, but not limited to Google Edge TPU, Deep Learning Accelerator (DLA), NVIDIA ALfocused GPUs, and/or the like.
- the hardware used to implement the neural network structure is specifically configured based on factors such as the complexity of the neural network, the scale of the tasks (e.g., training time, input data scale, size of training dataset, etc.), and the desired performance.
- the artificial neural network 700 may be trained by using training data based on one or more loss functions and one or more hyperparameters.
- the training data By using the training data to iteratively train the artificial neural network 700 through a feedback mechanism (e.g., comparing an output from the artificial neural network 700 against an expected output, which is also known as the “ground-truth” or “label”), the parameters (e.g., the weights, bias parameters, coefficients in the activation functions, etc.) of the artificial neural network 700 may be adjusted to achieve an objective according to the one or more loss functions and based on the one or more hyperparameters such that an optimal output is produced in the output layer 706 to minimize the loss in the loss functions.
- the parameters e.g., the weights, bias parameters, coefficients in the activation functions, etc.
- the negative gradient of the loss function is computed with respect to each weight of each layer individually.
- Such negative gradient is computed one layer at a time, iteratively backward from the last layer (e.g., the output layer 706 to the input layer 702 of the artificial neural network 700).
- These gradients quantify the sensitivity of the network's output to changes in the parameters.
- the chain rule of calculus is applied to efficiently calculate these gradients by propagating the gradients backward from the output layer 706 to the input layer 702.
- Parameters of the artificial neural network 700 are updated backwardly from the last layer to the input layer (backpropagating) based on the computed negative gradient using an optimization algorithm to minimize the loss.
- the backpropagation from the last layer (e.g., the output layer 706) to the input layer 702 may be conducted for a number of training samples in a number of iterative training epochs.
- parameters of the artificial neural network 700 may be gradually updated in a direction to result in a lesser or minimized loss, indicating the artificial neural network 700 has been trained to generate a predicted output value closer to the target output value with improved prediction accuracy.
- each of the service provider server 130 and the merchant server 120 may include a network computing device, such as a server.
- a network computing device such as a server.
- the devices 110, 120, 130, and 180 may be implemented as the computer system 800 in a manner as follows.
- An optional audio input/output component 806 may also be included to allow a user to use voice for inputting information by converting audio signals.
- the audio I/O component 806 may allow the user to hear audio.
- a transceiver or network interface 820 transmits and receives signals between the computer system 800 and other devices, such as another user device, a merchant server, or a service provider server via a network 822. In one embodiment, the transmission is wireless, although other transmission mediums and methods may also be suitable.
- a processor 814 which can be a micro-controller, digital signal processor (DSP), or other processing component, processes these various signals, such as for display on the computer system 800 or transmission to other devices via a communication link 824.
- the processor 814 may also control transmission of information, such as cookies or IP addresses, to other devices.
- the components of the computer system 800 also include a system memory component 810 (e.g., RAM), a static storage component 816 (e.g., ROM), and/or a disk drive 818 (e.g., a solid-state drive, a hard drive).
- the computer system 800 performs specific operations by the processor 814 and other components by executing one or more sequences of instructions contained in the system memory component 810.
- the processor 814 can perform the automated response functionalities described herein, for example, according to the processes 400, 500, and 600.
- Logic may be encoded in a computer readable medium, which may refer to any medium that participates in providing instructions to the processor 814 for execution. Such a medium may take many forms, including but not limited to, non-volatile media, volatile media, and transmission media.
- non-volatile media includes optical or magnetic disks
- volatile media includes dynamic memory, such as the system memory component 810
- transmission media includes coaxial cables, copper wire, and fiber optics, including wires that comprise the bus 812.
- the logic is encoded in non-transitory computer readable medium.
- transmission media may take the form of acoustic or light waves, such as those generated during radio wave, optical, and infrared data communications.
- the operations further comprise obtaining a plurality of user queries associated with the first domain; determining a plurality of target responses corresponding to the plurality of user queries; generating, using the knowledge bot, a plurality of responses based on the plurality of user queries; and performing a semantic comparison between the plurality of target answers and the plurality of responses; 2) the operations further comprise adjusting one or more parameters associated with the machine learning model based on the semantic comparison between the plurality of target responses and the plurality of responses; 3) the operations further comprise adjusting one or more parameters associated with the one or more search models based on the semantic comparison between the plurality of target responses and the plurality of responses; 4) the operations further comprise determining that the corpus of documents lacks information associated with a particular topic based on the semantic comparison between the plurality of target responses and the plurality of responses; obtaining a set of documents associated with the particular topic; and adding the set of documents to the corpus of documents; 5) the plurality of user queries comprises a
- a method comprises providing, to a knowledge bot, a chat interface configured to receive a user query associated with a first domain; accessing, by a computer system, a corpus of documents associated with the first domain; generating, by the computer system and based on the corpus of documents, one or more indices enabled for use by one or more search models of the knowledge bot, wherein the one or more search models are configured to identify, from the corpus of documents, a set of documents associated with the user query using the one or more indices; integrating, by the computer system, the one or more search models with an artificial intelligence (Al) model within the knowledge bot, wherein the Al model is configured to generate a response to the user query based on the set of documents, wherein the response comprises content that is derived from the set of documents; and presenting the response on the chat interface.
- Al artificial intelligence
- the operations further comprise obtaining a plurality of queries associated with the first domain; determining a plurality of target answers corresponding to the plurality of queries; generating, using the knowledge bot, a plurality of candidate answers based on the plurality of user queries; and performing a semantic comparison between the plurality of target answers and the plurality of candidate answers; 2) the operations further comprise adjusting at least a first parameter associated with the machine learning model or a second parameter associated with the one or more search models based on the semantic comparison between the plurality of target answers and the plurality of candidate answers; 3) the operations further comprise determining that the corpus of documents lacks information associated with a particular topic corresponding to the first domain based on the semantic comparison between the plurality of target answers and the plurality of answers; obtaining a set of documents associated with the particular topic; and adding the set of documents to the corpus of documents; 4) the operations further comprise modifying the response to the user query based on a
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Physics (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computing Systems (AREA)
- Software Systems (AREA)
- Evolutionary Computation (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Molecular Biology (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
Claims
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| IN202341052669 | 2023-08-04 | ||
| US18/473,989 US12561351B2 (en) | 2023-08-04 | 2023-09-25 | Knowledge bot as a service |
| US18/474,037 US12639344B2 (en) | 2023-08-04 | 2023-09-25 | Knowledge bot as a service |
| PCT/US2024/040226 WO2025034464A1 (en) | 2023-08-04 | 2024-07-30 | Knowledge bot as a service |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| EP4740110A1 true EP4740110A1 (en) | 2026-05-13 |
| EP4740110A4 EP4740110A4 (en) | 2026-08-05 |
Family
ID=94535178
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP24852571.9A Pending EP4740110A4 (en) | 2023-08-04 | 2024-07-30 | KNOWLEDGE BOAT AS A SERVICE |
Country Status (4)
| Country | Link |
|---|---|
| EP (1) | EP4740110A4 (en) |
| CN (1) | CN121889783A (en) |
| AU (1) | AU2024321702A1 (en) |
| WO (1) | WO2025034464A1 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9760626B2 (en) * | 2014-09-05 | 2017-09-12 | International Business Machines Corporation | Optimizing parsing outcomes of documents |
| US11556573B2 (en) * | 2020-05-29 | 2023-01-17 | Adobe Inc. | Semantic cluster formation in deep learning intelligent assistants |
| US20240256582A1 (en) * | 2023-01-28 | 2024-08-01 | Glean Technologies, Inc. | Search with Generative Artificial Intelligence |
-
2024
- 2024-07-30 EP EP24852571.9A patent/EP4740110A4/en active Pending
- 2024-07-30 AU AU2024321702A patent/AU2024321702A1/en active Pending
- 2024-07-30 WO PCT/US2024/040226 patent/WO2025034464A1/en not_active Ceased
- 2024-07-30 CN CN202480060398.XA patent/CN121889783A/en active Pending
Also Published As
| Publication number | Publication date |
|---|---|
| EP4740110A4 (en) | 2026-08-05 |
| CN121889783A (en) | 2026-04-17 |
| WO2025034464A1 (en) | 2025-02-13 |
| AU2024321702A1 (en) | 2026-02-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12561351B2 (en) | Knowledge bot as a service | |
| JP7324772B2 (en) | Personalized Gesture Recognition for User Interaction with Assistive Systems | |
| US12072919B2 (en) | Sentence level dialogue summaries using unsupervised machine learning for keyword selection and scoring | |
| CN119631069A (en) | Systems and methods for real-time search-based generative artificial intelligence | |
| US12086547B2 (en) | Cross-domain named entity recognition using knowledge graph | |
| US12174864B1 (en) | Automatic intelligent query suggestion for information retrieval applications | |
| US12211303B2 (en) | Data classification based on recursive clustering | |
| US12346360B2 (en) | Unsupervised machine learning model framework for keyword analysis in real-time of multilingual documents | |
| US20250147887A1 (en) | Multi-tiered cache system | |
| US20250165467A1 (en) | Large language model-based data query optimization | |
| US20250252258A1 (en) | Named entity recognition in chat dialogues for customer relationship management systems | |
| US20250138909A1 (en) | Resource-Efficient and Time-Efficient Prompting of a Language Model to Invoke Functions | |
| JP2020135135A (en) | Dialogue content creation support method and system | |
| US20250181617A1 (en) | Generating response to query with text extract for basis from unstructured data using ai models | |
| WO2026039146A1 (en) | Fine-tuning system for large language models trained for open-ended domain-specific tasks | |
| CN115455151A (en) | A method, system and cloud platform for visual recognition of AI emotions | |
| US20240394290A1 (en) | Automated interactive content equivalence | |
| JP2023152948A (en) | Computer system, computer program, and computer implementation method (knowledge graph-driven content generation) | |
| US20260072966A1 (en) | Retrieval augmented generation for artificial intelligence queries through a web gateway | |
| WO2025034464A1 (en) | Knowledge bot as a service | |
| JP2022514156A (en) | Probabilistic item matching and search | |
| US20250063003A1 (en) | Multi-agent computer software framework for a conversational artificial intelligence system | |
| US20260093704A1 (en) | Framework for generating relevant information for artificial intelligence models | |
| WO2026090845A1 (en) | Framework for generating relevant queries for artificial intelligence model | |
| US20260030541A1 (en) | Adaptive artificial intelligence model framework |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE |
|
| PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE |
|
| 17P | Request for examination filed |
Effective date: 20260204 |
|
| AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC ME MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
| REG | Reference to a national code |
Ref country code: DE Ref legal event code: R079 Free format text: PREVIOUS MAIN CLASS: G06F0016332000 Ipc: G06F0016332900 |
|
| A4 | Supplementary search report drawn up and despatched |
Effective date: 20260629 |
|
| RIC1 | Information provided on ipc code assigned before grant |
Ipc: G06F 16/3329 20250101AFI20260626BHEP Ipc: G06F 16/332 20250101ALI20260626BHEP Ipc: G06F 16/3332 20250101ALI20260626BHEP Ipc: G06F 16/334 20250101ALI20260626BHEP Ipc: G06F 16/9032 20190101ALI20260626BHEP Ipc: G06F 40/20 20200101ALI20260626BHEP Ipc: G06F 40/30 20200101ALI20260626BHEP Ipc: G06F 40/35 20200101ALI20260626BHEP Ipc: G06N 3/045 20230101ALI20260626BHEP Ipc: G06N 5/00 20230101ALI20260626BHEP Ipc: H04L 51/02 20220101ALI20260626BHEP |