IP Library › Granted Patent US 12,282,731
Granted Patent B2
US 12,282,731 · App. 18/117,222 · Granted Apr 22, 2025

Guardrails for efficient processing and error prevention in generating suggested messages

Inventors: Caleb Whitmore (San Francisco, CA); Susan Marie Grimshaw (Krikland, WA); Poonam Ganesh Hattangady (Seattle, WA)
Assignee: Microsoft Technology Licensing, LLC
G06F40/166G06F40/106H04L51/42
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,282,731
App. No.
18/117,222
Filed
Mar 3, 2023
Granted
Apr 22, 2025
Kind
B2
Art Unit
2142
USPC
715/255
Abstract

Systems and methods for using a generative artificial intelligence (AI) model to generate a suggested draft reply to a selected message. A message generation system and method are described that use guardrails that prevent unnecessary AI model processing and accidental sending of an AI model-generated draft. In some examples, draft reply-generation is limited to a subset of messages (e.g., focused, non-confidential) and triggering of the draft reply generation is performed only after user interaction criteria are satisfied. In some examples, a confirmation message is presented when the draft reply is attempted to be sent with no changes or quickly after the draft is generated. For instance, the guardrails limit the number of times the AI model is invoked to generate suggested replies and further prevents users from accidentally sending drafts generated from the AI model.

Claims (70)

1. A system for generating a suggested reply message using a generative artificial intelligence (AI) model, the system comprising:

at least one processor; and

memory storing instructions that, when executed by the at least one processor, cause the system to:

receive a selection of a message;

determine a message type for the message;

based on the message type matching a particular message type and an interaction indication exceeding a threshold, trigger a prompt to be generated;

generate the prompt by combining the message with a request phrase, the request phrase requesting at least one draft reply to the message;

provide the prompt as input to a generative AI model;

receive, from the generative AI model, a draft reply to the message; and

cause a display of the draft reply for editing.

2. The system of claim 1 , wherein the instructions further cause the system to:

receive a selection to send the draft reply;

prior to transmitting the draft reply, detect that a number of edits less than an editing threshold have been made to the draft reply; and

in response to detecting that the number of edits is less than the editing threshold, display a notification requesting confirmation that the draft reply should be sent.

3. The system of claim 1 , wherein the instructions further cause the system to:

receive a selection to send the draft reply;

prior to transmitting the draft reply, detect that a time duration between displaying the draft reply and receiving the selection to send the reply is less than a threshold; and

in response to detecting that the duration is less than the threshold, display a notification requesting confirmation that the draft reply should be sent.

4. The system of claim 3 , wherein the instructions further cause the system to:

receive a confirmation that the draft reply should be sent; and

send the draft reply.

5. The system of claim 1 , wherein the instructions further cause the system to:

detect that a time duration between displaying the draft reply and receiving the selection to send the reply satisfies a threshold; and

display a send option concurrently with the draft reply.

6. The system of claim 1 , wherein the interaction indication includes a duration the message is open.

7. The system of claim 1 , wherein the interaction indication includes a scroll interaction.

8. The system of claim 1 , wherein the request phrase is a predefined request.

9. The system of claim 1 , wherein the message type includes an email categorized as focused.

10. The system of claim 1 , wherein the message type is a non-confidential email.

11. A computer-implemented method for generating a suggested reply message using a generative artificial intelligence (AI) model, the method comprising:

receiving a selection of a message;

generating a prompt by combining the message with a request phrase, the request phrase requesting at least one draft reply to the message;

providing the prompt as input to a generative AI model;

receiving, from the generative AI model, a draft reply to the message;

causing a display of the draft reply for editing;

receiving a selection to send the draft reply;

instead of transmitting the draft reply in response to send the draft reply, performing at least one of:

detecting that time duration between displaying the draft reply and receiving the selection to send the reply is less than a threshold; and

detecting that a number of edits less than an editing threshold have been made to the draft reply; and

in response to at least one of detecting that the duration is less than the threshold and detecting that the number of edits is less than the editing threshold, displaying a notification requesting confirmation that the draft reply should be sent.

12. The method of claim 11 , wherein prior to generating the prompt, the method further includes:

determining a message type for the message; and

determining the message type meets criteria for generating the prompt.

13. The method of claim 11 , wherein prior to generating the prompt, the method includes receiving an interaction indication.

14. The method of claim 13 , further comprising determining the interaction indication satisfies a minimum interaction threshold.

15. The method of claim 13 , wherein the interaction indication comprises a duration the message is open.

16. The method of claim 13 , wherein the interaction indication comprises a scroll interaction.

17. The method of claim 11 , further comprising:

receiving a confirmation that the draft reply should be sent; and

sending the draft reply.

18. The method of claim 11 , further comprising, prior to receiving the selection to send the draft reply:

detecting that a time duration between displaying the draft reply and receiving the selection to send the draft reply satisfies a minimum time threshold; and

displaying a send option concurrently with the draft reply.

19. A system for generating a suggested reply message using a generative artificial intelligence (AI) model, the system comprising:

