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

148 results about "Query Rewriting" patented technology

Query Rewriting is a typically automatic transformation that takes a set of database tables, views and/or queries, usually indices, often gathered data and query statistics, and other metadata, and yields a set of different queries, which produce the same results but execute with better performance (for example, faster, or with lower memory use). Query rewriting can be based on relational algebra or an extension thereof (e.g. multiset relational algebra with sorting, aggregation and three-valued predicates i.e. NULLs as in the case of SQL). The equivalence rules of relational algebra are exploited, in other words, different query structures and orderings can be mathematically proven to yield the same result. For example, filtering on fields A and B, or cross joining R and S can be done in any order, but there can be a performance difference. Multiple operations may be combined, and operation orders may be altered.

Intelligent search engine construction method based on large language model

The invention discloses an intelligent search engine construction method based on a large language model. The intelligent search engine construction method comprises the steps that 1, original query is conducted; step 2, manually setting a filter; 3, on the basis of original query and filter setting input by a user, a retrieval rewriting module is responsible for converting the original query and filter setting into professional retrieval statements; the retrieval rewriting process comprises the following modules: an NER-based dynamic feed-shot example, a professional term recommendation module, an LLM-based retrieval main sentence rewriting module, a retrieval main sentence verification module, an automatic filter planning module, a retrieval statement conversion module and a retrieval main sentence merging filter clause; step 4, using a retrieval engine to retrieve related documents; 5, reordering the documents; and 6, summarizing and indexing the document. According to the method, the query rewriting module and the reordering module are optimized, and the accuracy of retrieval rewriting and the rationality of recalled document reordering are remarkably improved.
Owner:SHUYE TECHNOLOGY (SHENZHEN) CO LTD

Financial data warehouse intelligent SQL optimization method and system based on large model

The invention relates to the technical field of data optimization, and discloses a financial data warehouse intelligent SQL (Structured Query Language) optimization method based on a large model, which comprises the following steps: S1, SQL statement analysis and preprocessing: carrying out word segmentation, grammatical analysis and logic structure analysis on an SQL statement submitted by a user, and identifying keywords, table structures and query conditions in query; s2, large model semantic understanding and optimization suggestion: performing semantic understanding and logical reasoning on the analyzed SQL statements by using a large model, and automatically generating optimization suggestions, the optimization suggestions including index recommendation, query rewriting and execution plan optimization; and S3, generating and selecting a dynamic execution plan. According to the method, the advantages of a large model in the aspects of natural language processing and intelligent decision making are fully utilized and combined with the specific requirements of the financial data warehouse, and the execution efficiency of SQL query and the overall performance of the system are remarkably improved; the query response time of the financial data warehouse can be effectively shortened, and the resource utilization rate is improved.
Owner:SHANGHAI WEIXINHUIZHI FINANCIAL TECH CO LTD

Techniques for joint context query rewrite and intent detection

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.
Owner:ADOBE INC

Construction method of traditional Chinese medicine alert question-answering system based on large language model

The invention discloses a construction method of a traditional Chinese medicine alert question-answering system based on a large language model. The method comprises the following steps: establishing a traditional Chinese medicine knowledge base; constructing a retrieval enhancement generation model PV-RAG oriented to drug alert, and training and optimizing the PV-RAG model by taking the traditional Chinese medicine knowledge base as a training set; the PV-RAG model comprises a retrieval module, a text extraction module, a query rewriting module and a generation module; and constructing an intelligent question and answer application end, and generating a traditional Chinese medicine alert answer according to a natural language question input by a user. According to the traditional Chinese medicine alert question-answering system based on the large language model and the retrieval enhancement generation technology, deep semantic understanding of traditional Chinese medicine literatures is achieved through the text embedding model, multi-source data such as traditional Chinese medicine specifications, traditional Chinese medicine classics and clinical research literatures are effectively integrated, and the traditional Chinese medicine alert question-answering system is established. And rich knowledge support is provided for traditional Chinese medicine alert questions and answers.
Owner:NANJING UNIV OF POSTS & TELECOMM

Data segmentation and query processing system under distributed architecture

