IP Library Granted Patent US 12,695,713
Granted Patent B2
US 12,695,713 · App. 18/388,153 · Granted Jul 28, 2026

Chatbot response system

Inventors: Aliaksei Mikhailiuk (London, GB); Sergey Smetanin (London, GB); Pavel Savchenkov (London, GB); Hee Hun Kim (Los Angeles, CA); Tianxiang Gao (Bothell, WA); Neha Yadav (Seattle, WA); Bingqian Lu (Ontario, CA); Emily Ann Claudet (London, GB)
Assignee: Snap Inc.
H04L51/02G06F40/30G06V30/153H04L51/063
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,695,713
App. No.
18/388,153
Granted
Jul 28, 2026
Kind
B2
Abstract

A computer-implemented method and system for responding to user posts containing images with relevant image responses during conversation between a user and a chatbot. The system receives an image post from the user and generates a description of the image using an image-to-text model. User intent is determined based on the image and description. If responding with an image is appropriate based on the user intent, the system generates a prompt using the image description and passes it to a text generation model to create an image description and caption. The image description and caption are used to synthesize a new image. The resulting image and caption are packaged into a post that is provided as a response to the user. The system uses machine learning pipelines and models to analyze images, detect inappropriate content, classify user intent, generate text, and synthesize images.

Claims (58)

1 . A computer-implemented method comprising:

receiving, by one or more processors, from a user using a user device, a user interaction system post comprising an image;

generating, by the one or more processors, a description of the user interaction system post using an image to text model;

determining by the one or more processors, using the user interaction system post, that the user interaction system post includes inappropriate content;

in response to determining the user interaction system post includes inappropriate content, modifying, by the one or more processors, the description of the user interaction system post to remove the inappropriate content;

determining, by the one or more processors, a user intent based on the user interaction system post and the description of the user interaction system post as modified;

determining, by the one or more processors, to respond with a chatbot interaction system post using the user intent;

in response to determining to respond with a chatbot interaction system post, generating, by the one or more processors, a prompt using the description of the user interaction system post as modified;

generating, by the one or more processors, an image description and a caption using the prompt;

generating, by the one or more processors, the chatbot interaction system post using the image description and the caption; and

providing, by the one or more processors, the chatbot interaction system post to the user via the user device.

2 . The computer-implemented method of claim 1 , further comprising: generating, by the one or more processors, the prompt by appending one or more style instructions to the user interaction system post description.

3 . The computer-implemented method of claim 2 , wherein the one or more style instructions comprise instructions to generate the chatbot interaction system post image in an interaction system post style.

4 . The computer-implemented method of claim 1 , further comprising:

generating, by the one or more processors, an inappropriate content score for the user interaction system post using the user interaction system post and a sanitation model.

5 . The computer-implemented method of claim 4 , further comprising:

in response to detecting, by the one or more processors, that the inappropriate content score exceeds a threshold inappropriate content score value, providing, by the one or more processors, a text response indicating the user interaction system post cannot be processed.

6 . The computer-implemented method of claim 1 , further comprising:

randomly determining, by the one or more processors, whether to respond with a text response or the chatbot interaction system post.

7 . A machine, comprising:

one or more processors; and

one or more memories storing instructions that, when executed by the one or more processors, cause the machine to perform operations comprising:

receiving from a user using a user device, a user interaction system post comprising an image;

generating a description of the user interaction system post using an image to text model;

determining, using the user interaction system post, that the user interaction system post includes inappropriate content;

in response to determining the user interaction system post includes inappropriate content modifying the description of the user interaction system post to remove the inappropriate content;

determining a user intent based on the user interaction system post and the description of the user interaction system post as modified;

determining to respond with a chatbot interaction system post using the user intent;

in response to determining to respond with a chatbot interaction system post, generating a prompt using the description of the user interaction system post as modified;

generating an image description and a caption using the prompt,

generating the chatbot interaction system post using the image description and the caption; and

providing the chatbot interaction system post to the user via the user device.

8 . The machine of claim 7 , wherein the operations further comprise: generating the prompt by appending one or more style instructions to the user interaction system post description.

