hottub.patents
US 12,298,975 B2#2154354 Most CitedActiveUnited States (USPTO)Utility

Dynamic query planning and execution

5Forward Citations (#2154354 Global)
5.0/yrCitation Velocity (#2154354 Global)
0.45Citation PageRank (#2154354 Global)
3Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

Embodiments of the disclosed technologies include receiving a first query including at least one first query term and configuring at least one prompt to cause a large language model to translate the at least one first query term into a set of functions that can be executed to obtain at least one second query term and generate and output a plan that is executable to create a modified version of the first query based on the at least one second query term. The plan is obtained by applying the large language model to the at least one prompt as configured. The plan is executed to determine the at least one second query term and create the modified version of the first query. The modified version of the first query is executed to provide, via the user interface, a response to the first query.

Interactive Citation Constellation Global Citation Ranking

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

Claims (8)

  1. Claim 1Independent Claim

    A method comprising: receiving, via a user interface of an application, a first query comprising a user request for information retrievable using a first set of data resources, the first query comprising at least one first query term; configuring, by a processor, at least one prompt to cause a generative machine learning model to (i) translate the at least one first query term into a set of functions that can be executed to obtain at least one second query term using a second set of data resources, the at least one second query term related to the at least one first query term and different from the at least one first query term, and (ii) generate and output a plan that is executable to create a modified version of the first query based on the at least one second query term, the plan comprising the set of functions configured by the generative machine learning model to obtain the at least one second query term using the second set of data resources that is different from the first set

  2. Claim 2Depends on #1

    The method of claim 1, further comprising: configuring the at least one prompt to cause the generative machine learning model to select at least one data resource of the second set of data resources based on the first query term and configure at least one function of the set of functions to obtain the at least one second query term from the selected at least one data resource.

  3. Claim 3Depends on #1

    The method of claim 1, further comprising: assigning different weights to at least first and second data resources of the second set of data resources based on at least one of metadata or performance data or feedback associated with the at least first and second data resources, and configuring the at least one prompt to cause the generative machine learning model to (i) select a data resource of the at least first and second data resources based on the weights, and (ii) configure at least one function of the set of functions to obtain the at least one second query term from the selected data resource.

  4. Claim 4Depends on #1

    The method of claim 1, further comprising: determining whether the first query translates to a plurality of functions; and responsive to determining that the first query translates to the plurality of functions, formulating the modified version of the first query using the plan obtained from the generative machine learning model; or responsive to determining that the first query does not translate to the plurality of functions, skipping the configuring at least one prompt, the applying, the executing the plan, and the executing the modified version of the first query.

  5. Claim 5Depends on #1

    The method of claim 1, further comprising, iteratively: obtaining context data associated with at least one of the user request or the response, the context data comprising data relating to at least one of: a state of the user interface, a state of the application, configuration data associated with a client device running the user interface, a current use of the application by a user, historical use of the application, profile data associated with the user, activity data associated with the user, data extracted from an entity graph, usage statistics associated with at least one of the user interface or the application, or performance data associated with at least one of the user interface, the application, the second set of data resources, or the generative machine learning model; modifying the at least one prompt based on the context data to include at least one instruction to cause the generative machine learning model to generate and output a modified version of the plan, the modif

  6. Claim 6Depends on #1

    The method of claim 1, wherein configuring the at least one prompt further comprises configuring at least one instruction to identify a plurality of functions related to context data associated with at least one of the user interface or the application and cause the generative machine learning model to select the set of functions from the plurality of functions based on the context data associated with at least one of the user interface or the application.

  7. Claim 7Depends on #1

    The method of claim 1, wherein configuring the at least one prompt further comprises: responsive to determining that the value of the at least one performance metric does not exceed a maximum threshold value or exceeds a minimum threshold value, (i) configuring a first instruction to cause the generative machine learning model to translate the first query into a structured representation of the first query, (i) configuring a second instruction to cause the generative machine learning model to generate the plan based on the structured representation of the first query, and (ii) including the first instruction and the second instruction in the at least one prompt.

  8. Claim 8Depends on #1

    The method of claim 1, wherein configuring the at least one prompt further comprises: configuring at least one instruction to cause the generative machine learning model to (i) determine an order of execution for the set of functions based on at least one of a structured representation of the first query or function dependency data, and (ii) include the order of execution in the plan.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATION The present application claims the benefit under 35 U.S.C. § 119 (e) of U.S. Provisional Patent Application Ser. No. 63/587,393 filed Oct. 2, 2023, which is incorporated herein by this reference in its entirety. TECHNICAL FIELD A technical field to which this disclosure relates includes query planning for information retrieval systems. COPYRIGHT NOTICE This patent document, including the accompanying drawings, contains material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction of this patent document, as it appears in the publicly accessible records of the United States Patent and Trademark Office, consistent with the fair use principles of the United States copyright laws, but otherwise reserves all copyright rights whatsoever. BACKGROUND A content distribution system is a computer system that is designed to distribute information, such as posts, articles, videos, images, web pages, user profiles, and job postings, to computing devices for viewing and interaction by users of those devices. Examples of content distribution systems include news feeds, social network services, messaging systems, and search engines. An information retrieval system retrieves stored content in response to queries. A chatbot (or chat bot) is a software application that can retrieve content and answer questions by simulating a natural language conversation with a human user. BRIEF DESCRIPTION OF THE DRAWINGS The disclosure will be understood more fully from the detailed description given below and from the accompanying drawings of various embodiments of the disclosure. The drawings are for explanation and understanding only and should not be taken to limit the disclosure to the specific embodiments shown. FIG. 1 A is a flow diagram of an example method for dynamic query planning using components of a dynamic query planning system in accordance with some embodiments of the present disclosure. FI

References Cited — Backward Prior Art (3)

PatentTitleYearCitations

Non-Patent Literature (10)

  • International Search Report and Written Opinion received for PCT Application No. PCT/US2024/047345, Dec. 5, 2024, 17 Pages.
  • Marwah et al.,
  • “
  • Can Generative LLMs Create Query Variants for Test Collections? An Exploratory Study
  • ”
  • , Proceedings of The 2023 Chi Conference On Human Factors in Computing Systems, Jul. 19, 2023, 5 pages.
  • Zhu et al.,
  • “
  • Furthest Reasoning with Plan Assessment: Stable Reasoning Path with Retrieval-Augmented Large Language Models
  • ”