The invention relates to the technical field of computer data processing, and discloses a data segmentation and query processing system under a distributed architecture. The system comprises a data segmentation module which divides data blocks based on a self-adaptive partitioning algorithm; the distributed storage module is used for distributing data blocks by using a consistent Hash algorithm and dynamically adjusting the distribution of virtual nodes; the index construction module is used for generating a global index table through a multi-layer inverted index algorithm; the query optimization module is used for converting query statements by utilizing a query rewriting algorithm; and the result aggregation module is used for processing the sub-query results by adopting a parallel aggregation algorithm. The system can dynamically process data according to data characteristics, optimizes the data storage and query process, effectively improves the data processing efficiency and query performance of a distributed system, and is suitable for scenes such as big data storage and analysis.
Owner:ZHEJIANG JINGJING TECH CO LTD

Knowledge question and answer method, device and equipment and storage medium

The invention discloses a knowledge question answering method and device, equipment and a storage medium, and relates to the technical field of large language models.The method comprises the steps that whether a to-be-answered question needs to be retrieved or not is judged based on the to-be-answered question and a target heuristic answer corresponding to the to-be-answered question; if so, performing query rewriting processing on the target heuristic answer to obtain a plurality of groups of subquestion declaration pairs; determining a to-be-queried sub-question from each sub-question declaration pair, and performing external knowledge base retrieval on the to-be-queried sub-question to obtain target retrieval information; and obtaining a final answer of the to-be-answered question based on the to-be-queried sub-question and the target retrieval information. By means of the technical scheme, the technical problems that in the prior art, a traditional retrieval algorithm used in LLM based on the RAG technology usually cannot accurately understand semantics of questions, so that accuracy of questions and answers is not high, and the traditional retrieval algorithm is poor in retrieval coarseness and retrieval accuracy, lacks interactivity and is not high in efficiency are solved.
Owner:中邮消费金融有限公司

Intelligent customer service response method and system based on large model

The invention discloses an intelligent customer service response method and system based on a large model, and the method comprises the steps: obtaining user input and a historical dialogue of a user, splicing the user input and the historical dialogue with a preset first prompt, inputting a large model, and outputting query rewriting and intention recognition; responding to the intention recognition, splicing the intention recognition with a preset second prompt, and inputting the large model to output a calling instruction; and responding to the calling instruction, and generating content output. By obtaining the content input by the user and combining the historical dialogue corresponding to the user, the processing content for the user can be automatically completed, the large model can effectively rewrite and identify the intention of the processing content through the prompt generated by the processing content, the requirement for the content input by the user is greatly reduced through the mode, the processing process is more flexible, and the user experience is improved. Meanwhile, after accurate intention recognition is obtained, next-step processing can be carried out more accurately, so that accurate content output is obtained, and the efficiency and accuracy of processing user problems are higher.
Owner:内蒙古电力(集团)有限责任公司电力营销服务与运营管理分公司

RAG query rewriting method based on multi-stage retrieval feedback

The invention relates to the technical field of retrieval enhancement generation, and particularly provides an RAG query rewriting method based on multi-stage retrieval feedback. The method comprises the following steps: constructing an improved RAG framework by introducing a query rewriter; training a query rewriter based on two stages of static feedback and dynamic feedback of a retrieval task; according to the method, the query is rewritten, the information alignment strategy is designed, the rewritten query is calibrated to the information range and semantics of the retrieval requirements, the query is optimized, the matching degree of the retrieval requirements is improved, and the coverage rate and accuracy rate of retrieval are improved.
Owner:QILU UNIVERSITY OF TECHNOLOGY (SHANDONG ACADEMY OF SCIENCES) +1

Engineering knowledge base construction and deep retrieval method

The invention relates to the technical field of intelligent retrieval, in particular to an engineering knowledge base construction and deep retrieval method, which comprises the following steps of: in a knowledge base construction stage, performing knowledge level identification on an engineering knowledge document to form a multi-level tree structure taking chapter titles and corresponding contents as nodes; performing analysis processing on the heterogeneous content of each node to generate knowledge fragments; and generating embedded vectors of knowledge fragments by adopting a way of combining path embedding and content embedding, and storing association relationships among knowledge, vector data and original information to complete knowledge base construction. In the deep retrieval stage, after a user question is received, a knowledge blank question list is generated through query and rewriting, a knowledge base is retrieved through traversal of the list, the retrieval process is optimized through knowledge grouping, correlation sorting and loop termination judgment, and finally reply content subjected to traceable verification is generated and output based on existing knowledge accumulated in a circulation mode. According to the method, the reuse efficiency and the retrieval accuracy of the engineering knowledge can be improved.
Owner:CHINA TRANSPORT INFORMATION TECH GRP CO LTD

