Retrieval system pipeline for retrieval-augmented generation
AssigneeOracle International Corporation
InventorsMengqing Guo, Xin Zhang, Zheng Wang, Yazhe Hu, Zhonghai Deng, Tao Sheng
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorsMengqing Guo, Xin Zhang, Zheng Wang, Yazhe Hu, Zhonghai Deng, Tao Sheng
Estimating the term…
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.
A method performed by at least one device including a hardware processor, the method comprising:
One or more non-transitory computer readable media comprising instructions which, when executed by one or more hardware processors, cause performance of operations comprising:
A system comprising:
Dependencies are inferred from the claim text.