Executing queries with hallucination safeguards
AssigneeSnowflake Inc.
InventorsSarim Abbas, Daniel Fernando Campos, Muhua Ngan, Gaurav Nuti, Himabindu Pucha, Danmei Xu
Life of this patent
Estimating the term…
Loading patent…
AssigneeSnowflake Inc.
InventorsSarim Abbas, Daniel Fernando Campos, Muhua Ngan, Gaurav Nuti, Himabindu Pucha, Danmei Xu
Estimating the term…
The described system aims to reduce or eliminate inaccuracies and hallucinations in responses generated by a machine learning model when processing user queries. The data platform parses and categorizes the text within data files to create structured textual representations. The user submits multiple prompts which are collectively assessed to refine and modify the initial queries. The modified query is used to identifying segments of data files that are most relevant to the query. These relevant portions are then compiled into a Retrieval-Augmented Generation (RAG) context block. This RAG context block is fed into a prompt response machine learning model, which processes the enriched information to generate a well-informed and accurate response to the user's query. Finally, this response is displayed back to the user through the chat interface, completing a cycle that enhances the reliability and relevance of machine-generated answers.
A system comprising:
A method performed by at least one hardware processor, the method comprising:
Computer-storage medium comprising instructions that, when executed by one or more processors of a machine, configure the machine to perform operations comprising:
Dependencies are inferred from the claim text.