| CPC G06F 16/3329 (2019.01) | 19 Claims |

|
1. A system, comprising:
one or more processors configured to:
receive a question;
identify a type of the question;
construct a prompt to provide to a generative model based on the identified type of the question; and
provide output based on a generative response provided by the generative model, wherein the output further comprises a citation, wherein the citation is based at least in part on one or more contextual passages, and wherein:
the one or more contextual passages are determined at least in part by conducting a search of a passage store using an answer and an explanation to the question, wherein the passage store comprises a vector database including passage embedding vectors, and wherein the search of the vector database is conducted based at least in part on generating of an answer-explanation embedding vector representing text of the answer and the explanation to the question; and
providing the output comprises including, in the output, links to internal documents from which the one or more contextual passages were extracted; and
a memory coupled to the one or more processors and configured to provide the one or more processors with instructions.
|