US 12,339,917 B2
Method and system for generating user role-specific responses through Large Language Models
Syed Ahmed, Bangalore (IN); and Ritarshi Chakraborty, Bangalore (IN)
Assigned to Infosys Limited, Bangalore (IN)
Filed by INFOSYS LIMITED, Bangalore (IN)
Filed on Feb. 23, 2024, as Appl. No. 18/586,042.
Claims priority of application No. 202341060054 (IN), filed on Sep. 6, 2023.
Prior Publication US 2025/0077595 A1, Mar. 6, 2025
Int. Cl. G06F 16/9535 (2019.01); G06F 16/9538 (2019.01)
CPC G06F 16/9535 (2019.01) [G06F 16/9538 (2019.01)] 18 Claims
OG exemplary drawing
 
1. A method for generating user role-specific responses through Large Language Models (LLMs), the method comprising:
receiving, by a computing device, source data comprising user role data corresponding to a plurality of user roles from one or more data sources;
generating, by the computing device, one or more data chunks from the user role data;
transforming, by the computing device, the one or more data chunks into a plurality of vector embeddings;
for each user role of a plurality of user roles, associating, by the computing device, one or more vector embeddings of the plurality of vector embeddings with other vector embeddings of the plurality of vector embeddings to obtain a plurality of linked vector embeddings, wherein the one or more vector embeddings are associated with the other vector embeddings using a plurality of links, and wherein the association is based on the user role;
receiving, by the computing device, a user query from a user account, wherein the user account is associated with the user role from the plurality of user roles;
based on the user role, combining, by the computing device, the user query with contextual information corresponding to the user query to obtain a combined query, wherein the contextual information is based on one or more linked vector embeddings from the plurality of linked vector embeddings;
inputting, by the computing device, the combined query to an LLM;
generating, by the computing device, a user role-specific response corresponding to the combined query through the LLM; and
rendering, by the computing device, the user role-specific response to a display of a user device associated with the user account.