9 . The machine of claim 8 , wherein the one or more style instructions comprise instructions to generate the chatbot interaction system post image in an interaction system post style.

10 . The machine of claim 7 , wherein the operations further comprise:

generating an inappropriate content score for the user interaction system post using the user interaction system post and a sanitation model.

11 . The machine of claim 10 , wherein the operations further comprise:

in response to detecting that the inappropriate content score exceeds a threshold inappropriate content score value, providing a text response indicating the user interaction system post cannot be processed.

12 . The machine of claim 7 , wherein the operations further comprise:

randomly determining whether to respond with a text response or the chatbot interaction system post.

13 . A machine-storage medium storing instructions that, when executed by one or more processors of a machine, cause the machine to perform operations comprising:

receiving from a user using a user device, a user interaction system post comprising an image;

generating a description of the user interaction system post using an image to text model;

determining, using the user interaction system post, that the user interaction system post includes inappropriate content;

in response to determining the user interaction system post includes inappropriate content, modifying the description of the user interaction system post to remove the inappropriate content;

determining a user intent based on the user interaction system post and the description of the user interaction system post as modified;

determining to respond with a chatbot interaction system post using the user intent;

in response to determining to respond with a chatbot interaction system post, generating a prompt using the description of the user interaction system post as modified;

generating an image description and a caption using the prompt;

generating the chatbot interaction system post using the image description and the caption; and

providing the chatbot interaction system post to the user via the user device.

14 . The machine-storage medium of claim 13 , wherein the operations further comprise:

generating the prompt by appending one or more style instructions to the user interaction system post description.

15 . The machine-storage medium of claim 14 , wherein the one or more style instructions comprise instructions to generate the chatbot interaction system post image in an interaction system post style.

16 . The machine-storage medium of claim 13 , wherein the operations further comprise:

generating an inappropriate content score for the user interaction system post using the user interaction system post and a sanitation model.

17 . The machine-storage medium of claim 16 , wherein the operations further comprise:

