hottub.patents
US 12,579,142 B2#3292264 Most CitedActiveUnited States (USPTO)Utility

Techniques for joint context query rewrite and intent detection

0Forward Citations (#3292264 Global)
0.0/yrCitation Velocity (#3292264 Global)
0.00Citation PageRank (#3292264 Global)
8Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

Artificial intelligence techniques for query management are described. A method comprises generating, by a context detection module, context information for a first query comprising natural language information to request a result from one of a plurality of machine learning models, modifying, by a query modification module, the first query based the context information to form a first modified query, determining, by an intent module, an intent type for the first modified query, selecting, by a routing module, a machine learning model from the plurality of machine learning models based on the intent type, and routing, by the routing module, the first modified query to the selected machine learning model. Other embodiments are described and claimed.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    A system comprising: a memory component; and one or more processing devices coupled to the memory component, the one or more processing devices to perform operations comprising: generating, by a context detection module, context information for a first query of a query session during a first iterative process, the first query comprising multimodal information to request a result from one of a plurality of machine learning models; modifying, by a query modification module, the first query based on the context information to form a first modified query; determining, by an intent module, an intent type for the first modified query from multiple intent types generated by a combination of a machine learning model and rule-based logic using the first modified query, the machine learning model trained using one-shot or few-shot learning training samples, and wherein the intent type is an output from the machine learning model that matches an output from the rule-based logic; selecting, by a r

  2. Claim 2Depends on #1

    The system of claim 1, the one or more processing devices to perform operations comprising extracting, by a context extraction module of the context detection module, query context information comprising context information from the first query.

  3. Claim 3Depends on #1

    The system of claim 1, the one or more processing devices to perform operations comprising: generating, by the context detection module, context information for a second query of the query session and the first modified query during a second iterative process, the second query comprising multimodal information to request a result from one of the plurality of machine learning models; modifying, by the query modification module, the second query based the context information to form a second modified query; determining, by an intent module, an intent type for the second modified query; selecting, by a routing module, a machine learning model from the plurality of machine learning models based on the intent type; and routing, by the routing module, the second modified query to the selected machine learning model.

  4. Claim 4Depends on #3

    The system of claim 3, the one or more processing devices to perform operations comprising extracting, by a context extraction module of the context detection module, query context information and modified query context information, the query context information comprising context information from the second query and the modified query context information comprising context information from the first modified query.

  5. Claim 5Depends on #1

    The system of claim 1, the one or more processing devices to perform operations comprising determining, by an intent inference model of the intent module, the intent type for the first modified query, wherein the intent inference model is the machine learning model trained to predict different intent types.

  6. Claim 6Depends on #1

    The system of claim 1, the one or more processing devices to perform operations comprising determining, by an intent detector module of the intent module, the intent type of the first modified query, wherein the intent detector module uses a set of intent definitions corresponding to different intent types.

  7. Claim 7Depends on #1

    The system of claim 1, the one or more processing devices to perform operations comprising determining, by an intent inference model and an intent detector module of the intent module, the intent type for the first modified query, wherein the intent inference model and the intent detector module operate in parallel.

  8. Claim 8Depends on #1

    The system of claim 1, the one or more processing devices to perform operations comprising determining, by an intent inference model and an intent detector module of the intent module, the intent type for the first modified query, wherein the intent inference model and the intent detector module operate in sequence.

Technical Overview & Description

BACKGROUND A user often retrieves information from a machine learning model, such as a generative model or large language model (LLM), using a query. A query is a question or statement submitted to the model to retrieve a certain answer. Query transformation, such as query expansion, is a technique used in information retrieval and machine learning models to enhance the effectiveness of a search query. It involves reformulating an original query to include additional terms, with the goal of improving the retrieval of relevant information. In machine learning models, particularly those focused on natural language processing (NLP) and information retrieval, query expansion can play a role in understanding and processing queries more effectively. This is achieved by broadening or narrowing the scope of a query to allow the model to consider a wider variety of possible interpretations and contexts. In machine learning models, especially those applied to search and NLP tasks, query transformation can significantly improve a model ability to interpret and process natural language queries, leading to more accurate and relevant search results. SUMMARY Embodiments are generally directed to artificial intelligence (AI) techniques for efficiently and effectively retrieving results from a machine learning (ML) model. Some embodiments are particularly directed to prompt engineering techniques to generate a prompt or query for a ML model that includes context information. The context information includes context information from multiple queries. For example, the multiple queries include a current query and one or more previous queries. The one or more previous queries are summarized using a recursive summary technique. Further, some embodiments are particularly directed to analyzing queries for an intent to assist in routing queries to relevant ML models. Some embodiments are particularly directed to an AI system using prompt engineering techniques to generate a customized query

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (8)