IP Library › Granted Patent US 12,541,544
Granted Patent B2
US 12,541,544 · App. 18/620,601 · Granted Feb 3, 2026

Generating a response for a communication session based on previous conversation content using a large language model

Inventor: Dino Paul D'Agostino (Richmond Hill, CA)
Assignee: The Toronto-Dominion Bank
G06F16/3347G06F16/338
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,541,544
App. No.
18/620,601
Granted
Feb 3, 2026
Kind
B2
Abstract

An example operation may include one or more of receiving interaction content from a communication session between a source device and a service provider device of a service provider, identifying a search criteria from the interaction content, retrieving a subset of vectors from a plurality of vectors stored in a vector database based on the search criteria of the interaction content, wherein the subset of vectors includes previous interaction content with the service provider, generating a response for the communication session based on execution of a large language model (LLM) on the subset of vectors, and outputting the response to at least one of the source device and the service provider device during the communication session.

Claims (40)

1 . An apparatus comprising:

a memory; and

a processor coupled to the memory, the processor configured to:

train an artificial intelligence (AI) model to identify contextual attributes from communication content and embed the contextual attributes into vectors;

receive interaction content from a communication session between a first device and a second device,

identify contextual attributes from the communication session based on execution of the AI model on the interaction content and embed the contextual attributes into metadata of a vector,

identify at least one vector stored in a vector database that includes corresponding metadata that contains the contextual attributes,

generate a response based on execution of a large language model (LLM) on the at least one vector, and

output the response to the first device during the communication session.

2 . The apparatus of claim 1 , wherein the processor is further configured to generate a prompt which includes the at least one vector and input the prompt to the LLM during the execution of the LLM.

3 . The apparatus of claim 1 , wherein the processor is further configured to embed the interaction content into the vector and identify the at least one vector based on a similarity between the vector and a plurality of vectors in vector space.

4 . The apparatus of claim 1 , wherein the processor is configured to identify a tone and a speech rate of the communication session based on execution of an additional LLM on the interaction content, and embed the tone and the speech rate into the at least one vector.

5 . The apparatus of claim 1 , wherein the AI model comprises a multi-headed attention mechanism corresponding to a plurality of contextual attributes and the processor is configured to identify a plurality of values for the plurality of contextual attributes from the interaction content based on the multi-headed attention mechanism.

6 . The apparatus of claim 1 , wherein the processor is configured to simultaneously perform the communication session and execute the LLM based on real-time interaction content from the communication session.

7 . A method comprising:

training an artificial intelligence (AI) model to identify contextual attributes from communication content and embed the contextual attributes into vectors;

receiving interaction content from a communication session between a first device and a second device;

identifying contextual attributes from the communication session based on execution of the AI model on the interaction content and embedding the contextual attributes into metadata of a vector;

identifying at least one vector stored in a vector database that includes corresponding metadata that contains the contextual attributes;

generating a response based on execution of a large language model (LLM) on the at least one vector; and

outputting the response to the first device during the communication session.

8 . The method of claim 7 , wherein the method further comprises generating a prompt which includes the at least one vector and the generating comprises inputting the prompt to the LLM during the execution of the LLM.

9 . The method of claim 8 , wherein the method further comprises generating additional text and adding the additional text to the prompt prior to inputting the prompt to the LLM during the execution of the LLM.

10 . The method of claim 7 , wherein the method further comprises embedding the interaction content into the vector and identifying the at least one vector based on a similarity between the vector and a plurality of vectors in vector space.

11 . The method of claim 7 , wherein the identifying comprises identifying a tone and a speech rate of the communication session based on execution of an additional LLM on the interaction content, and embedding the tone and the speech rate into the at least one vector.

12 . The method of claim 7 , wherein the AI model comprises a multi-headed attention mechanism corresponding to a plurality of contextual attributes and the identifying comprises identifying a plurality of values for the plurality of contextual attributes from the interaction content based on the multi-headed attention mechanism.

13 . The method of claim 7 , wherein the generating the response comprises simultaneously performing the communication session and executing the LLM based on real-time interaction content from the communication session.