in response to detecting that the inappropriate content score exceeds a threshold inappropriate content score value, providing a text response indicating the user interaction system post cannot be processed.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 2, 2026
From: SNAP GROUP LIMITED
To: SNAP INC.
Reel/Frame 075162/0458 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 8, 2023
From: MIKHAILIUK, ALIAKSEI; SMETANIN, SERGEY; SAVCHENKOV, PAVEL; CLAUDET, EMILY ANN
To: SNAP GROUP LIMITED
Reel/Frame 065502/0666 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 8, 2023
From: KIM, HEE HUN; GAO, TIANXIANG; YADAV, NEHA; LU, BINGQIAN
To: SNAP INC.
Reel/Frame 065502/0741 →
Continuity (1)
Related Publication 20250150414A1 · May 8, 2025
References Cited (105)
US 10565634B2 · Talmor · 2020 [cited by examiner]
US 10599774B1 · Luo · 2020 [cited by examiner]
US 10750019B1 · Petrovykh et al. · 2020 [cited by applicant]
US 10769560B1 · Knas · 2020 [cited by examiner]
US 11966704B1 · Magary · 2024 [cited by examiner]
US 12010076B1 · Andrew · 2024 [cited by examiner]
US 12039612B1 · Zumpano · 2024 [cited by examiner]
US 20130080928A1 · Zhuang et al. · 2013 [cited by applicant]
US 20140164305A1 · Lynch et al. · 2014 [cited by applicant]
US 20160378861A1 · Eledath et al. · 2016 [cited by applicant]
US 20170169476A1 · Nomula et al. · 2017 [cited by applicant]
US 20170250930A1 · Ben-itzhak · 2017 [cited by applicant]
US 20190043106A1 · Talmor · 2019 [cited by examiner]
US 20190050427A1 · Wiesel et al. · 2019 [cited by applicant]
US 20190073197A1 · Collins · 2019 [cited by applicant]
US 20190143527A1 · Favis et al. · 2019 [cited by applicant]
US 20190147366A1 · Sankaran et al. · 2019 [cited by applicant]
US 20190171845A1 · Dotan-cohen et al. · 2019 [cited by applicant]
US 20190172454A1 · Kitajima · 2019 [cited by examiner]
US 20190193273A1 · Favis et al. · 2019 [cited by applicant]
US 20190317709A1 · Sugimoto et al. · 2019 [cited by applicant]
US 20190340485A1 · Ngo et al. · 2019 [cited by applicant]
US 20200104653A1 · Solomon et al. · 2020 [cited by applicant]
US 20200125678A1 · Conley et al. · 2020 [cited by applicant]
US 20200236228A1 · Awatsu · 2020 [cited by examiner]
US 20200242305A1 · Wu · 2020 [cited by applicant]
US 20200327327A1 · Wu · 2020 [cited by examiner]
US 20210067470A1 · Freed · 2021 [cited by examiner]
US 20210136019A1 · Price et al. · 2021 [cited by applicant]
US 20210144264A1 · Toda · 2021 [cited by examiner]
US 20210150806A1 · Guler et al. · 2021 [cited by applicant]
US 20210295203A1 · Liao et al. · 2021 [cited by applicant]
US 20210297498A1 · Divakaran et al. · 2021 [cited by applicant]
US 20220058347A1 · Singaraju et al. · 2022 [cited by applicant]
US 20220114751A1 · Kannan et al. · 2022 [cited by applicant]
US 20220199079A1 · Hanson et al. · 2022 [cited by applicant]
US 20220237368A1 · Tran · 2022 [cited by applicant]
US 20230096474A1 · Krishnan · 2023 [cited by examiner]
US 20230111489A1 · Zohar et al. · 2023 [cited by applicant]
US 20230115551A1 · Jin et al. · 2023 [cited by applicant]
US 20230154453A1 · Erdenee · 2023 [cited by examiner]
US 20230252975A1 · Vishnoi · 2023 [cited by examiner]
US 20230315999A1 · Mohammed · 2023 [cited by examiner]
US 20240012841A1 · Voyles · 2024 [cited by examiner]
US 20240020478A1 · Will, IV · 2024 [cited by examiner]
US 20240020484A1 · Will, IV · 2024 [cited by examiner]
US 20240127026A1 · Manandise · 2024 [cited by examiner]
US 20240163232A1 · Jayaraman et al. · 2024 [cited by applicant]
US 20240211826A1 · Rewerenda et al. · 2024 [cited by applicant]
US 20240242033A1 · Intrator · 2024 [cited by examiner]
US 20240249318A1 · Spiegel et al. · 2024 [cited by applicant]
US 20240267344A1 · Mulligan et al. · 2024 [cited by applicant]
US 20240291779A1 · Catalano et al. · 2024 [cited by applicant]
US 20240355010A1 · Ahafonov et al. · 2024 [cited by applicant]
US 20240355064A1 · Skrypnyk et al. · 2024 [cited by applicant]
US 20240355065A1 · Miller et al. · 2024 [cited by applicant]
US 20240355131A1 · Kuppersmith et al. · 2024 [cited by applicant]
US 20240356871A1 · Brewer et al. · 2024 [cited by applicant]
US 20240356873A1 · Brewer et al. · 2024 [cited by applicant]
US 20240394593A1 · Gutierrez · 2024 [cited by examiner]
US 20240428345A1 · Sami · 2024 [cited by examiner]
JP 2025049411 · 2025 [cited by applicant]
WO 2024158821 · 2024 [cited by applicant]
WO 2024167840 · 2024 [cited by applicant]
WO 2024178247 · 2024 [cited by applicant]
WO 2024220281 · 2024 [cited by applicant]
WO 2024220287 · 2024 [cited by applicant]
WO 2024220305 · 2024 [cited by applicant]
WO 2024220327 · 2024 [cited by applicant]
WO 2024220425 · 2024 [cited by applicant]
WO 2024220431 · 2024 [cited by applicant]
WO 2024220526 · 2024 [cited by applicant]
WO WO2024261154A1 · 2024 [cited by examiner]
“International Application Serial No. PCT/US2024/012626, International Search Report mailed Apr. 4, 2024”, 4 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/012626, Written Opinion mailed Apr. 4, 2024”, 5 pgs. [cited by applicant]
Walton, Nick, “Our Shift to the Walls Approach”, Latitude, [Online]. Retrieved from the Internet: <https://web.archive.org/web/20210930180047/https://latitude.io/blog/the-walls-approach>, (Sep. 30, 2021), 2 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/016940, International Search Report mailed May 24, 2024”, 3 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/016940, Written Opinion mailed May 24, 2024”, 9 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/014450, International Search Report mailed Jun. 3, 2024”, 4 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/014450, Written Opinion mailed Jun. 3, 2024”, 5 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/024798, International Search Report mailed Jul. 12, 2024”, 3 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/024798, Written Opinion mailed Jul. 12, 2024”, 5 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/023877, International Search Report mailed Jul. 16, 2024”, 5 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/023877, Written Opinion mailed Jul. 16, 2024”, 6 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/024788, International Search Report mailed Jul. 16, 2024”, 5 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/024788, Written Opinion mailed Jul. 16, 2024”, 7 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/024100, International Search Report mailed Jul. 18, 2024”, 4 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/024100, Written Opinion mailed Jul. 18, 2024”, 8 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/023744, International Search Report mailed Aug. 22, 2024”, 4 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/023744, Written Opinion mailed Aug. 22, 2024”, 11 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/024459, International Search Report mailed Aug. 23, 2024”, 5 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/024459, Written Opinion mailed Aug. 23, 2024”, 7 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/024973, International Search Report mailed Sep. 3, 2024”, 7 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/024973, Written Opinion mailed Sep. 3, 2024”, 7 pgs. [cited by applicant]
Ivona, Tautkute, “What Looks Good with my Sofa: Multimodal Search Engine for Interior Design”, arxiv.org, Cornell University Library, 201 Olin Library Cornell University Ithaca, NY 14853, (Jul. 21, 2017), 8 pgs. [cited by applicant]
Jun, Ehara, “Texture overlay for virtual clothing based on PCA of silhouettes”, Mixed and Augmented Reality, 2006. ISMAR 2006. IEEE ACM International Symposium on, IEEE, PI, (Oct. 22, 2006), 139-142. [cited by applicant]
Liang, Yaoyuan, “Multi-modal Contextual Graph Neural Network for Text Visual Question Answering”, 2020 25th International Conference on Pattern Recognition (ICPR), IEEE, (Jan. 10, 2021), 8 pgs. [cited by applicant]
Bastian, Matthias, “ChatARKit: ChatGPT programs AR app using natural language alone”, [Online]. Retrieved from the Internet: <https://mixed-news.com/en/chatarkit-chatgpt-programs-ar-appusing-natural-language-alone/>, (D… [cited by applicant]
ZAUBAR, “ZAUBAR Magic: AI-powered content creation tool for the metaverse by ZAUBAR”, [Online]. Retrieved from the Internet: <https://www.youtube.com/watch?v=zpa30DWUyco>, (Apr. 6, 2023), 2 pgs. [cited by applicant]
“U.S. Appl. No. 18/584,852, Non Final Office Action mailed Jun. 18, 2025”, 23 pgs. [cited by applicant]
“U.S. Appl. No. 18/584,852, Examiner Interview Summary mailed Jul. 23, 2025”, 2 pgs. [cited by applicant]
“International Application Serial No. PCT/US2024/016940, International Preliminary Report on Patentability mailed Sep. 4, 2025”, 11 pgs. [cited by applicant]
“U.S. Appl. No. 18/584,852, Response filed Sep. 18, 2025 to Non Final Office Action mailed Jun. 18, 2025”, 9 pgs. [cited by applicant]
“U.S. Appl. No. 18/584,852, Notice of Allowance mailed Jan. 23, 2026”, 9 pgs. [cited by applicant]
“U.S. Appl. No. 18/584,852, Corrected Notice of Allowability mailed Feb. 4, 2026”, 2 pgs. [cited by applicant]