Facility agriculture intelligent question answering method based on big language model retrieval enhancement generation

The invention relates to a facility agriculture intelligent question answering method based on large language model retrieval enhancement generation. The method comprises the steps of obtaining a target question text proposed by a user; querying and rewriting the target question text, generating a plurality of query texts similar to the target question text, and integrating the query texts with the plurality of query texts to form a question text set; vectorizing texts in the problem text set to generate a problem vector set, and integrating the problem vector set and the problem text set into a problem library; retrieving data and vectors of a plurality of texts related to the question text set and the vector set from a knowledge base by utilizing text keywords and vector retrieval; and generating a target answer text corresponding to the target question text according to the retrieved data of the plurality of texts and the vectors of the plurality of texts. Through the method and the device, the problems of low answer accuracy and poor query processing capability of the facility agriculture intelligent question-answering system in the related technology are solved, and the effect of improving the answer accuracy and the query processing capability of the agricultural intelligent question-answering system is realized.
Owner:ZHEJIANG UNIV

Query rewriting method and query rewriting device

Embodiments of the invention disclose a query rewriting method and apparatus, which can search for synonyms of keywords in a specified field according to field information, so that a semantic drift phenomenon can be reduced, and contents of other fields in a query result can be reduced. The method comprises the steps that after a query rewriting device obtains a keyword from a query statement from a user, field information of the keyword is determined, then synonyms of the keyword are obtained from an inter-word relation ontology associated with the field information, and the query statement is rewritten into a target query statement comprising the synonyms.
Owner:SHENZHEN HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD

Information retrieval method and system based on RAG and large language model

The invention discloses an information retrieval method and system based on an RAG and a large language model, and belongs to the technical field of intelligent office. The method comprises the following steps: analyzing different types of documents by adopting a long and short mixed granularity method and a preset splitting strategy to obtain text fragments of long and short granularities aiming at the different types of documents, and constructing a long and short mixed granularity knowledge base on the basis of the text fragments of the long and short granularities; when a user question is received, adjusting the user question into a specific query statement by using a multi-round query rewriting mechanism based on a large language model; and taking the specific query statement as a retrieval statement, performing retrieval in the long and short mixed granularity knowledge base by using a retrieval enhancement generation technology (RAG) to obtain retrieval results, sorting the retrieval results according to release dates of knowledge in the retrieval results, and preferentially displaying the retrieval results sorted in the front. The application of the method improves the accuracy of question and answer retrieval query.
Owner:AISINO CORPORATION

Commercial real estate question and answer content generation system based on retrieval enhancement technology

The invention belongs to the technical field of artificial intelligence, and particularly relates to a commercial real estate question and answer content generation system based on a retrieval enhancement technology. The system comprises an original data processing module, a text content slicing module, a knowledge base construction module, a query rewriting module, a problem planning and disassembling module, an intention routing module, a mixed retrieval module and a content generation module. The method has the characteristics that the efficiency is higher, the accuracy is higher, and meanwhile, the use experience of a user is also greatly improved.
Owner:ZHUHAI WANDA INTELLIGENT COMMERCIAL TECH CO LTD

Query optimization method and device based on agent planning, electronic equipment and medium

The invention relates to a query optimization method and device based on agent planning, electronic equipment and a medium. The method comprises the following steps: pre-retrieving a target tree structure index based on a user query request to obtain a pre-retrieval result set; generating a retrieval-reasoning double-stage directed acyclic graph task chain comprising a task type, a retrieval / reasoning target and a dependency relationship; executing each task according to a topological sequence, and obtaining a target text fragment through query rewriting and expansion; and performing multi-hop logical reasoning in combination with the task chain and the target text fragment, and outputting a final answer. Therefore, dynamic task planning of environment perception is carried out by constructing a retrieval-reasoning dual-stage directed acyclic graph task chain and combining a knowledge base tree structure index; the problems that when an existing retrieval enhancement generation system processes a multi-hop question and answer task, logic association understanding ability among retrieval fragments is insufficient, semantic matching precision is low, and a reasoning path is prone to deviation are solved, and the retrieval recall rate and the answer accuracy under a multi-hop question and answer scene are improved.
Owner:TSINGHUA UNIVERSITY +1

