Patent ID: 11861321
Assignee: CASETEXT, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 19:
20. One or more non-transitory computer readable media having instructions stored thereon for performing a method, the method comprising:
determining a regular expression prompt via the hardware processor by combining a regular expression prompt template with input text from an input document, the regular expression prompt template including a natural language instruction to identify one or more regular expressions from the input text, the regular expression prompt template also including one or more fillable portions designated for filling with the input text;
transmitting the regular expression prompt to a large language model for evaluation via a model interface interacting with the communication interface;
identifying the one or more regular expressions based on a response received from the large language model;
determining a plurality of disaggregated text portions by applying the one or more regular expressions to subdivide the input text into the disaggregated text portions;
determining a structured document that includes the disaggregated text portions and structural information for the disaggregated text portions, the structural information characterizing a hierarchical relationship among the disaggregated text portions;
receiving a query identifying one or more characteristics for querying the structured document; and
transmitting via a communication interface a query response that includes a subset of the input text selected based on evaluating the query based at least in part on the structural information included in the structured document.