Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

1455 results about "Database query" patented technology

Systems, devices, and methods for enterprise system integration using machine learning

A method for directing a domain-specific request to a machine learning (ML) agent of a plurality of ML agents configured to generate domain specific language (DSL) scripts includes, at a computing system: processing a request received from a user to determine a particular domain associated with the request; identifying an ML agent of the plurality of ML agents that is associated with the particular domain; generating, using the ML agent, a DSL script for the particular domain based on the request; executing, using the ML agent, at least one of an API call and a database query based on the DSL script; processing, using the ML agent, a response to the at least one of the API call and the database query; generating, using the ML agent, an output based on the response; and processing the output using at least one other ML agent of the plurality of ML agents.
Owner:NEURAL ENTERPRISES INC

Configuring a generative machine learning model using a syntactic interface

Described herein are a system, method, and device for configuring a generative machine learning model using a syntactic interface. A system may include a user interface, a memory, and a processor configured to, using a syntactic interface displayed using the user interface, receive a syntactic interface input from a user; identify an electronic medical record (EMR) by generating an EMR database query as a function of the syntactic interface input, querying an EMR database using the EMR database query, and receiving, from the EMR database, an EMR database response; generate a prompt as a function of the syntactic interface input; generate a first generative model output as a function of the prompt and the EMR using a trained generative machine learning model; and using a conversational interface displayed using the user interface, display the first generative model output to the user.
Owner:NFERENCE INC

IoT security knowledge-based chatbot system

A stateful chatbot system leverages generative AI to provide an interface by which users can retrieve information from backend IoT databases of a security provider via natural language queries. Upon receiving a natural language query that corresponds to a request for information from the database, the chatbot generates a corresponding database query having a format compatible with the database. The chatbot comprises a generative model adapted to generate database queries based on natural language queries via prompt engineering using natural language and database query pairs. The chatbot queries the database with the generated database query, retrieves results comprising data / metadata that satisfy the query, and generates a summary of the results, both of which it presents as a response to the user's query. The chatbot also has access to a vulnerability database from which it can obtain information about known vulnerabilities documented therein to respond to user queries.
Owner:PALO ALTO NETWORKS INC

Development environment integrated with a large language model

A system allows generation of information used by an integrated development environment using a machine learning-based language model, for example, a large language model. The integrated development environment is for developing applications, e.g., database applications. The system receives a natural language request for information related to development of the database application. The system determines contextual information describing a development task associated with the database application and generates a prompt for a machine learning based language model based on the natural language request and the contextual information and receives a response. The system extracts the information related to development of the database application from the response. In response to a natural request, the system may generate a database query, provide a resultset by executing the database query, automatically determine a type of chart and generate one or more charts for visually displaying the result.
Owner:COUCHBASE INC

Using a compiler to modify prompts for machine learning models used to generate database queries

A method for using a compiler to modify prompts for MLMs used to generate database queries includes receiving, at a query compiler, a first query of a database. The first query is at least in part generated by an MLM. The method includes determining, by the query compiler, whether the first query comprises an uncorrectable error. The method includes, responsive to determining that the first query comprises an uncorrectable error, generating a prompt element that describes the uncorrectable error and that is structured for inclusion in a prompt requesting the MLM to generate a modified first query that corrects the uncorrectable error. The method may include generating the prompt for the MLM, providing the prompt to the MLM, and responsive to providing the prompt, receiving, at the database query compiler, the modified first query that corrects the uncorrectable error.
Owner:WAII INC

Natural language database interface

The present disclosure provides an approach for training a machine learning model. Embodiments include receiving text comprising a natural language request. Embodiments include providing one or more inputs to a source machine learning model based on the text, wherein the source machine learning model has been trained using source training data corresponding to a plurality of databases. Embodiments include receiving, from the source machine learning model in response to the one or more inputs, a database query in a syntax corresponding to a target database. Embodiments include generating training data for a target machine learning model based on the text and the database query received from the source machine learning model, wherein the target machine learning model has been trained using a smaller amount of training data than the source training data that was used to train the source machine learning model.
Owner:OMNISSA LLC

System and method for natural language query processing utilizing language model techniques

A system and method for generating a database query based on a natural language query improves database utilization is presented. The method includes receiving a natural language query directed to a security database, wherein the security database includes a representation of a computing environment; selecting a first database query from a plurality of database queries; generating a second database query based on the first database query adapted by the received natural language query; and executing the second database query on the security database.
Owner:WIZ INC

