IP Library › Granted Patent US 12,547,636
Granted Patent B2
US 12,547,636 · App. 19/053,198 · Granted Feb 10, 2026

Method, apparatus, device, and storage medium for prompt determination

Inventors: Xiang Jiang (Beijing, CN); Han Li (Beijing, CN)
Assignee: Beijing Zitiao Network Technology Co., Ltd.
G06F16/248G06F16/242
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,547,636
App. No.
19/053,198
Granted
Feb 10, 2026
Kind
B2
Abstract

According to embodiments of the disclosure, a method, an apparatus, a device, and a storage medium for prompt determination are provided. The method includes: presenting, in response to receiving a first interaction request for specifying a type of a task to be performed, an interaction area matching the type, the interaction area including: a data input box for inputting data to be processed; and a prompt template matching the type, the prompt template specifying a plurality of attributes of a prompt for performing the task; and generating, in response to receiving a second interaction request for the interaction area, the prompt for performing the task.

Claims (64)

1 . A method for prompt determination, comprising:

presenting, in response to receiving a first interaction request for specifying a type of a task to be performed, an interaction area matching the type, the interaction area comprising:

a data input box for inputting data to be processed;

a plurality of tags for specifying a plurality of attributes of a prompt for performing the task;

a prompt template matching the type, the prompt template specifying the prompt for performing the task based on the plurality of attributes; and

generating, in response to receiving a second interaction request for the interaction area, the prompt for performing the task.

2 . The method of claim 1 , wherein generating the prompt comprises:

determining, in response to determining that the second interaction request is an interaction request for the data input box, the data to be processed based on the second interaction request;

setting, in response to determining that the second interaction request is an interaction request for a target attribute of the plurality of attributes, an attribute value of the target attribute based on the second interaction request; and

generating the prompt based on the data and the attribute value.

3 . The method of claim 2 , wherein the target attribute is represented by utilizing a tag in the plurality of tags, and setting the attribute value based on the second interaction request comprises:

presenting, in response to determining that the second interaction request is an interaction request for the target attribute, a plurality of candidate attribute values associated with the target attribute; and

setting, in response to receiving a third interaction request for a target candidate attribute value of the plurality of candidate attribute values, the attribute value by utilizing the target candidate attribute value.

4 . The method of claim 3 , wherein the interaction area further comprises a specifying control for specifying a presentation format of the interaction area, and the method further comprises: presenting, in response to receiving a fourth interaction request for the specifying control, the interaction area by utilizing a presentation format specified by the fourth interaction request.

5 . The method of claim 4 , wherein presenting the interaction area by utilizing the presentation format specified by the fourth interaction request comprises in response to determining that the presentation format specified by the fourth interaction request is an image format:

presenting the data input box in the image format in a first area of the interaction area; and

presenting the tag in the image format in a second area of the interaction area.

6 . The method of claim 4 , wherein presenting the interaction area by utilizing the presentation format specified by the fourth interaction request comprises in response to determining that the presentation format specified by the fourth interaction request is a text format:

presenting an initial prompt for performing the task in the interaction area;

presenting the data input box in the text format at a first position of the initial prompt; and

presenting the tag in the text format at a second position of the initial prompt.

7 . The method of claim 1 , wherein the interaction area further comprises a plurality of candidate layouts, each of the plurality of candidate layouts represents a respective layout of response elements in a response to the prompt, and the method further comprises: generating, in response to receiving a fifth interaction request for a target candidate layout of the plurality of candidate layouts, the prompt based on the target candidate layout.

8 . The method of claim 1 , wherein the method is implemented in a conversational interaction application, and the interaction area further comprises a submit control for submitting the prompt, and the method further comprises:

submitting, in response to receiving a sixth interaction request for the submit control, the prompt to a server device associated with the conversational interaction application; and

presenting a response from the server device for the prompt.

9 . The method of claim 8 , further comprising: presenting, in response to receiving the sixth interaction request for the submit control, in the conversational interaction application, the prompt and a plurality of markers respectively associated with a plurality of attribute values of the plurality of attributes.

10 . The method of claim 9 , further comprising:

presenting, in response to receiving a seventh interaction request for a target marker of the plurality of markers, an edit box for editing a target attribute value associated with the target marker; and

updating, in response to receiving the seventh interaction request for the edit box, the target attribute value based on the seventh interaction request to generate an updated prompt.

11 . The method of claim 10 , further comprising: presenting a response from the server device for the updated prompt.

12 . An electronic device, comprising:

at least one processor; and

at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions, when executed by the at least one processor, causing the electronic device to perform acts comprising:

presenting, in response to receiving a first interaction request for specifying a type of a task to be performed, an interaction area matching the type, the interaction area comprising:

a data input box for inputting data to be processed;

a plurality of tags for specifying a plurality of attributes of a prompt for performing the task;

a prompt template matching the type, the prompt template specifying the prompt for performing the task based on the plurality of attributes; and

generating, in response to receiving a second interaction request for the interaction area, the prompt for performing the task.

13 . The electronic device of claim 12 , wherein generating the prompt comprises:

