Retrieval-augmented generation processing using dynamically selected number of document chunks
AssigneeDell Products L.P.
InventorsRamakanth Kanagovi, Gaurav Bhattacharjee, Ravi Shukla
Life of this patent
Estimating the term…
Loading patent…
AssigneeDell Products L.P.
InventorsRamakanth Kanagovi, Gaurav Bhattacharjee, Ravi Shukla
Estimating the term…
An apparatus comprises at least one processing device configured to obtain a query comprising search text and a context identifying documents to be searched using the search text, to generate document chunks by parsing the documents, to determine a degree of specificity of the search text, and to determine a number of the document chunks to select for retrieval-augmented generation processing based on the determined degree of specificity. The at least one processing device is also configured to select a subset of the document chunks based on similarity between the document chunks and the search text, the subset including the determined number of document chunks. The at least one processing device is further configured to generate and apply a prompt including the selected subset of the document chunks to a machine learning system to generate an output, and to provide an answer to the query based on the output.
An apparatus comprising:
A computer program product comprising a non-transitory processor-readable storage medium having stored therein program code of one or more software programs, wherein the program code when executed by at least one processing device causes the at least one processing device:
A method comprising:
Dependencies are inferred from the claim text.