Natural language query to domain-specific database query conversion with language models

A natural language to database query converter (converter) receives a natural language query from a user (i.e., a user utterance) and identifies a cybersecurity domain related to intent of the natural language query. The converter then generates a database query for a query language of the cybersecurity domain corresponding to the natural language query with a large language model (LLM). An initial prompt to the LLM generated by the converter specifies a grammar of the query language and instructs the LLM to generate an initial database query that functions like the natural language query and satisfies the grammar. If a lint program determines that the initial database query is not valid for the query language, the converter generates a follow-up prompt to the LLM that indicates valid database queries from which to generate a follow-up database query. A query parser retrieves data that satisfy the initial or follow-up database query and a visualization / summarization module generates graph visualizations and summaries of the retrieved data.
Owner:PALO ALTO NETWORKS INC

Threat intelligence dialogue system for interfacing with a proprietary threat intelligence database

An LLM is adapted to generate database queries that are compatible with a proprietary database of a security provider. Adapting the LLM includes evaluating performance of the LLM after initial prompt engineering / fine-tuning to ensure that generated database queries are valid (i.e., comport to the database schema and can be executed to return results). When the LLM performance is satisfactory, a dialogue system uses the LLM to generate database queries from user queries. The dialogue system determines intent of each user query, which informs whether the query is supported. Supported user queries are converted to database queries using the LLM and submitted to the database. The dialogue system leverages another language model to generate a summarized, natural language representation of the database query results and constructs a response from the summary. The dialogue system also checks for XSS and prompt injection before database queries are ultimately submitted to the database.
Owner:PALO ALTO NETWORKS INC

Efficiently processing query workloads with natural language statements and native database commands

A database query processing service is provided for efficiently processing query workloads with natural language statements and native database commands. The database query processing service may receive some database queries that do not contain a natural language marker and process these database queries without using large language models to generate replacement query content. The database query processing service may also receive other database queries that do contain the natural language marker and process the other database queries using large language model(s) to generate replacement query content or leverage replacement query content already generated by the large language model(s). The replacement query content is checked to ensure the content is natively valid for the content to retrieve data from database structures referenced in the content. The database query processing service may use the natively valid replacement query content to cause execution of operations responsive to the other database queries.
Owner:ORACLE INT CORP

Method for generating steel field TEXT2SQL based on LLM enhanced by RAG

The invention relates to a method for generating steel field TEXT2SQL based on LLM enhanced by RAG, which comprises the following steps: firstly, establishing connection with a steel database, and defining user semantic information and a database mode; then, obtaining user input and carrying out natural language processing; thirdly, guiding a large language model to generate a more accurate SQL query by utilizing the generated group of guiding words prompt; then, natural language query is converted into SQL query in combination with a large language model and an RAG technology; when a new user query is received, searching a historical query most similar to the new user query and a corresponding SQL query from the vector database; and finally, performing grammar correctness and logic rationality verification on the generated SQL statement, and outputting the SQL statement. According to the method, the problem that table names and field names are difficult to obtain when a large language model generates accurate SQL statements according to user description is solved. According to the method, the high-quality SQL query statement can be effectively generated, and the accuracy and the use efficiency of steel database query are improved.
Owner:DONGHUA UNIV

Analytic query processing using a backup of a database

Queries may be made against a non-relational database without impacting the capacities of the non-relational database by enabling performance of queries to a non-relational database via an external query management, backup management, and a non-relational database backup hosted in an external data storage. The query management and backup management of the non-relational database service may split transactional load to the non-relational database and analytical load, and furthermore allow selection of a desired data freshness for queries including various time ranges, such as seconds, minutes, or days.
Owner:AMAZON TECH INC

Intelligent AI question and answer method and device based on domain knowledge graph and table paraphrasing enhancement generation and program product

The invention provides an intelligent AI question answering method based on domain knowledge graph and table paraphrasing enhancement generation, which comprises the following steps: constructing a domain knowledge graph, and performing paraphrasing enhancement on a domain database table to obtain a table paraphrasing enhancement knowledge base; receiving a user question, and analyzing a keyword of the user question through a natural language processing technology; performing intention understanding analysis on the keyword based on a domain knowledge graph to obtain a knowledge graph retrieval result, the knowledge graph retrieval result at least comprising N pieces of similar path information matched with a user question in the knowledge graph; searching M reference tables in a table paraphrasing enhancement knowledge base based on the N pieces of similar path information; and generating an SQL query statement according to the N pieces of similar path information and the M reference tables by utilizing a language large model, and querying in a database based on the SQL query statement to obtain an answer to the user question.
Owner:NEWCAPEC ELECTRONICS CO LTD