determining, in response to determining that the second interaction request is an interaction request for the data input box, the data to be processed based on the second interaction request;

setting, in response to determining that the second interaction request is an interaction request for a target attribute of the plurality of attributes, an attribute value of the target attribute based on the second interaction request; and

generating the prompt based on the data and the attribute value.

14 . The electronic device of claim 13 , wherein the target attribute is represented by utilizing a tag in the plurality of tags, and setting the attribute value based on the second interaction request comprises:

presenting, in response to determining that the second interaction request is an interaction request for the target attribute, a plurality of candidate attribute values associated with the target attribute; and

setting, in response to receiving a third interaction request for a target candidate attribute value of the plurality of candidate attribute values, the attribute value by utilizing the target candidate attribute value.

15 . The electronic device of claim 14 , wherein the interaction area further comprises a specifying control for specifying a presentation format of the interaction area, and the acts further comprise: presenting, in response to receiving a fourth interaction request for the specifying control, the interaction area by utilizing a presentation format specified by the fourth interaction request.

16 . The electronic device of claim 15 , wherein presenting the interaction area by utilizing the presentation format specified by the fourth interaction request comprises in response to determining that the presentation format specified by the fourth interaction request is an image format:

presenting the data input box in the image format in a first area of the interaction area; and

presenting the tag in the image format in a second area of the interaction area.

17 . The electronic device of claim 15 , wherein presenting the interaction area by utilizing the presentation format specified by the fourth interaction request comprises in response to determining that the presentation format specified by the fourth interaction request is a text format:

presenting an initial prompt for performing the task in the interaction area;

presenting the data input box in the text format at a first position of the initial prompt; and

presenting the tag in the text format at a second position of the initial prompt.

18 . The electronic device of claim 12 , wherein the interaction area further comprises a plurality of candidate layouts, each of the plurality of candidate layouts represents a respective layout of response elements in a response to the prompt, and the acts further comprise: generating, in response to receiving a fifth interaction request for a target candidate layout of the plurality of candidate layouts, the prompt based on the target candidate layout.

19 . A non-transitory computer-readable storage medium having stored thereon a computer program executable by a processor to implement acts comprising:

presenting, in response to receiving a first interaction request for specifying a type of a task to be performed, an interaction area matching the type, the interaction area comprising:

a data input box for inputting data to be processed;

a plurality of tags for specifying a plurality of attributes of a prompt for performing the task;

a prompt template matching the type, the prompt template specifying the prompt for performing the task based on the plurality of attributes; and

generating, in response to receiving a second interaction request for the interaction area, the prompt for performing the task.

20 . The non-transitory computer-readable storage medium of claim 19 , wherein generating the prompt comprises:

determining, in response to determining that the second interaction request is an interaction request for the data input box, the data to be processed based on the second interaction request;

setting, in response to determining that the second interaction request is an interaction request for a target attribute of the plurality of attributes, an attribute value of the target attribute based on the second interaction request; and

generating the prompt based on the data and the attribute value.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 12, 2026
From: JIANG, XIANG
To: SHANGHAI GEWU ZHIYUAN NETWORK TECHNOLOGY CO., LTD.
Reel/Frame 073440/0954 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 12, 2026
From: LI, HAN
To: SHENZHEN SPRING TECHNOLOGY CO., LTD.
Reel/Frame 073440/0956 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 12, 2026
From: SHANGHAI GEWU ZHIYUAN NETWORK TECHNOLOGY CO., LTD.; SHENZHEN SPRING TECHNOLOGY CO., LTD.
To: BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD.
Reel/Frame 073441/0001 →
Continuity (2)
Continuation PCTCN2024089893 · Apr 25, 2024
Related Publication 20250335453A1 · Oct 30, 2025
References Cited (18)
US 8170897B1 · Cohen · 2012 [cited by examiner]
US 10678402B1 · Parande · 2020 [cited by applicant]
US 11086894B1 · Srivastava · 2021 [cited by examiner]
US 11922541B1 · Parasnis et al. · 2024 [cited by applicant]
US 11928426B1 · Gutzeit · 2024 [cited by examiner]
US 20220035661A1 · Bahrami · 2022 [cited by examiner]
US 20230315856A1 · Lee · 2023 [cited by examiner]
US 20240205332A1 · Tzur · 2024 [cited by examiner]
US 20240320629A1 · Bespalov · 2024 [cited by examiner]
US 20240378530A1 · Chakravarthi · 2024 [cited by examiner]
CN 116956858A · 2023 [cited by applicant]
CN 117032515A · 2023 [cited by applicant]
CN 117312521A · 2023 [cited by applicant]
CN 117392254A · 2024 [cited by applicant]
CN 117475031A · 2024 [cited by applicant]
CN 117671067A · 2024 [cited by applicant]
ISA China National Intellectual Property Administration, International Search Report Issued in Application No. PCT/ CN2024/089893, Jan. 11, 2025, 6 pages. [cited by applicant]
European Patent Office, Extended European Search Report Issued in Application No. 24850253.6, Sep. 4, 2025, Germany, 9 pages. [cited by applicant]