Data platform using generative artificial intelligence based analysis and queries applied to data sources
AssigneeChaossearch, Inc.
InventorThomas Hazel
Life of this patent
Estimating the term…
Abstract
A system for querying a database may receive, from a user interface, a query request. The system may transmit, to a generative AI system, a contextualized query based on the query request and context from the database. The system may receive, from the generative AI system, a query statement in response to the transmission of the contextualized query. The system may transmit, to the database, the query statement. The system may receive, from the database, a database response comprising a set of database entries in response to the transmission of the query statement. The system may transmit, to the user interface, an indication of the database response.
Claims15
An apparatus for querying a database, comprising:
- at least one memory;
- and
- at least one processor coupled to the at least one memory and, based at least in part on information stored in the at least one memory, the at least one processor, individually or in any combination, is configured to:
- receive, from a user interface, a query request;
- transmit, to the database, a request for a set of metadata associated with a data structure of the database based on the received query request;
- receive, from the database, the set of metadata;
- generate a context for the database based on the received set of metadata, wherein, to generate the context for the database based on the received set of metadata, the at least one processor, individually or in any combination, is configured to generate seeding information based on the received query request and characteristics information based on a structure for a database response from the database;
- generate a contextualized query based on the received query request from the user interface and the received set of metadata from the database, wherein to generate the contextualized query based on the query request and the received set of metadata, the at least one processor, individually or in any combination, is configured to generate the contextualized query further based on the generated context for the database;
- transmit, to a generative AI system, the generated contextualized query and a request for a query statement based on the generated contextualized query, wherein the database is not accessible to the generative AI system;
- receive, from the generative AI system, the query statement based on the transmitted contextualized query and the transmitted request for the generative AI system to generate the query statement;
- transmit, to the database, the received query statement;
- receive, from the database, the database response comprising a set of database entries after transmission of the received query statement;
- and
- transmit, to the user interface, an indication of the database response.
A computer-implemented method, comprising:
- receiving, from a user interface, a query request;
- transmitting, to a database, a request for a set of metadata associated with a data structure of the database based on the received query request;
- receiving, from the database, the set of metadata;
- generating a context for the database based on the received set of metadata, wherein generating the context for the database based on the received set of metadata comprises generating seeding information based on the received query request and characteristics information based on a structure for a database response from the database;
- generating a contextualized query based on the received query request from the user interface and the received set of metadata from the database, wherein generating the contextualized query based on the query request and the received set of metadata comprises generating the contextualized query further based on the generated context for the database;
- transmitting, to a generative AI system, the generated contextualized query and a request for a query statement based on the generated contextualized query, wherein the database is not accessible to the generative AI system;
- receiving, from the generative AI system, the query statement based on the transmitted contextualized query and the transmitted request for the generative AI system to generate the query statement;
- transmitting, to the database, the received query statement;
- receiving, from the database, the database response comprising a set of database entries after transmission of the received query statement;
- and
- transmitting, to the user interface, an indication of the database response.
An apparatus for querying a database, comprising:
- means for receiving, from a user interface, a query request;
- means for transmitting, to the database, a request for a set of metadata associated with a data structure of the database based on the received query request;
- means for receiving, from the database, the set of metadata;
- means for generating a context for the database based on the received set of metadata, wherein the means for generating the context for the database based on the received set of metadata comprises means for generating seeding information based on the received query request and characteristics information based on a structure for a database response from the database;
- means for generating a contextualized query based on the received query request from the user interface and the received set of metadata from the database, wherein the means for generating the contextualized query based on the query request and the received set of metadata comprises means for generating the contextualized query further based on the generated context for the database;
- means for transmitting, to a generative AI system, the generated contextualized query and a request for a query statement based on the generated contextualized query, wherein the database is not accessible to the generative AI system;
- means for receiving, from the generative AI system, the query statement based on the transmitted contextualized query and the transmitted request for the generative AI system to generate the query statement;
- means for transmitting, to the database, the received query statement;
- means for receiving, from the database, the database response comprising a set of database entries after transmission of the received query statement;
- and
- means for transmitting, to the user interface, an indication of the database response.
Dependencies are inferred from the claim text.