Database information extraction and data analysis method and database intelligent analysis platform based on large language agent

The invention discloses a database information extraction and data analysis method based on a large language agent, and belongs to the crossing field of database management and artificial intelligence. In order to solve the problems that traditional database query depends on manual SQL writing, and complex analysis efficiency is low, the method constructs an intelligent agent through a large language model (LLM) and a prompt engineering technology, and end-to-end conversion from a natural language instruction to structured data analysis is achieved. The method specifically comprises the following steps: 1) disassembling an instruction and associating database metadata; 2) generating a precise SQL query; 3) automatically adapting a visual chart according to a query result, and generating an analysis report; and 4) integrating data conclusions in different scenes. According to the method, in a judicial operation situation judgment scene test, the complex query generation accuracy is improved to 80%, meanwhile, the method can be applied to data analysis platforms in the fields of science, finance, medical treatment and the like, and non-technical users are supported to rapidly complete the whole process of'instruction-query-visualization-decision '.
Owner:SHANGHAI PUDONG ZHONGRUAN TECH DEV CO LTD

Automatic index recommendations for improved query performance

Systems and methods described herein relate to automatic index recommendations for improved database query performance. Candidate indexes are identified. The candidate indexes are associated with a database query that is classified as a slow query. A feature vector is generated for each candidate index to represent statement features and statistical features associated with the candidate index. The feature vectors are provided to one or more machine learning models to obtain an index recommendation value for each candidate index. An index recommendation is presented at a user device. The index recommendation identifies a first index of the candidate indexes based at least partially on the index recommendation value obtained for the first index. User input indicative of a user selection of the first index is received. A database schema is updated to include the first index in response to the user input.
Owner:SAP SE

Database query method and device, medium and computer program product

The invention discloses a database query method and device, a medium and a computer program product, and relates to the technical field of databases, a database is converted into a graph model, a corresponding query statement is converted into graph query, and the graph query is optimized by determining an optimal query path of a current query process, so that the query efficiency is improved. Therefore, the structured query statement is optimized by utilizing the process of optimizing the graph query, and finally the optimized structured query statement is adopted to execute the query, so that the execution efficiency of the whole query process is improved, efficient query processing is realized, the resource consumption of query execution is reduced, and the overall performance of a database system is improved. The whole process does not depend on a predefined rule or a fixed cost model, query optimization is achieved through real-time analysis and query path optimization, complex query and large-scale data can be processed, and adaptability is higher.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

Processing method and device based on database query, equipment and medium

The embodiment of the invention provides a processing method and device based on database query, equipment and a medium. The method comprises the steps that a user query problem is obtained; according to the user query question, screening out candidate database modes from a plurality of database modes in a preset database, and extracting key content information from the user query question; converting the key content information into a content identifier which can be identified by a database, and screening out a target database mode from the candidate database modes; function structure information of the user query problem is determined, and a query statement skeleton of the user query problem is determined according to the function structure information; and filling the content identifier and the target database mode in a query statement skeleton to obtain a database query statement, and executing a query operation in a database through the database query statement. The database query statement is automatically generated according to the user query problem, the query operation is executed, and the query efficiency and accuracy are remarkably improved.
Owner:CHINA TELECOM ARTIFICIAL INTELLIGENCE TECHNOLOGY (BEIJING) CO LTD

Query chain - declarative approach for on-demand dashboarding

Systems, apparatuses, and methods for creating on-demand dashboards for inspecting performance metrics of hardware and / or software infrastructure are described. A request is received, from a user device, to inspect one or more performance metrics of a network connected service. An operations management system generates metadata from data ingested from one or more data sources associated with the network connected service. A plurality of database queries generated based on the contextual metadata are identified and at least a portion of the plurality of database queries are resolved. One or more dashboards facilitating inspection of each of the one or more performance metrics are generated based at least in part on the resolved portion of the plurality of database queries.
Owner:SELECTOR SOFTWARE INC

Accessing data from a database

