Large language model interactions via intelligent prompt enrichment module and updated profile
Патент · US B2
Полный текст
Various embodiments of the technology described programmatically access a user query intended for a Large Language Model (LLM), analyze the user query, and determine prompt-enriching information that is combined with the user query to generate an enriched user query that is ultimately communicated to the LLM. In this manner, additional prompt-enriching information or context is added to the user query before being communicated to the LLM so that the additional prompt-enriching information, along with the user query, can be tokenized to better guide the LLM to a more accurate answer without modifying weights, parameters, or training of the LLM. Certain embodiments have the technical effect of improved accuracy relative to existing approaches by enriching user queries with prompt-enriching information to generate an enriched user query that is passed to the LLM. Based on the enriched user query, certain embodiments reduce the likelihood of hallucinations present in the LLM response.