US patent US12775854
Content matching attribution based on a content recommendation from a generative AI model
Abstract
Techniques that provide source metadata associated with code recommendations generated by an automation controller are described. A training data set comprising queries, code recommendations and source metadata associated with each of the code recommendations may be stripped of the source metadata and encoded by an NLP model to generate vector representations of each code recommendation. Each vector representation is stored in an index in association with the source metadata corresponding to the underlying code recommendation. In response to receiving a query, the query is processed using an inference model to generate a second code recommendation, which is encoded using the NLP model to generate a second vector representing the second code recommendation. The second vector is compared to the index to identify the source metadata corresponding to the second code recommendation. The second code recommendation and corresponding source metadata are provided via an interface of the automation controller.