Intelligent questioning and answering method and system for knowledge graph in electric power marketing field based on large model Agent

The invention discloses an intelligent questioning and answering method and system for a knowledge graph in the field of power marketing based on a large model Agent, and the method comprises the steps: obtaining a to-be-queried question and the large model Agent, enabling a question rewriting tool of the large model Agent to complete and rewrite the question Q based on a constructed prompt word module and a pre-trained templated processing model, and carrying out the quality verification of a rewritten new question Q '; inputting the new question Q'passing the quality auditing into a large model Agent, and converting the new question Q'into at least one query statement q; the query statement q is processed through a result generation tool, a result R returned by processing is received, and the result R contains data requested by the query statement q; the large model Agent evaluates the result R, if the result R is correct, the result R is output, if not, the iteration process is started, and in the iteration process, the large model Agent judges whether to rewrite the generated new question Q'and generate a new query statement.By means of the question query rewriting method and device, the question query rewriting capacity can be enhanced, the query result accuracy can be improved, and the query efficiency can be optimized.
Owner:STATE GRID JIANGSU ELECTRIC POWER CO LTD MARKETING SERVICE CENT +1

Large langauge model architecture to leverage public and private data

Aspects of the disclosure include methods and systems for an intelligent chat powered by a large language model that leverages both public and private data to answer user questions. An exemplary method includes receiving a user query including natural language input from a user and executing the user query against at least one public data source and at least one private data source. Queries executed against a public source are retrieved using public search indices and queries executed against a private data source are retrieved using user credentials. A query rewrite and a query context including the user query and retrieved information from the public and private data sources are input to a large language model. A response is received from the large language model that includes a natural language answer to the user query and a link to the retrieved information.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Historical context-based large language model user query rewriting system and method

The invention provides a big language model user query rewriting method and system based on historical context, and belongs to the technical field of artificial intelligence. The method comprises the following steps: firstly, collecting a data set containing user query and historical dialogues, redesigning a new instruction, taking a DeepSeek model as a query revisor, and further optimizing the preliminarily rewritten query to obtain a final query version; the method comprises the following steps: calling a DeepSeek model through an API (Application Program Interface), rewriting a query by utilizing the DeepSeek model under the guidance assistance of a designed instruction, optimizing an original query, generating a plurality of improved candidate queries, storing the improved candidate queries in a query pool, and then scoring all queries in the query pool by adopting a candidate query-context alignment scoring mechanism, and selecting the candidate query with the highest score as a preliminary optimization result. According to the method, the query rewriting frame based on the open source large model is constructed, so that the rewriting quality of user query is effectively improved, and the performance of information retrieval is improved.
Owner:CHINA UNIV OF MINING & TECH

Document retrieval query rewriting method and system based on large language model

The invention discloses a document retrieval query rewriting method and system based on a large language model, and the method comprises the steps: collecting a query rewriting data set, carrying out the correlation filtering and retrieval increment, and retaining a data sample highly related to a query rewriting task; an auxiliary task data set highly related to the query rewriting task is collected, and a multi-task SFT data set is constructed; constructing a self-supervised fine tuning model based on GPT-2, taking query as input, taking query rewriting as output, and training the self-supervised fine tuning model by using a multi-task SFT data set; a self-supervised fine tuning model is regarded as an intelligent agent, and target alignment is carried out based on reinforcement learning, so that the self-supervised fine tuning model better conforms to the user intention when generating query rewriting; a plurality of candidate rewrites are generated for each query using a beam search algorithm, a self-supervised trim model of target alignment is entered, and a set of related documents is retrieved. According to the method, the retrieval relevance is improved, and the user satisfaction is improved.
Owner:SUZHOU AEROSPACE INFORMATION RES INST

Retrieval problem optimization method based on multilayer knowledge base, medium and system

The invention relates to a retrieval problem optimization method, medium and system based on a multi-layer knowledge base, and the method comprises the steps: carrying out the level-to-level management of knowledge data, and constructing the multi-layer knowledge base; according to user query, retrieving the multi-layer knowledge base to generate an initial vector block set; performing first query rewriting on the query, and retrieving the multi-layer knowledge base again to generate an update vector block set; according to the source statistical result of the initial vector block set and the updated vector block set in the multi-layer data block, determining the strength direction of retrieval; and according to the strength direction of the retrieval, carrying out second query rewriting on the query, and outputting a query problem. Therefore, the intensity direction of the retrieval is positioned, and a query problem with both professionality and comprehensiveness can be generated. According to the method, through two rounds of optimization, the ambiguity of query is remarkably reduced, the accuracy and diversity of the generated content are enhanced, and a more efficient and more accurate solution is provided for application of the RAG system in complex tasks.
Owner:HUNAN AGRI UNIV