14 . A computer-readable storage medium comprising instructions stored therein which when executed by a processor cause the processor to perform:

training an artificial intelligence (AI) model to identify contextual attributes from communication content and embed the contextual attributes into vectors;

receiving interaction content from a communication session between a first device and a second device;

identifying contextual attributes from the communication session based on execution of the AI model on the interaction content and embedding the contextual attributes into metadata of a vector;

identifying at least one vector from among a plurality of vectors stored in a vector database which includes corresponding metadata that contains the contextual attributes;

generating a response based on execution of a large language model (LLM) on the at least one vector; and

outputting the response to the first device during the communication session.

15 . The computer-readable storage medium of claim 14 , wherein the processor is further configured to perform generating a prompt which includes the at least one vector and the generating comprises inputting the prompt to the LLM during the execution of the LLM.

16 . The computer-readable storage medium of claim 15 , wherein the processor is further configured to perform generating additional text and adding the additional text to the prompt prior to inputting the prompt to the LLM during the execution of the LLM.

17 . The computer-readable storage medium of claim 14 , wherein the processor is further configured to perform embedding the interaction content into a search vector and identifying the at least one vector based on a similarity between the search vector and the plurality of vectors in vector space.

18 . The computer-readable storage medium of claim 14 , wherein the identifying comprises identifying a tone and a speech rate of the communication session based on execution of an additional LLM on the interaction content, and embedding the tone and the speech rate into the at least one vector.

19 . The computer-readable storage medium of claim 14 , wherein the AI model comprises a multi-headed attention mechanism corresponding to a plurality of contextual attributes and the identifying comprises identifying a plurality of values for the plurality of contextual attributes from the interaction content based on the multi-headed attention mechanism.

