US 12,174,906 B1
Utilizing a query response to automate a task associated with a webpage
Shuhao Zhang, Cupertino, CA (US); Qi Zhai, Hillsborough, CA (US); Daniel Lawrence Schafer, Portola Valley, CA (US); Pavlo Dudka, Mountain View, CA (US); Mingyang Li, Bellevue, WA (US); and Urvish Dipakkumar Thakker, Sunnyvale, CA (US)
Assigned to Tiny Fish Inc., Cupertino, CA (US)
Filed by Tiny Fish Inc., Cupertino, CA (US)
Filed on Jan. 17, 2024, as Appl. No. 18/415,431.
Claims priority of provisional application 63/534,541, filed on Aug. 24, 2023.
Int. Cl. G06F 16/00 (2019.01); G06F 16/9532 (2019.01); G06F 16/9538 (2019.01); G06F 16/958 (2019.01)
CPC G06F 16/986 (2019.01) [G06F 16/9532 (2019.01); G06F 16/9538 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A method, comprising:
receiving a query that includes one or more variables to be used for a script associated with a webpage, wherein the one or more variables correspond to one or more specific web elements associated with the webpage;
processing webpage content associated with the webpage that identifies a plurality of web elements associated with the webpage, wherein the one or more variables included in the query and the processed web content associated with the webpage that identifies the plurality of web elements associated with the webpage is provided to a large language model, wherein the large language model generates a query response that maps the one or more variables included in the query to a subset of the plurality of web elements associated with the webpage;
generating the script for the webpage utilizing the one or more variables included in the query based on the query response received from the large language model that maps the one or more variables included in the query to the subset of the plurality of web elements associated with the webpage; and
updating the generated script utilizing an updated query response in response to determining that the generated script is nonfunctional, wherein the updated query response maps the one or more variables included in the query to a second subset of the plurality of web elements associated with the webpage.