Query processing method and apparatus based on precomputation scenario

The present application provides a query processing method and apparatus based on a precomputation scenario. The method relates to a client, an optimization end, an execution end, and a database. The method comprises: an optimization end receives a query request sent by a client, and the client is used for generating a query request according to user requirements, and sending the query request to the optimization end; the optimization end reads metadata in a database according to the query request; the optimization end performs precomputation processing according to data in a data table to generate a first access constraint; the optimization end generates a query plan according to the first access constraint and a query rewriting type; and the optimization end sends the query plan to an execution end, and the execution end is used for feeding back, to the client, a query result generated after the query plan is executed. After precomputation processing is added for the access constraint, the amount of computation in a query execution process is reduced; and query performance is improved.
Owner:SHENZHEN INST OF COMPUTING SCI

Document retrieval method, system and equipment and medium

The invention relates to the technical field of natural language processing, can be applied to business system platforms of financial science and technology, medical health and the like, and discloses a document retrieval method, system, equipment and medium. Extracting semantic features of the text data and visual features of the image data, extracting time sequence features of the interaction log, carrying out cross-modal fusion on the semantic features, the visual features and the time sequence features to obtain fusion features, carrying out query rewriting on the text data according to the fusion features to obtain a query text, and sending the query text to the server. The method comprises the steps of obtaining a query text, performing document retrieval according to the query text to obtain a retrieval result set, determining the correlation between each retrieval result in the retrieval result set and the query text to obtain a correlation score set, and sorting the retrieval result set according to the correlation score set to obtain a final retrieval result. And the document retrieval accuracy is improved.
Owner:PING AN TECH (SHENZHEN) CO LTD

Dialogue method and device based on large language model

The invention discloses a dialogue method and device based on a big language model, which are applied to the field of natural language processing, and comprise the following steps: obtaining a query statement, reconstructing or modifying the query statement by utilizing a pre-trained big language model to obtain a target query statement, and retrieving the query target statement in a preset document by using the BM25 index to obtain a first retrieval result. And retrieving the query target statement in a preset document by using the dense vector index to obtain a second retrieval result. And retrieving the query target statement in a preset document by using the sparse encoder index to obtain a third retrieval result, and inputting each retrieval result into the large language model to obtain a reply statement. According to the method, deep semantic understanding of user query and efficient and accurate document retrieval are realized by utilizing a query rewriting technology and fusing dense vector indexes, sparse encoder indexes and a BM25 algorithm, so that the dialogue accuracy is improved, and the user experience is improved.
Owner:太保科技有限公司 +1

Database query optimization method and device based on large model and medium

The embodiment of the invention discloses a database query optimization method and device based on a large model and a medium, and relates to the technical field of databases. The method comprises the steps that under triggering of a current query request, a query SQL text of the current query request is collected in real time, and real-time environment data of a current execution engine is obtained; vectorizing the query SQL text and the real-time environment data to determine a query reference vector; the query reference vector is input into a pre-trained space-time attention model, performance bottleneck positioning data for the current query is determined, a query optimization strategy is determined based on the performance bottleneck positioning data, and the query optimization strategy comprises an index optimization strategy and a query rewriting strategy; and optimizing the current query request according to the query optimization strategy, determining optimized query information, performing rewriting security verification on the optimized query information in a preset database copy environment, and executing database query based on the optimized query information after the rewriting security verification is passed.
Owner:INSPUR ZHUOSHU BIG DATA IND DEV CO LTD

Query processing method and apparatus based on multi-table join

The present application provides a query processing method and apparatus based on multi-table join. The method relates to a user end, an optimization end, an execution end, and a database. The method comprises: when the optimization end receives a query request sent by the user end, the optimization end invokes corresponding metadata from the database on the basis of the query request; the optimization end generates a first access constraint on the basis of a data table set and preset cross-table semantics; the optimization end generates a query plan on the basis of the first access constraint and preset query rewriting types, wherein the query rewriting types comprise projection matching rewriting and Join rewriting; the optimization end sends the query plan to the execution end; the execution end is used for feeding back a query result, which is generated by executing the query plan, to the user end. The present application improves a cross-table data dependency capability, reduces the read-write overhead and calculation amount of scanning during query, reduces the maintenance cost, and supports real-time updating of data.
Owner:SHENZHEN INST OF COMPUTING SCI