20 . The apparatus of claim 1 , wherein the processor is configured to identify a cluster of vectors stored within the vector database that include a shared contextual label identifying the contextual attributes, and generate the response based on the cluster of vectors.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 27, 2025
From: D'AGOSTINO, DINO PAUL
To: THE TORONTO-DOMINION BANK
Reel/Frame 072646/0898 →
Continuity (1)
Related Publication 20250307290A1 · Oct 2, 2025
References Cited (238)
US 10025775B2 · Nowson et al. · 2018 [cited by applicant]
US 10033860B2 · Rajanna · 2018 [cited by applicant]
US 10147427B1 · Johnson et al. · 2018 [cited by applicant]
US 10311161B2 · Cypher et al. · 2019 [cited by applicant]
US 10339931B2 · Tseretopoulos et al. · 2019 [cited by applicant]
US 10360303B2 · Volkovs et al. · 2019 [cited by applicant]
US 10362978B2 · Des Jardins et al. · 2019 [cited by applicant]
US 10418035B1 · Johnson et al. · 2019 [cited by applicant]
US 10460748B2 · Tseretopoulos et al. · 2019 [cited by applicant]
US 10482675B1 · Sutter et al. · 2019 [cited by applicant]
US 10509864B2 · Kang et al. · 2019 [cited by applicant]
US 10552505B2 · Ezepov · 2020 [cited by applicant]
US 10565533B2 · Keyngnaert · 2020 [cited by examiner]
US 10659400B2 · Moon et al. · 2020 [cited by applicant]
US 10706635B2 · Sutter et al. · 2020 [cited by applicant]
US 10728259B2 · McCarter et al. · 2020 [cited by applicant]
US 10776619B2 · Collinson et al. · 2020 [cited by applicant]
US 10782986B2 · Martin · 2020 [cited by applicant]
US 10795923B2 · Jayaraman et al. · 2020 [cited by applicant]
US 10812937B2 · Mittal et al. · 2020 [cited by applicant]
US 10824941B2 · Volkovs et al. · 2020 [cited by applicant]
US 10849542B2 · Des Jardins et al. · 2020 [cited by applicant]
US 10878816B2 · Tseretopoulos et al. · 2020 [cited by applicant]
US 10902220B2 · Lozon et al. · 2021 [cited by applicant]
US 10922665B2 · Miller et al. · 2021 [cited by applicant]
US 10943605B2 · Tseretopoulos et al. · 2021 [cited by applicant]
US 11004187B2 · Kuruvilla et al. · 2021 [cited by applicant]
US 11017028B2 · Dunjic et al. · 2021 [cited by applicant]
US 11030415B2 · Volkovs et al. · 2021 [cited by applicant]
US 11030625B1 · Fisi et al. · 2021 [cited by applicant]
US 11061638B2 · Lam · 2021 [cited by applicant]
US 11070448B2 · Miller et al. · 2021 [cited by applicant]
US 11080481B2 · Zhang · 2021 [cited by applicant]
US 11080605B1 · Yarbrough et al. · 2021 [cited by applicant]
US 11087314B2 · Gandhi et al. · 2021 [cited by applicant]
US 11100168B2 · Miller et al. · 2021 [cited by applicant]
US 11138424B2 · Denk et al. · 2021 [cited by applicant]
US 11144921B2 · Dunjic et al. · 2021 [cited by applicant]
US 11144998B2 · Kuruvilla et al. · 2021 [cited by applicant]
US 11146865B2 · Gattis et al. · 2021 [cited by applicant]
US 11151328B2 · Prasad et al. · 2021 [cited by applicant]
US 11182860B2 · Kuruvilla et al. · 2021 [cited by applicant]
US 11200328B2 · Shpurov et al. · 2021 [cited by applicant]
US 11200411B2 · Rizvi et al. · 2021 [cited by applicant]
US 11222286B2 · Choe et al. · 2022 [cited by applicant]
US 11233897B1 · Gardner et al. · 2022 [cited by applicant]
US 11244226B2 · Munkberg et al. · 2022 [cited by applicant]
US 11276257B2 · Moghtadai et al. · 2022 [cited by applicant]
US 11294891B2 · Aggarwal et al. · 2022 [cited by applicant]
US 11334574B2 · Caputo et al. · 2022 [cited by applicant]
US 11341962B2 · Poltorak · 2022 [cited by applicant]
US 11354442B2 · Haldenby et al. · 2022 [cited by applicant]
US 11361566B2 · Collinson et al. · 2022 [cited by applicant]
US 11367435B2 · Poltorak · 2022 [cited by applicant]
US 11373229B2 · Tseretopoulos et al. · 2022 [cited by applicant]
US 11379446B1 · Detmer et al. · 2022 [cited by applicant]
US 11392776B2 · Lozon et al. · 2022 [cited by applicant]
US 11393020B2 · Mathew et al. · 2022 [cited by applicant]
US 11394668B1 · Subbunarayanan et al. · 2022 [cited by applicant]
US 11397765B2 · Volkovs et al. · 2022 [cited by applicant]
US 11409811B2 · D'Agostino · 2022 [cited by applicant]
US 11411734B2 · Shpurov et al. · 2022 [cited by applicant]
US 11469878B2 · Shpurov et al. · 2022 [cited by applicant]
US 11470091B2 · McCarter et al. · 2022 [cited by applicant]
US 11475059B2 · Liu et al. · 2022 [cited by applicant]
US 11475251B2 · Morin et al. · 2022 [cited by applicant]
US 11477265B2 · McPhee et al. · 2022 [cited by applicant]
US 11507622B2 · Grebenisan et al. · 2022 [cited by applicant]
US 11507868B2 · Kwong et al. · 2022 [cited by applicant]
US 11538041B1 · Fisi et al. · 2022 [cited by applicant]
US 11570302B1 · Cha et al. · 2023 [cited by applicant]
US 11580762B2 · Rizvi et al. · 2023 [cited by applicant]
US 11580968B1 · Gupta et al. · 2023 [cited by applicant]
US 11604899B2 · Haldenby et al. · 2023 [cited by applicant]
US 11620741B2 · Kuruvilla et al. · 2023 [cited by applicant]
US 11632311B2 · Miller et al. · 2023 [cited by applicant]
US 11636850B2 · Iyer · 2023 [cited by applicant]
US 11651107B2 · Pasupuleti et al. · 2023 [cited by applicant]
US 11663488B2 · Volkovs et al. · 2023 [cited by applicant]
US 11687995B2 · Tseretopoulos et al. · 2023 [cited by applicant]
US 11689484B2 · Moon et al. · 2023 [cited by applicant]
US 11698922B2 · Pedersen · 2023 [cited by applicant]
US 11699039B2 · Somech et al. · 2023 [cited by applicant]
US 11704782B2 · Wakim et al. · 2023 [cited by applicant]
US 11741305B2 · Skaljin et al. · 2023 [cited by applicant]
US 11743210B2 · Moon et al. · 2023 [cited by applicant]
US 11748400B2 · Volkovs et al. · 2023 [cited by applicant]
US 11755641B2 · Hsiao · 2023 [cited by applicant]
US 11782935B2 · Caputo et al. · 2023 [cited by applicant]
US 11789909B2 · Grebenisan et al. · 2023 [cited by applicant]
US 11790012B2 · D'Agostino · 2023 [cited by applicant]
US 11790354B2 · Gandhi et al. · 2023 [cited by applicant]
US 11809486B2 · Liu et al. · 2023 [cited by applicant]
US 11809577B2 · Begg et al. · 2023 [cited by applicant]
US 11829413B1 · Hao et al. · 2023 [cited by applicant]
US 11842252B2 · Kuang et al. · 2023 [cited by applicant]
US 11886764B2 · Lam · 2024 [cited by applicant]
US 11907674B1 · Akerlund et al. · 2024 [cited by applicant]
US 11928112B2 · Dunjic et al. · 2024 [cited by applicant]
US 11941525B2 · Morin et al. · 2024 [cited by applicant]
US 11966491B2 · D'Agostino · 2024 [cited by applicant]
US 11978085B2 · Rai et al. · 2024 [cited by applicant]
US 11978090B2 · Navarro et al. · 2024 [cited by applicant]
US 11995121B2 · Volkovs et al. · 2024 [cited by applicant]
US 12008315B2 · Miller et al. · 2024 [cited by applicant]
US 12021874B2 · Dunjic et al. · 2024 [cited by applicant]
US 12039535B2 · Dunjic et al. · 2024 [cited by applicant]
US 12052363B2 · Shpurov et al. · 2024 [cited by applicant]
US 12061652B2 · Miller et al. · 2024 [cited by applicant]
US 12067130B2 · Shpurov et al. · 2024 [cited by applicant]
US 12067580B2 · Jeske et al. · 2024 [cited by applicant]
US 12079351B2 · Begg et al. · 2024 [cited by applicant]
US 12106220B2 · Volkovs et al. · 2024 [cited by applicant]
US 12111793B2 · Grebenisan et al. · 2024 [cited by applicant]
US 12124925B2 · Rho et al. · 2024 [cited by applicant]
US 12136079B2 · Jones et al. · 2024 [cited by applicant]
US 12164664B1 · Dupont · 2024 [cited by examiner]
US 12248974B1 · Gates · 2025 [cited by examiner]
US 12353456B2 · Banda · 2025 [cited by examiner]
US 20120110009A1 · Kraft · 2012 [cited by examiner]
US 20170017897A1 · Bugay · 2017 [cited by examiner]
US 20170235848A1 · Van Dusen · 2017 [cited by examiner]
US 20180268818A1 · Schoenmackers et al. · 2018 [cited by applicant]
US 20190189120A1 · Sohn et al. · 2019 [cited by applicant]
US 20190205402A1 · Sernau · 2019 [cited by examiner]
US 20200058068A1 · Gandhi et al. · 2020 [cited by applicant]
US 20200064986A1 · Huang · 2020 [cited by applicant]
US 20210027160A1 · Volkovs et al. · 2021 [cited by applicant]
US 20210037040A1 · Aleks et al. · 2021 [cited by applicant]
US 20210089539A1 · Li et al. · 2021 [cited by applicant]
US 20210117893A1 · Sohum · 2021 [cited by examiner]
US 20210232950A1 · Kono · 2021 [cited by applicant]
US 20210264461A1 · Fam · 2021 [cited by applicant]
US 20210352176A1 · Van Den Dungen et al. · 2021 [cited by applicant]
US 20210406978A1 · Subramanian · 2021 [cited by examiner]
US 20210407016A1 · Kuruvilla et al. · 2021 [cited by applicant]
US 20220005121A1 · Hayward · 2022 [cited by examiner]
US 20220058489A1 · Volkovs et al. · 2022 [cited by applicant]
US 20220108069A1 · Lee · 2022 [cited by applicant]
US 20220157094A1 · Moghtadai et al. · 2022 [cited by applicant]
US 20220172083A1 · Wu et al. · 2022 [cited by applicant]
US 20220179894A1 · Liu · 2022 [cited by examiner]
US 20220188705A1 · Davoodi et al. · 2022 [cited by applicant]
US 20220198411A1 · Jones et al. · 2022 [cited by applicant]
US 20220198445A1 · Jones et al. · 2022 [cited by applicant]
US 20220198486A1 · Gin · 2022 [cited by examiner]
US 20220207295A1 · Stanevich et al. · 2022 [cited by applicant]
US 20220207430A1 · Dickie et al. · 2022 [cited by applicant]
US 20220207432A1 · Whelan et al. · 2022 [cited by applicant]
US 20220207606A1 · Dickie et al. · 2022 [cited by applicant]
US 20220253900A1 · Mardikar · 2022 [cited by applicant]
US 20220270155A1 · Volkovs et al. · 2022 [cited by applicant]
US 20220277213A1 · Braviner et al. · 2022 [cited by applicant]
US 20220277227A1 · Yu et al. · 2022 [cited by applicant]
US 20220277323A1 · Whelan et al. · 2022 [cited by applicant]
US 20220300903A1 · Huang et al. · 2022 [cited by applicant]
US 20220309573A1 · Mathew et al. · 2022 [cited by applicant]
US 20220318573A1 · Smith et al. · 2022 [cited by applicant]
US 20220318617A1 · Wong et al. · 2022 [cited by applicant]
US 20220327397A1 · Braviner et al. · 2022 [cited by applicant]
US 20220327430A1 · Zuberi et al. · 2022 [cited by applicant]
US 20220327431A1 · Braviner et al. · 2022 [cited by applicant]
US 20220327432A1 · Gutierrez Bugarin et al. · 2022 [cited by applicant]
US 20220327625A1 · Leung et al. · 2022 [cited by applicant]
US 20220335718A1 · Ma et al. · 2022 [cited by applicant]
US 20220343422A1 · Zuberi et al. · 2022 [cited by applicant]
US 20220383313A1 · Jones et al. · 2022 [cited by applicant]
US 20220414495A1 · Stanevich et al. · 2022 [cited by applicant]
US 20230006809A1 · Shpurov et al. · 2023 [cited by applicant]
US 20230007075A1 · McPhee et al. · 2023 [cited by applicant]
US 20230011451A1 · Lu · 2023 [cited by applicant]
US 20230048437A1 · Karbasi et al. · 2023 [cited by applicant]
US 20230083899A1 · Gandouet et al. · 2023 [cited by applicant]
US 20230086653A1 · Zykh et al. · 2023 [cited by applicant]
US 20230107703A1 · Zhang et al. · 2023 [cited by applicant]
US 20230113752A1 · Jorlett et al. · 2023 [cited by applicant]
US 20230119108A1 · Volkovs et al. · 2023 [cited by applicant]
US 20230131935A1 · Volkovs et al. · 2023 [cited by applicant]
US 20230138014A1 · Björkqvist · 2023 [cited by applicant]
US 20230153461A1 · Kalra et al. · 2023 [cited by applicant]
US 20230195734A1 · Cashion et al. · 2023 [cited by applicant]
US 20230196406A1 · Gandouet et al. · 2023 [cited by applicant]
US 20230244917A1 · Loaiza Ganem et al. · 2023 [cited by applicant]
US 20230244962A1 · Volkovs et al. · 2023 [cited by applicant]
US 20230252301A1 · Volkovs et al. · 2023 [cited by applicant]
US 20230259883A1 · Misler et al. · 2023 [cited by applicant]
US 20230267367A1 · Volkovs et al. · 2023 [cited by applicant]
US 20230267475A1 · Navarro et al. · 2023 [cited by applicant]
US 20230318994A1 · Moon et al. · 2023 [cited by applicant]
US 20230351116A1 · Skaljin et al. · 2023 [cited by applicant]
US 20230368048A1 · Yang et al. · 2023 [cited by applicant]
US 20230368284A1 · Sheikh et al. · 2023 [cited by applicant]
US 20230377047A1 · Bouëtté et al. · 2023 [cited by applicant]
US 20230385693A1 · Cresswell et al. · 2023 [cited by applicant]
US 20230385694A1 · Cresswell et al. · 2023 [cited by applicant]
US 20230386190A1 · Cresswell et al. · 2023 [cited by applicant]
US 20230401192A1 · Yang et al. · 2023 [cited by applicant]
US 20230401553A1 · Navarro et al. · 2023 [cited by applicant]
US 20230419302A1 · Navarro et al. · 2023 [cited by applicant]
US 20230419402A1 · Ghelichi et al. · 2023 [cited by applicant]
US 20240020534A1 · Perez Vallejo et al. · 2024 [cited by applicant]
US 20240062019A1 · Aberle · 2024 [cited by applicant]
US 20240062117A1 · Kuang et al. · 2024 [cited by applicant]
US 20240095645A1 · Elfgren · 2024 [cited by examiner]
US 20240106851A1 · Kennedy et al. · 2024 [cited by applicant]
US 20240119346A1 · Chang et al. · 2024 [cited by applicant]
US 20240127036A1 · Zuberi et al. · 2024 [cited by applicant]
US 20240127214A1 · Wander et al. · 2024 [cited by applicant]
US 20240193562A1 · Pratten et al. · 2024 [cited by applicant]
US 20240202756A1 · Karl et al. · 2024 [cited by applicant]
US 20240211732A1 · Wander et al. · 2024 [cited by applicant]
US 20240212049A1 · Ghelichi et al. · 2024 [cited by applicant]
US 20240220653A1 · D'Agostino · 2024 [cited by applicant]
US 20240232614A1 · Esmaeili et al. · 2024 [cited by applicant]
US 20240232950A1 · Navarro et al. · 2024 [cited by applicant]
US 20240256903A1 · Ens et al. · 2024 [cited by applicant]
US 20240256904A1 · Leung et al. · 2024 [cited by applicant]
US 20240256968A1 · Hosseinzadeh et al. · 2024 [cited by applicant]
US 20240281467A1 · Volkovs et al. · 2024 [cited by applicant]
US 20240281808A1 · Vouitsis et al. · 2024 [cited by applicant]
US 20240281818A1 · Golestan Irani et al. · 2024 [cited by applicant]
US 20240289365A1 · Beauchamp · 2024 [cited by examiner]
US 20240289645A1 · Makhijani et al. · 2024 [cited by applicant]
US 20240289876A1 · Mathew et al. · 2024 [cited by applicant]
US 20240296219A1 · Gardner · 2024 [cited by examiner]
US 20240303551A1 · Li et al. · 2024 [cited by applicant]
US 20240304182A1 · Hamilton et al. · 2024 [cited by applicant]
US 20240330772A1 · Cresswell et al. · 2024 [cited by applicant]
US 20240338520A1 · Misler et al. · 2024 [cited by applicant]
US 20240346338A1 · Desai et al. · 2024 [cited by applicant]
US 20240370479A1 · Hudetz · 2024 [cited by examiner]
US 20240370880A1 · Jeske et al. · 2024 [cited by applicant]
US 20240370881A1 · Jeske et al. · 2024 [cited by applicant]
US 20240378396A1 · Bhupati · 2024 [cited by examiner]
US 20240403373A1 · Chao · 2024 [cited by examiner]
US 20250086647A1 · Gao · 2025 [cited by examiner]
US 20250182134A1 · Arianpoo · 2025 [cited by examiner]
US 20250190470A1 · Khullar · 2025 [cited by examiner]