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

Claim 0:
1. A method comprising:
receiving a query request via a communication interface;
retrieving a plurality of records from a database system based on the query request, the plurality of records corresponding with a plurality of document portions, each of the document portions being selected from a respective document of a plurality of documents;
determining a first subset of the plurality of records by applying textual analysis of the plurality of document portions based on the query request, wherein determining the first subset of the plurality of records comprises: transmitting to a remote text generation system an input query generation prompt including query generation text determined based on the query request, receiving from the remote text generation system a completed query generation prompt including a text filter generated by a text generation model implemented at the remote text generation system, applying the text filter to the plurality of records, transmitting to the remote text generation system a relevance prompt including the text filter and one or more of the plurality of document portions, and receiving from the remote text generation system a completed relevance prompt including an indication of one or more of the first subset of the plurality of records,
determining a response message to the query request, the response message including an answer to the query request in natural language text generated based on the first subset of the plurality of records; and
transmitting the response message via the communication interface.