at least one processor; and

memory storing instructions that, when executed by the at least one processor, cause the system to perform a set of operations comprising:

receiving a selection of a message;

generating a prompt by combining the message with a request phrase, the request phrase requesting at least one draft reply to the message;

providing the prompt as input to a generative AI model;

receiving, from the generative AI model, a draft reply to the message;

causing a display of the draft reply for editing;

displaying a send option to send the draft reply;

receiving a selection of the send option;

instead of transmitting the draft reply in response to the selection of the send option, performing at least one of:

detecting that time duration between displaying the draft reply and receiving the selection to send the reply is less than a threshold; and

detecting that a number of edits less than an editing threshold have been made to the draft reply; and

in response to at least one of detecting that the duration is less than the threshold and detecting that the number of edits is less than the editing threshold, displaying a notification requesting confirmation that the draft reply should be sent.

20. The system of claim 19 , wherein the operations further comprise:

receiving a confirmation that the draft reply should be sent; and

sending the draft reply.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 24, 2023
From: WHITMORE, CALEB; GRIMSHAW, SUSAN MARIE; HATTANGADY, POONAM GANESH
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 064352/0224 →
Continuity (1)
Related Publication 20240296275A1 · Sep 5, 2024
References Cited (110)
US 7409641B2 · Moody · 2008 [cited by applicant]
US 9141940B2 · Pocklington et al. · 2015 [cited by applicant]
US 9990610B2 · Agarwal · 2018 [cited by examiner]
US 10491582B1 · Rule · 2019 [cited by applicant]
US 10534815B2 · Hazra · 2020 [cited by applicant]
US 10594757B1 · Shevchenko et al. · 2020 [cited by applicant]
US 10635751B1 · Relangi · 2020 [cited by applicant]
US 10659399B2 · Foerster · 2020 [cited by applicant]
US 10691473B2 · Karashchuk et al. · 2020 [cited by applicant]
US 10728184B2 · Sharp · 2020 [cited by applicant]
US 10733292B2 · Araujo · 2020 [cited by applicant]
US 10733529B1 · Tran · 2020 [cited by examiner]
US 10929469B2 · Kirk et al. · 2021 [cited by applicant]
US 11100179B1 · Zhou · 2021 [cited by examiner]
US 11157693B2 · Srinivasan et al. · 2021 [cited by applicant]
US 11240181B1 · Nagaraja et al. · 2022 [cited by applicant]
US 11244117B2 · Ciano · 2022 [cited by applicant]
US 11314845B2 · Fenney · 2022 [cited by applicant]
US 11314945B1 · Nguyen · 2022 [cited by examiner]
US 11321736B2 · Lagi et al. · 2022 [cited by applicant]
US 11418461B1 · Elfardy · 2022 [cited by examiner]
US 11425064B2 · Ball · 2022 [cited by applicant]
US 11516158B1 · Luzhnica et al. · 2022 [cited by applicant]
US 11580099B2 · Chen · 2023 [cited by applicant]
US 11641330B2 · Flöther · 2023 [cited by applicant]
US 11646014B1 · Harsola · 2023 [cited by examiner]
US 11792141B2 · El Ghazzal · 2023 [cited by applicant]
US 11909699B1 · Natoli · 2024 [cited by examiner]
US 11947902B1 · Grimshaw · 2024 [cited by applicant]
US 11962546B1 · Hattangady · 2024 [cited by applicant]
US 20070266095A1 · Billsus · 2007 [cited by examiner]
US 20100083149A1 · McCaffrey · 2010 [cited by applicant]
US 20120290662A1 · Weber · 2012 [cited by applicant]
US 20150281156A1 · Beausoleil · 2015 [cited by examiner]
US 20150348128A1 · Zeng et al. · 2015 [cited by applicant]
US 20150381533A1 · Klemm · 2015 [cited by applicant]
US 20160241493A1 · Sharp · 2016 [cited by applicant]
US 20160337301A1 · Rollins · 2016 [cited by applicant]
US 20160352656A1 · Galley et al. · 2016 [cited by applicant]
US 20170222961A1 · Beach · 2017 [cited by examiner]
US 20180032480A1 · Ciano · 2018 [cited by applicant]
US 20180060308A1 · Liu · 2018 [cited by examiner]
US 20180083895A1 · Pham · 2018 [cited by applicant]
US 20180089588A1 · Ravi · 2018 [cited by applicant]
US 20180189628A1 · Kaufmann · 2018 [cited by examiner]
US 20180210874A1 · Fuxman · 2018 [cited by examiner]
US 20180241710A1 · Claux · 2018 [cited by applicant]
US 20180295081A1 · Mcgregor, Jr. · 2018 [cited by examiner]
US 20180331979A1 · Rakovitsky et al. · 2018 [cited by applicant]
US 20180359199A1 · Nguyen · 2018 [cited by examiner]
US 20190081914A1 · Chang · 2019 [cited by examiner]
US 20190138267A1 · Mailey · 2019 [cited by applicant]
US 20190188562A1 · Edwards · 2019 [cited by applicant]
US 20190281001A1 · Miller et al. · 2019 [cited by applicant]
US 20200019699A1 · Araujo · 2020 [cited by applicant]
US 20200065857A1 · Lagi · 2020 [cited by applicant]
US 20200244605A1 · Nagaraja et al. · 2020 [cited by applicant]
US 20200311640A1 · Grimshaw et al. · 2020 [cited by applicant]
US 20200327189A1 · Li et al. · 2020 [cited by applicant]
US 20200410335A1 · Gu · 2020 [cited by applicant]
US 20210056404A1 · Goswami · 2021 [cited by applicant]
US 20210073377A1 · Coull et al. · 2021 [cited by applicant]
US 20210264109A1 · Srinivasan et al. · 2021 [cited by applicant]
US 20210264268A1 · Goswami · 2021 [cited by applicant]
US 20210334472A1 · Shah · 2021 [cited by examiner]
US 20210350784A1 · Selvaggi · 2021 [cited by applicant]
US 20210377391A1 · Thiyagarajan · 2021 [cited by examiner]
US 20210385186A1 · Zhang · 2021 [cited by applicant]
US 20210406836A1 · Bar-on · 2021 [cited by applicant]
US 20220006761A1 · Magliozzi · 2022 [cited by applicant]
US 20220045975A1 · Flöther et al. · 2022 [cited by applicant]
US 20220050967A1 · Veyseh et al. · 2022 [cited by applicant]
US 20220103504A1 · Byza et al. · 2022 [cited by applicant]
US 20220131821A1 · Habal et al. · 2022 [cited by applicant]
US 20220138440A1 · Li et al. · 2022 [cited by applicant]
US 20220147714A1 · Reyderman · 2022 [cited by applicant]
US 20220166738A1 · Gray et al. · 2022 [cited by applicant]
US 20220180242A1 · Lee · 2022 [cited by applicant]
US 20220253472A1 · Oberoi · 2022 [cited by applicant]
US 20220284889A1 · Travaglini · 2022 [cited by applicant]
US 20230082014A1 · Bleeker · 2023 [cited by applicant]
US 20230101224A1 · Singh · 2023 [cited by applicant]
US 20230108855A1 · Le · 2023 [cited by applicant]
US 20230135962A1 · Lee · 2023 [cited by applicant]
US 20230137209A1 · Nangi · 2023 [cited by applicant]
US 20230162057A1 · Sharma et al. · 2023 [cited by applicant]
US 20230185907A1 · Coull · 2023 [cited by applicant]
US 20230205826A1 · Leshinsky · 2023 [cited by applicant]
US 20230216836A1 · Michael · 2023 [cited by applicant]
US 20230229852A1 · Karthik · 2023 [cited by applicant]
US 20230237263A1 · Howell · 2023 [cited by applicant]
US 20230237584A1 · Sanchez · 2023 [cited by applicant]
US 20230245651A1 · Wang · 2023 [cited by applicant]
US 20230351102A1 · Tran · 2023 [cited by applicant]
US 20240296276A1 · Hattangady · 2024 [cited by applicant]
US 20240296278A1 · Grimshaw · 2024 [cited by applicant]
US 20240297856A1 · Hattangady · 2024 [cited by applicant]
US 20240394483A1 · Tholfsen · 2024 [cited by applicant]
CN 107636568A · 2018 [cited by applicant]
WO 2018057627A1 · 2018 [cited by applicant]
“Non Final Office Action Issued in U.S. Appl. No. 18/178,254”, Mailed Date: Jul. 18, 2023, 24 Pages. [cited by applicant]
Notice of Allowance mailed on Dec. 8, 2023 in U.S. Appl. No. 18/178,254, 9 pages. [cited by applicant]
International Search Report and Written Opinion received for PCT Application No. PCT/US2024/017579, May 24, 2024, 14 pages. [cited by applicant]
International Search Report and Written Opinion received for PCT Application No. PCT/US2024/017580, May 15, 2024, 14 pages. [cited by applicant]
International Search Report and Written Opinion received for PCT Application No. PCT/US2024/017578, Jun. 26, 2024, 12 pages. [cited by applicant]
Non- Final Office Action mailed on Oct. 21, 2024, in U.S. Appl. No. 18/600,199, 11 pages. [cited by applicant]
Notice of Allowance mailed on Jan. 24, 2024, in U.S. Appl. No. 18/178,191, 06 pages. [cited by applicant]
Notice of Allowance mailed on Sep. 25, 2023, in U.S. Appl. No. 18/178,191, 09 pages. [cited by applicant]
Non-Final Office Action mailed on Dec. 19, 2024, in U.S. Appl. No. 18/585,995, 11 pages. [cited by applicant]
Notice of Allowance mailed on Feb. 20, 2025, in U.S. Appl. No. 18/600,199, 14 pages. [cited by applicant]
Cited By (1)
US 12,524,605