18911815. LAYERED DATABASE QUERIES FOR CONTEXT INJECTION (Insight Direct USA, Inc.)
LAYERED DATABASE QUERIES FOR CONTEXT INJECTION
Organization Name
Inventor(s)
David Mccurdy of Centennial CO US
Jason Rader of Jacksonville FL US
LAYERED DATABASE QUERIES FOR CONTEXT INJECTION
This abstract first appeared for US patent application 18911815 titled 'LAYERED DATABASE QUERIES FOR CONTEXT INJECTION
Original Abstract Submitted
A method includes receiving a natural-language prompt from a user and a user identifier corresponding to the user, querying a first database with the user identifier to retrieve first information, generating a vector embedding representative of the first information and the natural-language prompt, and querying a second database using the vector embedding to retrieve second information. The second database is a vector database comprising a plurality of vectors, each vector of the plurality of vectors representative of a text segment of a plurality of text segments, and the second information comprises at least one text segment of the plurality of text segment. The method further includes generating, by a language model executed by the processor, a natural-language response text responsive to the user query based on the natural-language prompt, the first information, and the second information.