Systems, methods, devices and non-transitory, computer-readable storage mediums are disclosed for a wearable multimedia device and cloud computing platform with an application ecosystem for processing multimedia data captured by the wearable multimedia device. In an embodiment, a method for using a machine learning model to provide data corresponding to a query comprises receiving a query for data stored in one or more databases. A prompt file is determined for the query. The prompt file and the query are provided as input for a machine learning model configured to generate a prediction for the query. Training the machine learning model can include updating network parameters in the machine learning model based on the prompt file. The prediction generated for the query is received. The prediction comprises a predicted database query corresponding to the query, and a level of accuracy is determined for the predicted database query.
Owner:HEWLETT PACKARD DEVELOPMENT COMPANY LP

Real-time index construction and intelligent optimization method and system based on large model driving

The invention discloses a real-time index construction and intelligent optimization method and system based on large model driving, and belongs to the technical field of database indexing.The method specifically comprises the steps that sample data characteristics and access modes are collected and analyzed through a data stream processing and dynamic preprocessing technology; fusing the pre-training language model and a knowledge graph method, performing deep semantic analysis on the sample data, and generating an index scheme by adopting a self-adaptive mixed index strategy; according to the method, index construction is implemented, index performance is optimized by applying a multi-objective optimization algorithm, index configuration can be dynamically adjusted through real-time monitoring and machine learning prediction models, database query efficiency is improved through optimal index combination, and an intelligent and efficient index management strategy is achieved.
Owner:SHANGHAI ZHUOCHEN INFORMATION TECH CO LTD

Database access controls defined through logical expressions

Provided herein is a process that converts unprotected data into protected data based on permissions defined using logical operators. As such, user permissions can be managed with a simple string of data. In one example, the method may include receiving a request for data from a user device, identifying a permission object corresponding to the user device, retrieving a string comprising a logical expression with a logical operator and one or more values from the permission object, wherein the logical expression defines access permissions of the user device with respect to a database, executing a database query on the database based on the request to generate results, and filtering the results from the database query based on the logical expression to generate filtered results and outputting the filtered results to the user device.
Owner:SAP SE

Query permission verification method and device, equipment and storage medium

The invention discloses a query permission verification method, device and equipment and a storage medium, relates to the technical field of natural language processing, is applied to a business intelligent system.The query permission verification method comprises the steps that query information of a natural language input by a current user is obtained, and the query information is converted into a database query statement based on a preset large language model; performing permission verification on the database query statement according to the permission level corresponding to the current user to obtain a corresponding permission verification result; if the permission verification result represents that the database query statement exceeds the permission level corresponding to the current user, error information representing no permission is fed back; and if the permission verification result represents that the database query statement conforms to the permission level corresponding to the current user, executing the database query statement to obtain a corresponding query result. Therefore, according to the method and the device, the permission verification is carried out on the currently generated database query statement through the permission level corresponding to the current user, the query permission of the user can be strictly controlled, and the data security is improved.
Owner:SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

Data query method and device based on dynamic rule combination and electronic equipment

The invention provides a dynamic rule combination-based data query method and apparatus, and an electronic device.The method comprises the steps of firstly obtaining query parameter information input by a user, and then analyzing fields, operators and values in each query parameter group; based on the analyzed fields, operators and values, a corresponding target processing rule is matched for each query parameter group from a preset processing rule set, and then the query parameter group is processed according to the corresponding target processing rule for each query parameter group; and generating an SQL query statement based on a preset logic operator set and a processing result of each query parameter group, and finally executing the SQL query statement to query the database to obtain a database query result. By adopting the method and the device, the query parameter information can be automatically converted into the SQL query statement, the operation complexity of multi-condition complex query can be reduced, and meanwhile, the universality of the multi-condition complex query in diversified query scenes is improved.
Owner:TONGCHENG NETWORK TECH CO LTD

Techniques for computer-based systematic literature review

Computer-based techniques for performing systematic literature reviews are provided. Some embodiments include an SLR system including various components that interoperate to generate regulation-compliant SLR reports regarding an issue based on user-defined parameters. In several embodiments, the SLR system may integrate various artificial intelligence techniques to facilitate generation of SLR reports. For example, various SLR systems disclosed hereby may utilize generative pre-trained transformers to assist in aspects of systematic literature reviews, such as literature database queries, literature screening, data question generation, level of evidence classification, qualitative assessments, data extraction, and report generation.
Owner:ECNE RESEARCH LLC

Query translation for databases storing semantic data

Described are examples for querying a database that stores semantic data in a compressed linked tabular representation. An ordered list of relational operators can be extracted from a language-agnostic representation of a query for semantic data from the database. The language-agnostic representation of the query can be translated, based on the ordered list of relational operators, into a database query of a query language syntax that is supported by the database, and the database query can be executed on the database without decompressing the data stored in the compressed linked tabular representation.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Database query optimization method and apparatus, and computing device cluster

