/Method And System For Optimizing Use Of Retrieval Augmented Generation Pipelines In Generative Artificial Intelligence Applications
Abstract

Systems and methods for cross-domain structural pattern matching in a retrieval augmented generation system, including analyzing documents across multiple domains using domain-specific analyzers to identify functional components within each domain, each functional component including a function representing a domain-specific task or process, an event representing an outcome of the function, and a way representing an implementation method, encoding structural relationships between the functional components in a graph database that captures hierarchical dependencies between functions, events, and ways, computing structural similarities between a target query and encoded functional components, and retrieving functionally similar functional components having a structural similarity that exceeds a predetermined threshold for augmenting generation of a response to the target query by a large language model.

Full Text

What is claimed is:

Systems and methods for cross-domain structural pattern matching in a retrieval augmented generation system, including analyzing documents across multiple domains using domain-specific analyzers to identify functional components within each domain, each functional component including a function representing a domain-specific task or process, an event representing an outcome of the function, and a way representing an implementation method, encoding structural relationships between the functional components in a graph database that captures hierarchical dependencies between functions, events, and ways, computing structural similarities between a target query and encoded functional components, and retrieving functionally similar functional components having a structural similarity that exceeds a predetermined threshold for augmenting generation of a response to the target query by a large language model.
Timeline
Filed
04/13/2026
Published
08/13/2026
Granted
Not Available
IPC Codes(2)
G06F 16/3329:Natural language query formulation
G06F 40/284:Lexical analysis, e.g. tokenisation or collocates