Data processing method, electronic equipment, computer storage medium and program product

The embodiment of the invention provides a data processing method, electronic equipment, a computer storage medium and a program product. The data processing method comprises the steps of obtaining to-be-processed input data; performing intention recognition and query rewriting on the input data through a first model to obtain task data of the target task; wherein the first model is obtained by performing fine tuning training on a first generative basic model according to training data; and according to the task data of the target task, calling the tool set or calling the second generative basic model for processing to obtain output data of the target task. The first model has the generalization ability of performing intention recognition and query rewriting on natural language data, and also has the ability of processing user input data in a specific application scene. The target task is accurately identified through the first model, and the output data of the target task can be obtained through the tool set in the application scene or the universal second generative basic model, so that the user task is efficiently completed.
Owner:HANGZHOU DUANQU NETWORK MEDIA TECH

Retrieval System Pipeline For Retrieval-Augmented Generation

In some embodiments, a system transforms an initial user query into a first rewritten query using a first query rewriting algorithm, executes a search of a data repository using the first rewritten query to generate a set of results, executes a chunking process on the set of results to generate chunks of data, transforms the initial user query into a second rewritten query using a second query rewriting algorithm, generates corresponding embeddings for the second rewritten query and the chunks of data using a reranking model, selects a subset of the chunks of data based on a comparison of the embeddings for the chunks of data and the embedding for the initial user query, generates a prompt based on the initial user query and the subset of the chunks of data, submits the prompt to a Large Language Model (LLM) to generate a response to the initial user query.
Owner:ORACLE INT CORP

Autonomous controllable heterogeneous data driven agent collaborative optimization system and method

The invention discloses an autonomous controllable heterogeneous data driven agent collaborative optimization system and method, and the method comprises the steps: constructing a private domain knowledge database containing knowledge information of an interested field through deploying an inference engine and a functional component; the intelligent agent development and management collaborative platform deployment is used for developing a multi-task intelligent agent based on cooperation of a functional component and an inference engine, and the multi-task intelligent agent is sequentially subjected to iterative questions and answers of intention recognition, query rewriting, dynamic planning, retrieval recall coarse screening and secondary fine arrangement of coarse screening results on the basis of a private domain knowledge database. Therefore, collaborative optimization of the multi-task agent based on autonomous controllable heterogeneous data driving is realized. According to the method, an agent development and management collaboration platform is constructed based on a private domain knowledge database, full-link autonomous controllability of a multi-task agent is achieved, domain knowledge and user feedback pairs are introduced to conduct multi-round iterative problem retrieval, retrieval results are collaboratively optimized, and the problem retrieval efficiency and retrieval precision are remarkably improved.
Owner:ZHEJIANG JUHUA INFORMATION TECH CO LTD +1

Large language model architecture to leverage public and private data

Aspects of the disclosure include methods and systems for an intelligent chat powered by a large language model that leverages both public and private data to answer user questions. An exemplary method includes receiving a user query including natural language input from a user and executing the user query against at least one public data source and at least one private data source. Queries executed against a public source are retrieved using public search indices and queries executed against a private data source are retrieved using user credentials. A query rewrite and a query context including the user query and retrieved information from the public and private data sources are input to a large language model. A response is received from the large language model that includes a natural language answer to the user query and a link to the retrieved information.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Join specific materialized view query rewrite for queries using unified dimension tables

A method and one or more non-transitory storage media for materialized view-based query rewrite are provided. A plurality of materialized views is created based on a fact table and a dimension table. Each materialized view is based on a join between the dimension table and the fact table based on a respective foreign key column of the fact table. A database management system executes a query against the fact table and the dimension table, the query requiring one or more joins between the dimension table and the fact table based on one or more foreign key columns. For each given join of the one or more joins, responsive to the given join satisfying one or more rewrite criteria, the query is rewritten to replace the join between the dimension table and the fact table with a join between a respective materialized view for the given join and the fact table.
Owner:ORACLE INT CORP