Secure retrieval-augmented generation using chunk-level vector filtering and validation
Патент · US B2
Полный текст
The systems and methods disclosed herein generate responses using data retrieved in accordance with chunk-level access controls. An output generation request is received via a computing device and includes (1) an input with instructions to generate an output and (2) an access control metadata set indicating the degree of access to a content set within a vector database for the user associated with the request. A vector representation set of data chunks that are associated with generating the output is selected by comparing the vector representation of the input with corresponding vector representations of data chunks in the content set. Using a first artificial intelligence (AI) model set, the data chunk set is filtered to generate a subset in accordance with the access control metadata set. A second AI model set (same or different) is used to generate a response to the input based on the data chunk subset.