A database query optimization method, comprising: acquiring a query statement, the query statement comprising a connection operation and a group aggregation operation; determining that a connection key and a group key in the query statement are the same, wherein an aggregation function in the query statement can be split, and an input parameter of the aggregation function comes from the same side as a connection condition in the query statement; creating a fusion operator, the fusion operator being used for completing the connection operation and the group aggregation operation; when a cost for executing the fusion operator is less than or equal to a target cost, on the basis of the fusion operator, generating an optimal execution plan related to the fusion operator, wherein the target cost is a cost for executing a connection operator and a group aggregation operator; and performing the operations step by step on the basis of an operation sequence in the optimal execution plan, so as to obtain a query result set. Therefore, when the query statement meets corresponding features, the connection operation and the group aggregation operation can be fused into one operator, thereby reducing the processing flow of an intermediate result, accelerating the execution of the query statement, and improving the query execution performance.
Owner:HUAWEI TECH CO LTD

Intelligent data query system and method based on natural language processing

The invention discloses an intelligent data query system and method based on natural language processing, and relates to the technical field of natural language processing and database query. According to the method, natural language input and database mode information are received, a historical query log is combined to construct mode knowledge representation, a query skeleton is generated on the basis, a fine-tuned large language model is called to generate candidate SQL statements, error detection and ambiguity recognition are carried out on the candidate statements, and the query result is obtained. And if necessary, triggering interaction clarification and updating a query result according to user feedback. And meanwhile, the wrong clauses are locally repaired through a gating mechanism, and the clauses are returned and regenerated when multiple times of repair fails, so that the correctness of the query statement is ensured. And finally, after the SQL is executed in the database, a result is fed back to the user. Besides, the system records generation and repair tracks in the operation process, and continuously optimizes the model based on reward shaping, comparative learning and self-game training, so as to improve the generalization ability in different business scenes.
Owner:JIANGSU RED NET TECH CO LTD

Database query optimization method and device and computing device cluster

The database query optimization method comprises the steps that a query statement is obtained, and the query statement comprises a connection operation and a grouping aggregation operation; determining that a connection key and a grouping key in the query statement are the same, an aggregation function in the query statement is detachable, and input parameters of the aggregation function are from the same side of a connection condition in the query statement; creating a fusion operator, wherein the fusion operator is used for completing a connection operation and a grouping aggregation operation; under the condition that the cost of executing the fusion operator is smaller than or equal to a target cost, an optimal execution plan related to the fusion operator is generated according to the fusion operator, and the target cost is the cost of executing the connection operator and the grouping aggregation operator; and executing operations step by step according to the operation sequence in the optimal execution plan to obtain a query result set. Therefore, when the query statement meets the corresponding characteristics, the connection and grouping aggregation operations can be fused into one operator, so that the processing flow of an intermediate result can be reduced, the execution of the query statement is accelerated, and the execution performance of the query is improved.
Owner:HUAWEI TECH CO LTD

System and method for relational database query answering and optimization based on natural algebra of k-relations

This disclosure presents a system and method for representing, transforming, and answering, database queries based on formalisms for k-relations and operations on them, wherein all the operations are derived from the two basic ones: natural join and natural union, so their algebraic properties are also derived. The disclosure suggests implementations of these formalisms in the embodiments of the invention. In particular, the examples presented in this disclosure encompass the translation of the full spectrum of features and functionality of the relational database queries (SQL examples) as well as the essential functionality of the object-relational and graph database queries (Starcounter QL examples). The algebraic expressions resulting from the said translation can be further rewritten using the transformation rules, and eventually mapped to an executable form for any given embodiment.
Owner:STARCOUNTER

List-based data search comprising an append-only data structure

A computer-implemented method for performing a database query within a database, that contains logical data records which are physically stored in the form of field-specific data value lists, includes receiving instructions to change data values; storing the instructions in an append-only data structure without making the changes to the field-specific data value lists, wherein each entry in the append-only data structure-referred to here as an AOD entry-contains at least those of the field identifier-data value pairs of one of the data records that are to be changed according to one of the change instructions; for each of the data records for which the database receives instructions, storing the address of the most recent of the stored AOD entries specifying a change to that data record, linked to the data record ID of that data record, in an address allocation table; and performing a database query.
Owner:CORTEX INNOVATIONS GMBH