Generalized validation framework for retrieval augmented generation (rag)
AssigneeIntuit Inc.
InventorsAnkita SINHA, Karelia Del Carmen PENA-PENA
Life of this patent
Estimating the term…
Loading patent…
AssigneeIntuit Inc.
InventorsAnkita SINHA, Karelia Del Carmen PENA-PENA
Estimating the term…
The method involves a process to validate text generated by a RAG system. The method receives text that the RAG system has rephrased in response to a query. The method finds and extracts relevant sections from a source document that match the rephrased text. Both the rephrased text and the source sections are transformed into semantic vectors using NLP techniques. A sliding window technique is applied to the source document vectors, moving sentence by sentence to calculate a semantic similarity score with the rephrased text at each step. Sentences are ranked by similarity, and the ones with the closest match are identified. If the similarity score is above a set threshold, the rephrased text is deemed semantically congruent and validated.
A method of validating a Retrieval Augmented Generation (RAG) system, comprising:
A system of validating a Retrieval Augmented Generation (RAG) system, the system comprising a processor configured to:
Dependencies are inferred from the claim text.