US 12,475,149 B2
Database systems and methods for automated conversational responses
John Conway, Vancouver (CA)
Assigned to Salesforce, Inc.
Filed by Salesforce, Inc., San Francisco, CA (US)
Filed on Nov. 9, 2023, as Appl. No. 18/505,988.
Prior Publication US 2025/0156453 A1, May 15, 2025
Int. Cl. G06F 40/00 (2020.01); G06F 16/3329 (2025.01); G06F 16/338 (2019.01); G06F 40/30 (2020.01)
CPC G06F 16/3329 (2019.01) [G06F 16/338 (2019.01); G06F 40/30 (2020.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
determining a numerical representation of a conversational input to a user interface;
identifying, based at least in part on the numerical representation of the conversational input, a semantically similar subset of prior conversational inputs previously sent to a large language model-based (LLM-based) service from a plurality of prior conversational inputs having associated conversational responses maintained at a database system, wherein a respective prior conversational input of the semantically similar subset has a respective conversational response generated by the LLM-based service responsive to the respective prior conversational input associated therewith, resulting an associated subset of prior conversational responses provided by the LLM-based service responsive to the semantically similar subset of prior conversational inputs;
determining numerical representations of the respective conversational responses of the associated subset of prior conversational responses provided by the LLM-based service; and
when the numerical representations of the respective conversational responses satisfy a semantic similarity threshold for homogeneity across the prior conversational responses provided by the LLM-based service:
automatically generating a synthetic LLM response to the conversational input based at least in part on one or more prior conversational responses of the associated subset of prior conversational responses provided by the LLM-based service responsive to the semantically similar subset of prior conversational inputs; and
automatically providing the synthetic LLM response to the user interface responsive to the conversational input.