Electronic device, method, and non-transitory computer-readable storage medium for providing data derived from data stored on clipboard

By integrating a generative AI model to generate additional data, the clipboard system in electronic devices addresses the limitation of limited data types, offering enriched content and improved user interaction.

WO2025254316A1PCT designated stage Publication Date: 2025-12-11SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2025/003885
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-06-26
Filing Date
2025-03-26
Publication Date
2025-12-11

AI Technical Summary

Technical Problem

Existing clipboard systems in electronic devices lack the ability to enhance and diversify the data stored beyond the original copied content, limiting user interaction and functionality.

Method used

Integrate a generative artificial intelligence model to generate additional data based on user input, allowing for the storage of enhanced data types such as images, videos, or executable links alongside the original copied data in the clipboard.

Benefits of technology

Enriches the clipboard content with diverse data types, enhancing user experience and functionality by providing additional context or related information to the copied data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2025003885_11122025_PF_FP_ABST
    Figure KR2025003885_11122025_PF_FP_ABST
Patent Text Reader

Abstract

This electronic device comprises: a memory storing instructions and including one or more storage media; and at least one processor including a processing circuit, wherein the instructions, when individually or collectively executed by the at least one processor, instruct the electronic device to: receive a user input copying first data; store the first data in a clipboard of the electronic device; generate a prompt related to the first data on the basis of the user input; provide the prompt to a generative artificial intelligence model; obtain second data derived from the prompt from the generative artificial intelligence model; and store the second data in the clipboard of the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device, method, and non-transitory computer-readable storage medium for providing data derived from data stored on a clipboard

[0001] The present disclosure relates to an electronic device, a method, and a non-transitory computer-readable storage medium for providing data derived from data stored on a clipboard.

[0002] A clipboard may represent a buffer provided by an operating system (OS) of an electronic device for executing copy and paste functions.

[0003] The above information may be provided as background art to aid in understanding the present disclosure. No claim or determination is made as to whether any of the above is applicable as prior art related to the present disclosure.

[0004] An electronic device is described. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to receive a user input for copying first data and, based on the user input, store the first data in a clipboard of the electronic device. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to generate a prompt related to the first data based on the user input. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to provide the prompt to a generative artificial intelligence model. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain second data derived from the prompt from the generative artificial intelligence model. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to store the second data on a clipboard of the electronic device.

[0005] A method is described. The method can be performed within an electronic device. The method can include receiving a user input for copying first data. The method can include storing the first data on a clipboard of the electronic device based on the user input. The method can include generating a prompt related to the first data based on the user input. The method can include providing the prompt to a generative artificial intelligence model. The method can include obtaining second data derived from the prompt from the generative artificial intelligence model. The method can include storing the second data on a clipboard of the electronic device.

[0006] A non-transitory computer-readable storage medium is described. The non-transitory computer-readable storage medium may store one or more programs. The one or more programs may include instructions that, when executed by an electronic device, cause the electronic device to receive a user input for copying first data. The one or more programs may include instructions that, when executed by the electronic device, cause the electronic device to store the first data on a clipboard of the electronic device based on the user input. The one or more programs may include instructions that, when executed by the electronic device, cause the electronic device to generate a prompt related to the first data based on the user input. The one or more programs may include instructions that, when executed by the electronic device, cause the electronic device to provide the prompt to a generative artificial intelligence model. The one or more programs may include instructions that, when executed by the electronic device, cause the electronic device to obtain second data derived from the prompt from the generative artificial intelligence model. The one or more programs may include instructions that, when executed by the electronic device, cause the electronic device to store the second data on a clipboard of the electronic device.

[0007] An electronic device is described. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to receive a user input to copy first data. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to store the first data on a clipboard of the electronic device based on the user input. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to detect an event that causes a paste command in relation to the first data stored on the clipboard of the electronic device. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to identify, based on the event, a software application used to detect the event. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to generate a prompt related to the first data and the software application. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to provide the prompt to a generative artificial intelligence model. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain second data derived from the prompt from the generative artificial intelligence model. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to provide a response to the event using the second data.

[0008] A method is described. The method may be performed within an electronic device. The method may include receiving a user input for copying first data. The method may include storing the first data on a clipboard of the electronic device based on the user input. The method may include detecting an event that causes a paste command in relation to the first data stored on the clipboard of the electronic device. The method may include identifying a software application used to detect the event based on the event. The method may include generating a prompt related to the first data and the software application. The method may include providing the prompt to a generative artificial intelligence model. The method may include obtaining second data derived from the prompt from the generative artificial intelligence model. The method may include providing a response to the event using the second data.

[0009] A non-transitory computer-readable storage medium is described. The non-transitory computer-readable storage medium may store one or more programs. The one or more programs may include instructions that, when executed by the electronic device, cause the electronic device to receive a user input to copy first data. The one or more programs may include instructions that, when executed by the electronic device, cause the electronic device to store the first data on a clipboard of the electronic device based on the user input. The one or more programs may include instructions that, when executed by the electronic device, cause the electronic device to detect an event that causes a paste command in relation to the first data stored on the clipboard of the electronic device. The one or more programs may include instructions that, when executed by the electronic device, cause the electronic device to identify, based on the event, a software application used to detect the event. The one or more programs may include instructions that, when executed by the electronic device, cause the electronic device to generate a prompt related to the first data and the software application. The one or more programs may include instructions that, when executed by the electronic device, cause the electronic device to provide the prompt to a generative artificial intelligence model. The one or more programs may include instructions that, when executed by the electronic device, cause the electronic device to obtain second data derived from the prompt from the generative artificial intelligence model.The one or more programs may include instructions that, when executed by the electronic device, cause the electronic device to provide a response to the event using the second data.

[0010] Figure 1 illustrates an example of the copy and paste function.

[0011] Figure 2 is a simplified block diagram of an electronic device.

[0012] FIG. 3 is a flowchart illustrating exemplary operations of an electronic device for storing fourth data derived from first data in a clipboard.

[0013] Figure 4 illustrates an example of user input for copying first data.

[0014] Figures 5a and 5b illustrate examples of second data obtained according to user input.

[0015] Figures 6a and 6b illustrate examples of third data obtained from a generative artificial intelligence model.

[0016] Figure 7 illustrates an example of generating a prompt related to first data.

[0017] Figures 8a and 8b illustrate examples of obtaining fourth data related to first data.

[0018] Figure 9 shows an example of a list of clipboards.

[0019] FIG. 10 is a flowchart illustrating exemplary operations of an electronic device that provides a response to an event causing a paste command.

[0020] Figure 11 illustrates an example of user input that causes a paste command while a list of clipboard items is displayed.

[0021] Figures 12a, 12b, and 12c illustrate examples of user input that results in a paste command without displaying a list of items on the clipboard.

[0022] Figure 13 shows an example of a window requesting additional prompts.

[0023] Figure 14 is a signal flow diagram between an electronic device and an external electronic device.

[0024] FIG. 15 is a flowchart illustrating exemplary operations of an electronic device for storing fourth data derived from first data in a clipboard according to an event that causes a paste command.

[0025] Figure 16 illustrates an example of content provided by a software application.

[0026] Figure 17 illustrates an example window for user input that triggers a paste command.

[0027] Figure 18 illustrates an example of a system within an electronic device.

[0028] Figure 19 is a flowchart illustrating exemplary operations performed based on commands originating within another software application.

[0029] FIG. 20 is a block diagram of an electronic device within a network environment according to various embodiments.

[0030] FIG. 21 illustrates an example of a generative artificial intelligence system, according to one embodiment.

[0031] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings so that those skilled in the art can easily implement the present disclosure. However, the present disclosure may be implemented in various different forms and is not limited to the embodiments described herein. In connection with the description of the drawings, the same or similar reference numerals may be used for identical or similar components. Furthermore, in the drawings and related descriptions, descriptions of well-known functions and configurations may be omitted for clarity and conciseness.

[0032] Figure 1 illustrates an example of the copy and paste function.

[0033] Referring to FIG. 1, the electronic device (100) may be described as a device available for providing an operation of storing data to a clipboard. For example, the electronic device (100) may be one of various types of mobile devices, such as a smartphone, tablet, wearable device, cellular phone, and / or other similar computing devices, that include circuits (or circuitry) for providing an operation of storing data to a clipboard.

[0034] For example, the electronic device (100) may provide a clipboard through the operating system (OS) of the electronic device (100). For example, the clipboard may represent a function provided to paste data copied or cut by a user input generated within the electronic device (100) within the electronic device (100) (or an external electronic device). For example, the data may be temporarily or semi-permanently stored in the clipboard when copied or cut. For example, the clipboard may represent a buffer provided by the operating system of the electronic device for executing the above function. For example, the clipboard may be formed within a memory. For example, the electronic device (100) may support the clipboard.

[0035] For example, the electronic device (100) may include a display. For example, the electronic device (100) may display a screen (110) through the display. For example, within a state (105), the electronic device (100) may display data (115) within the screen (110). For example, the electronic device (100) may receive a user input regarding data (115) among the data displayed within the screen (110). For example, based on the user input, the electronic device (100) may display a window (120) related to the user input for copying the data (115) within the screen (110). For example, the window (120) may include an executable object for copying the data (115).

[0036] For example, within state (105), the electronic device (100) may receive user input (125) regarding the object. For example, the electronic device (100) may store data (115) to a clipboard based on the user input (125).

[0037] For example, after a user input (125) is triggered, the electronic device (100) may display a list (131) of the clipboard of the electronic device (100) (e.g., a clipboard provided by the operating system of the electronic device (100)) within the execution screen (110) of the software application, such as a state (130). For example, the list (131) may include objects representing or expressing data stored within the clipboard. For example, the list (131) may include objects (135) representing or expressing data (115).

[0038] For example, within a state (130), the electronic device (100) can receive a user input (140) for an object (135). For example, the electronic device (100) can paste data (115) based on the user input (140), such as in a state (145). For example, the electronic device (100) can retrieve and input data (115) stored in a clipboard based on the user input (140). For example, within a state (145), the electronic device (100) can display an object (150) representing or expressing the data (115) within the screen (110).

[0039] For example, data (115) may include text data. According to various embodiments of the present invention, other data may be derived from data (115). For example, based on a user input for pasting data (115), providing said other data may be requested within the electronic device (100).

[0040] For example, the other data may be at least partially different from data (115). As a non-limiting example, the type of the other data (e.g., image data or uniform resource locator (URL) data) may be different from the type of data (115) (e.g., text data).

[0041] For example, within state (105), the electronic device (100) may store data (115) and the other data in the clipboard. For example, within state (130), the electronic device (100) may display a list (131) including objects representing or expressing the other data within the screen (110) as the other data is stored in the clipboard. For example, within state (130), the electronic device (100) may receive a user input for an object representing or expressing the other data. For example, within state (145), the electronic device (100) may display the other data on the screen (110) based on a user input for an object representing or expressing the other data. For example, the electronic device (100) may provide the other data by displaying the other data on the screen (110).

[0042] The electronic device (100) may perform the operations exemplified in the descriptions of FIGS. 3 to 17 to provide the above-described other data. The electronic device (100) may include components for performing the above-described operations. The components may be exemplified in the description of FIG. 2.

[0043] Figure 2 is a simplified block diagram of an electronic device.

[0044] Referring to FIG. 2, the electronic device (200) may be one of various types of mobile devices, such as a laptop computer, a smartphone, a tablet, a wearable device, a cellular phone, and other similar computing devices. For example, the electronic device (200) may include the electronic device (100) of FIG. 1 or may correspond to the electronic device (100) of FIG. 1. For example, the electronic device (200) may include at least a portion of the electronic device (2001) of FIG. 20 or may correspond to at least a portion of the electronic device (2001) of FIG. 20. For example, the electronic device (200) may include at least one processor (210) and memory (220). For example, the electronic device (200) may further include a communication circuit (230) and / or a display (240).

[0045] At least one processor (210) may include processing circuitry. For example, at least one processor (210) may include a central processing unit (CPU) (e.g., including processing circuitry). For example, at least one processor (210) may include a graphics processing unit (GPU) (e.g., including processing circuitry), a communication processor (CP), and / or a neural processing unit (NPU) (e.g., including processing circuitry). For example, at least one processor (210) may be described as an application processor. For example, at least one processor (210) may be configured to control memory (220), communication circuitry (230), and display (240). At least one processor (210) may be configured to individually or collectively execute instructions stored in memory (220) to cause the electronic device (200) (or the electronic device (100)) to perform at least some of the operations illustrated in the description of FIG. 1. At least one processor (210) may be configured to execute instructions stored in the memory (220) to cause the electronic device (200) to perform at least some of the operations illustrated in the descriptions of FIGS. 3 through 19.

[0046] The memory (220) may include one or more storage media. For example, the memory (220) may store various data used by at least one component of the electronic device (200) (e.g., at least one processor (210), a communication circuit (230), and / or a display (240)). For example, the data may include input data or output data for software and commands related thereto. The memory (220) may include volatile memory or non-volatile memory.

[0047] The communication circuit (230) may include hardware components for supporting the transmission and / or reception of signals between the electronic device (200) and an external electronic device. For example, the communication circuit (230) may include at least one of a modem, an antenna, and an optical / electronic (O / E) converter. The communication circuit (230) may support the transmission and / or reception of electrical signals based on various types of protocols, such as Ethernet, a local area network (LAN), a wide area network (WAN), wireless fidelity (WiFi), Bluetooth, Bluetooth low energy (BLE), zigbee, long term evolution (LTE), or 5G new radio (NR). For example, the communication circuit (230) may be used to receive signals from an external electronic device. For example, the communication circuit (230) may be used to transmit data to an external electronic device.

[0048] The display (240) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the strength of the force generated by the touch. For example, the display (240) may be configured to receive a user input for copying or cutting data. For example, the display (240) may be configured to receive a user input for pasting data. For example, the display (240) may be used to display data stored in a clipboard.

[0049] The electronic device (200) illustrated in the description of FIG. 2 can execute at least some of the operations illustrated in the description of FIGS. 3 to 19. For example, the operations illustrated in the description of FIGS. 3 to 19 can be caused by (or within) the electronic device (200) under the control of at least one processor (210).

[0050] FIG. 3 is a flowchart illustrating exemplary operations of an electronic device for storing fourth data derived from first data in a clipboard.

[0051] Referring to FIG. 3, in operation 300, at least one processor (210) may receive a user input for copying first data. For example, the first data may have a format that can be stored on the clipboard of the electronic device (200) and may have content. For example, the first data may be one of a file and a directory containing text, an image, a video, or an extended markup language (XML). However, the present invention is not limited thereto.

[0052] For example, the user input may be provided by an input means (e.g., a keyboard or a mouse) of the electronic device (200), or may be provided by an input means of an external electronic device (e.g., a wireless keyboard, a stylus pen, or a headset) connected to the electronic device (200). For example, the user input may indicate storing (or clipping) first data in the clipboard of the electronic device (200). For example, at least one processor (210) may store (or clip) the first data in the clipboard of the electronic device (200) based on the user input. For example, storing (or clipping) the first data in the clipboard of the electronic device (200) may indicate storing the first data in a buffer (or memory) of the electronic device (200). For example, storing (or clipping) the first data on the clipboard of the electronic device (100) may indicate at least temporarily storing address information of the first data (e.g., information for accessing a location in the non-volatile memory of the electronic device (200) where the first data is stored). For example, the user input may include the user input (125) of FIG. 1.

[0053] For example, the user input may include input for an executable object contained within a window. An example of user input for copying first data is illustrated in the description of FIG. 4.

[0054] Figure 4 illustrates an example of user input for copying first data.

[0055] Referring to FIG. 4, at least one processor (210) can display a screen (400) on a display (240). For example, at least one processor (210) can display data on the screen (400). For example, the data can include first data (410).

[0056] For example, at least one processor (210) may receive a first user input received with respect to first data (410) (or representing the first data (410)). For example, at least one processor (210) may display a window (420) in response to the first user input. For example, the window (420) may be superimposed on the screen (400). For example, the window (420) may include executable objects each corresponding to functions provided in relation to the first data (410). For example, the executable objects may include a first executable object (425) and a second executable object (440).

[0057] For example, within state (401), at least one processor (210) may receive a second user input (430) selecting a first executable object (425) from among the executable objects. For example, the first executable object (425) may be associated with a copy command. For example, the first executable object (425) may be described as a visual object indicating that data associated with the first data (410) is to be stored on the clipboard.

[0058] For example, at least one processor (210) may perform operations 310 to 340 of FIG. 3 based on a second user input (430).

[0059] For example, within state (435), at least one processor (210) may receive a third user input (445) selecting a second executable object (440) from among the executable objects. For example, the second executable object (440) may be associated with a copy command. For example, the second executable object (440) may be described as a visual object indicating that the first data (410) is to be stored on the clipboard.

[0060] For example, at least one processor (210) may store the first data (410) in the clipboard based on a third user input (445). For example, at least one processor (210) may refrain from (or bypass, or avoid) performing operations 310 to 340 of FIG. 3 based on the third user input (445).

[0061] For example, even when a third user input (445) is received, if at least one processor (210) performs operations 310 to 340 of FIG. 3, power consumption within the electronic device (200) may increase.

[0062] For example, power consumption within the electronic device (200) may be reduced by having at least one processor (210) refrain from (or bypass, or bypass) performing operations 310 to 340 of FIG. 3 based on a third user input (445).

[0063] Referring again to FIG. 3, at operation 310, at least one processor (210) may generate a prompt associated with the first data (410). For example, the at least one processor (210) may generate the prompt based on receiving a user input (e.g., user input (430) of FIG. 4) copying the first data (410).

[0064] For example, the prompt may be generated based on first data (410) and second data. For example, the second data may include data located in a second portion adjacent to a first portion on the screen where the first data (410) is located. For example, the second data may include data regarding a software application running in the foreground at the time a user input copying the first data (410) is received. Examples of the second data are illustrated in the descriptions of FIGS. 5A and 5B .

[0065] Figures 5a and 5b illustrate examples of second data obtained according to user input.

[0066] Referring to FIGS. 5A and 5B, at least one processor (210) can obtain second data (510) based on a user input copying first data (410).

[0067] For example, at least one processor (210) can display a screen (400) on a display (240). For example, at least one processor (210) can display first data (410) on the screen (400). For example, the first data (410) can be located on a first portion (415) of the screen (400). For example, while displaying the screen (400) on the display (240), at least one processor (210) can receive a user input for copying the first data (410).

[0068] For example, at least one processor (210) can display first data (410) and other data (505) together with the first data (410) on the screen (400). For example, the second data (510) can include the first data (410) and other data (505). For example, the other data (505) can be located on a second portion (500) of the screen (400). For example, the second portion (500) can be adjacent to the first portion (415). For example, as the second portion (500) is adjacent to the first portion (415), the other data (505) can be related to the first data (410). For example, the at least one processor (210) can obtain the second data (510) based on a user input copying the first data (410). For example, the second data (510) can be used to generate the above prompt.

[0069] Referring to FIG. 5B, at least one processor (210) may identify a software application (520) running (or operating in the foreground) within the electronic device (200) at the time of receiving a user input for copying the first data (410). For example, the at least one processor (210) may obtain second data (510) based on identifying the software application (520). For example, the second data (510) may include data regarding the software application (520).

[0070] For example, the software application (520) may provide content. For example, the second data (510) may include data related to the content. For example, the data related to the content may be related to the first data (410). For example, as the content is related to the first data (410), the second data (510) may be related to the first data (410). For example, the content may include content that can be provided within the software application (520). For example, the second data (510) related to the content may include data regarding a data format according to the content. For example, the second data (510) may be used to generate the prompt.

[0071] For example, at least one processor (210) may be required to obtain third data using the second data (510) to generate the prompt using the second data (510). For example, obtaining the third data by providing the second data (510) to a generative artificial intelligence model is exemplified in the descriptions of FIGS. 6A and 6B.

[0072] Figures 6a and 6b illustrate examples of third data obtained from a generative artificial intelligence model.

[0073] Referring to FIG. 6A, at least one processor (210) can generate a prompt (605) related to second data (510) from second data (e.g., second data (510) of FIG. 5A or 5B). For example, at least one processor (210) can generate a prompt (605) related to second data (510) by providing the second data (510) to a prompt generator. For example, the prompt (605) related to second data (510) can include text related to the second data (510).

[0074] For example, at least one processor (210) may provide a prompt (605) related to second data (510) to the generative artificial intelligence model (600). For example, at least one processor (210) may provide a prompt (605) related to second data (510) to the generative artificial intelligence model (600) based on generating the prompt (605) related to second data (510).

[0075] For example, the generative artificial intelligence model (600) may include a large language model (LLM), a natural language processing model (NLP model), and / or a large vision model (LVM). For example, the generative artificial intelligence model (600) may include an encoder-decoder structure. For example, the encoder may process input data to output compressed information (e.g., an attention mechanism), and the decoder may process the compressed information to output output data in token units. For example, the encoder and decoder may include independent attention networks, and may include a cross-attention network connecting the encoder and decoder.

[0076] For example, at least one processor (210) may obtain third data (610) from the generative artificial intelligence model (600). For example, the third data (610) may be derived from a prompt (605) related to the second data (510). As a non-limiting example, the third data (610) may include data regarding keywords included in the second data (510). As a non-limiting example, the second data (510) may be text data, and the third data (610) may include data regarding a genre (or writing style) of the text data. However, the present invention is not limited thereto.

[0077] As a non-limiting example, the server may include a generative artificial intelligence model (600). At least one processor (210) may transmit a prompt (605) related to second data to the server via the communication circuit (230) to obtain third data (610). The server may receive the prompt (605) related to the second data (510) from the electronic device (200). Based on receiving the prompt (605) related to the second data (510), the server may provide the prompt (605) related to the second data (510) to the generative artificial intelligence model (600). The server may obtain third data (610) derived from the prompt (605) related to the second data (510) from the generative artificial intelligence model (600). The server may transmit the third data (610) to the electronic device (200). At least one processor (210) may receive third data (610) from a server via a communication circuit (230), but is not limited thereto.

[0078] Referring to FIG. 6B , the prompt (605-1) associated with the second data (510) may include text. For example, the text may include natural language. As a non-limiting example, the prompt (605-1) associated with the second data (510) may include text such as, "Based on the sentence 'Sangodae, a fantastic landscape created by the cold air and moisture of a mysterious atmosphere, can be found on a mountain on a cold day. Sangodae has a truly mystical atmosphere.', tell me the genre of the text and three main keywords."

[0079] For example, at least one processor (210) can obtain third data (610-1) by providing a prompt (605-1) related to second data (510) to the generative artificial intelligence model (600).

[0080] For example, the third data (610-1) may include text. As a non-limiting example, the third data (610-1) may include text such as "The genre of the article is essay, and the main keywords are mountains, snow, and cold days." As a non-limiting example, text such as "The genre of the article is essay" included in the third data (610-1) may indicate the genre (or writing style, or style) of the text included in the second data (510). As a non-limiting example, text such as "The main keywords are mountains, snow, and cold days" included in the third data (610-1) may indicate keywords or summary text of the text included in the second data (510). However, the present invention is not limited thereto.

[0081] For example, at least one processor (210) may generate a prompt using the first data (410), the second data (510), and / or the third data (610). Generating the prompt is exemplified within the description of FIG. 7.

[0082] Figure 7 illustrates an example of generating a prompt related to first data.

[0083] Referring to FIG. 7, the electronic device (200) may include a prompt generator (710). For example, the prompt generator (710) may support a function of processing data through an algorithm. For example, the prompt generator (710) may process first data (410), second data (510), and / or third data (610). For example, the prompt generator (710) may perform the above function through software and / or functional means.

[0084] For example, at least one processor (210) may provide first data (410), second data (510), and / or third data (610) to a prompt generator (710). For example, the prompt generator (710) may generate a prompt (720) using the first data (410), second data (510), and / or third data (610). For example, the prompt (720) may be described as text including natural language.

[0085] For example, the prompt (720) may be associated with first data (410) copied based on user input.

[0086] For example, the prompt (720) may be associated with the second data (510). For example, the prompt (720) may be associated with the second data (510) displayed in a second portion (e.g., the second portion (500) of FIG. 5A) adjacent to a first portion (e.g., the first portion (415) of FIG. 5A) on which the first data (410) copied according to the user input is displayed on the screen. For example, the prompt (720) may be associated with information about a software application (e.g., the software application (520) of FIG. 5B) running in the electronic device (200) at the time when the user input for copying the first data (410) is received. For example, the prompt (720) may be associated with data related to content provided by the software application (e.g., the software application (520) of FIG. 5B).

[0087] For example, the prompt (720) may be associated with the third data (610). For example, the prompt (720) may be associated with data about the genre (or writing style) of the text contained in the second data (510). For example, the prompt (720) may be associated with keywords (or summary text) of the text contained in the second data (510).

[0088] For example, at least one processor (210) may generate a prompt (720) based on the first data (410). For example, at least one processor (210) may generate a prompt (720) further based on the second data (510) and / or the third data (610). For example, the prompt (720) may be used to generate data associated with a copy command.

[0089] As a non-limiting example, the server may include a prompt generator (710). As a non-limiting example, at least one processor (210) may transmit the first data (410), the second data (510), and / or the third data (610) to the server via the communication circuit (230) to provide the first data (410), the second data (510), and / or the third data (610) to the prompt generator (710). The server may receive the first data (410), the second data (510), and / or the third data (610) from the electronic device (200). The server may provide the first data (410), the second data (510), and / or the third data (610) to the prompt generator (710). The server may generate a prompt (720) using the prompt generator (710). The server may transmit a prompt (720) to the electronic device (200). At least one processor (210) may receive the prompt (720) from the server via a communication circuit (230), but is not limited thereto.

[0090] Referring again to FIG. 3, at operation 320, at least one processor (210) may provide a prompt (720) to the generative artificial intelligence model (800).

[0091] For example, in operation 330, at least one processor (210) may obtain fourth data by providing a prompt (720) to the generative artificial intelligence model (800). For example, the fourth data may be derived from the prompt (720). Obtaining the fourth data is exemplified in the descriptions of FIGS. 8A and 8B.

[0092] Figures 8a and 8b illustrate examples of obtaining fourth data related to first data.

[0093] Referring to FIG. 8A, the electronic device (200) may include a generative artificial intelligence model (800) (e.g., the generative artificial intelligence model (600) of FIG. 6B). For example, at least one processor (210) may provide a prompt (720) to the generative artificial intelligence model (800). At least one processor (210) may obtain fourth data (810) from the generative artificial intelligence model (800). For example, the fourth data (810) may be derived from the prompt (720).

[0094] As a non-limiting example, the server may include a generative artificial intelligence model (800). For example, at least one processor (210) may transmit a prompt (720) to the server via the communication circuit (230) to provide the prompt (720) to the generative artificial intelligence model (800). The server may receive the prompt (720) from the electronic device (200). The server may provide the prompt (720) to the generative artificial intelligence model. The server may obtain fourth data (810) from the generative artificial intelligence model. The server may transmit the fourth data (810) to the electronic device (200). The at least one processor (210) may receive the fourth data (810) from the server via the communication circuit (230). However, the present invention is not limited thereto.

[0095] For example, the fourth data (810) may be at least partially changed (or modified) from the first data (e.g., the first data (410) of FIG. 7). For example, the fourth data (810) may have a second type that is different from the first type of the first data (e.g., the first data (410) of FIG. 7). For example, the second type of the fourth data (810) may be determined according to a setting. For example, the setting for the second type of the fourth data (810) may be performed by a user. For example, the second type of the fourth data (810) may be determined according to the first data (e.g., the first data (410) of FIG. 7), the second data (e.g., the second data (510) of FIG. 7), and / or the third data (e.g., the third data (610) of FIG. 7). For example, the second type may include text, images, videos, executable links, and / or code. For example, the fourth data (810) may be related to the first data (e.g., the first data (410) of FIG. 7), the second data (e.g., the second data (510) of FIG. 7), and / or the third data (e.g., the third data (610) of FIG. 7).

[0096] Referring to FIG. 8B , in one embodiment, prompt (720) may include text such as prompt (720-1). For example, a first portion (801) of prompt (720-1) may be text related to first data (e.g., first data (410) of FIG. 7 ) associated with a user input that triggers a copy command. As a non-limiting example, the first portion (801) of prompt (720-1) may include text such as "The tree I encountered on the ridge of Jirisan is covered in white snow." As a non-limiting example, the text may be related to first data (e.g., first data (410) of FIG. 7 ). However, the present invention is not limited thereto.

[0097] For example, the second portion (802) of the prompt (720-1) may be text associated with a software application (e.g., the software application (520) of FIG. 5B) running within the electronic device (200) at the time a user input for copying the first data (e.g., the first data (410) of FIG. 7) is received. As a non-limiting example, the second portion (802) of the prompt (720-1) may include text such as “copied from a word file.” As a non-limiting example, at least one processor (210) may execute a word application within the electronic device (200) at the time a user input for copying the first data is received. However, the present invention is not limited thereto.

[0098] For example, the third part (803) and the fourth part (804) of the prompt (720-1) may be text related to the third data. For example, the third part (803) of the prompt (720-1) may include data about the genre (or writing style, or style) of the second data. For example, the fourth part (804) of the prompt (720-1) may include data about keywords (or summary text) of the second data. As a non-limiting example, the third part (803) of the prompt (720-1) may include text such as "The genre of the writing is essay." As a non-limiting example, the genre (or writing style, or style) of the second data may be described as essay. As a non-limiting example, the fourth part (804) of the prompt (720-1) may include text such as "The main keywords are mountain, snow, and cold day." As a non-limiting example, keywords in the second data could be described by text such as "mountain, snow, cold day."

[0099] For example, the fourth data (810-1) may include image type data. The fourth data (810-1) may be derived from the prompt (720-1). As a non-limiting example, the fourth data (810-1) may include an image, such as "a tree covered in snow," in relation to the first portion (801) of the prompt (720-1). As a non-limiting example, the fourth data (810-1) may include an image, such as "an image used in essay-type text," in relation to the second portion (802) of the prompt (720-1). As a non-limiting example, the fourth data (810-1) may include an image, such as "an image used in essay-type text," in relation to the third portion (803) of the prompt (720-1). As a non-limiting example, the fourth data (810-1) may include an image such as, but not limited to, “an image related to mountains, snow, and cold days,” in relation to the fourth portion (804) of the prompt (720-1).

[0100] Referring back to FIG. 3, at operation 340, at least one processor (210) may store the fourth data in the clipboard of the electronic device (200). For example, at least one processor (210) may obtain fourth data (810) derived from the prompt (720) from the generative artificial intelligence model (800) and store the fourth data (810) in the clipboard of the electronic device (200). For example, at least one processor (210) may store the fourth data (810) in the clipboard of the electronic device (200) in association with first data (e.g., first data (410) of FIG. 7).

[0101] For example, at least one processor (210) can obtain the fourth data (e.g., the fourth data (810) of FIG. 8A) without additional input to obtain the fourth data by performing operations 300 to 340.

[0102] As a non-limiting example, the first data (e.g., the first data (410) of FIG. 7) and the fourth data (810) stored in the clipboard may be displayed through a list of the clipboard of the electronic device (200). The first data (e.g., the first data (410) of FIG. 7) and the fourth data (810) displayed through the list are exemplified in the description of FIG. 9.

[0103] Figure 9 shows an example of a list of clipboards.

[0104] Referring to FIG. 9, the electronic device (200) can display a list (900-1, 900-2) of the clipboard of the electronic device (200). For example, the list (900-1, 900-2) may be displayed within the execution screen of the software application, like the list (131) of FIG. 1, or, unlike the list (131) of FIG. 1, may be displayed outside the execution screen. As a non-limiting example, when the list (900-1, 900-2) is displayed outside the execution screen, the list (900-1, 900-2) may be displayed together with the execution screen in a split screen view or in a pop-up view together with the execution screen.

[0105] For example, the list (900-1) may include an object (910) stored in the clipboard according to operation 300. At least one processor (210) may display the object (910) within the list (900-1). For example, the object (910) may represent or represent first data. For example, the object (910) may represent or represent at least a portion of the first data.

[0106] For example, the list (900-2) may include an object (920) stored in the clipboard according to operation 340. For example, the object (920) may represent or express fourth data. For example, the object (920) may represent or express at least a portion of the fourth data. For example, at least one processor (210) may display the object (910) and the object (920) within the list (900-2). For example, the object (920) may be displayed in association with the object (910). For example, at least one processor (210) may display the object (920) in a portion adjacent to a portion where the object (910) is displayed on the screen.

[0107] For example, at least one processor (210) may sequentially store data on the clipboard of the electronic device (200). For example, the electronic device (200) may store first data on the clipboard and then store fourth data on the clipboard. As a non-limiting example, the first data and the fourth data may be stored on the clipboard in a stack manner.

[0108] For example, at least one processor (210) may sequentially display objects (910) and objects (920) within the list (900-2) by storing first data in the clipboard and then storing fourth data in the clipboard. As a non-limiting example, the object (920) within the list (900-2) may be displayed on the screen to the left (or above) the object (910) within the list (900-2). However, the present invention is not limited thereto.

[0109] For example, the electronic device (200) may execute a function of pasting first data (or fourth data) in response to a user input (or touch input) to an object (920). The execution is exemplified in the description of FIG. 10.

[0110] FIG. 10 is a flowchart illustrating exemplary operations of an electronic device that provides a response to an event causing a paste command.

[0111] Referring to FIG. 10, in operation 1000, at least one processor (210) may detect an event that causes a paste command corresponding to the copy command. For example, operation 1000 may be executed after the fourth data (810) is stored in the clipboard in operation 340 of FIG. 3. For example, at least one processor (210) may receive a user input that causes a paste command. For example, at least one processor (210) may detect the event based on receiving the user input that causes the paste command. For example, at least one processor (210) may receive a signal from an external electronic device through the communication circuit (230) indicating that a paste command is caused within the external electronic device. For example, at least one processor (210) may detect the event based on receiving the signal.

[0112] In operation 1010, at least one processor (210) may provide a response to the event using the fourth data (810). For example, the at least one processor (210) may provide a response to the event by displaying the fourth data (810) in an area other than an area where a clipboard is displayed on the display (240) based on detection of the event. For example, the at least one processor (210) may provide a response to the event by displaying at least a portion of the fourth data (810) through the display (240) based on detection of the event. For example, the at least one processor (210) may provide a response to the event by transmitting the fourth data (810) to an external electronic device via the communication circuit (230) based on detection of the event. For example, at least one processor (210) may provide a response to the event by transmitting at least a portion of the fourth data (810) to an external electronic device via the communication circuit (230) based on detection of the event.

[0113] For example, a user input causing a paste command may be identified while the above list (e.g., list (900-2)) of the clipboard of the electronic device (200) is displayed. The user input identified while the above list of the clipboard of the electronic device (200) is displayed is exemplified within the description of FIG. 11.

[0114] Figure 11 illustrates an example of user input that causes a paste command while a list of clipboard items is displayed.

[0115] Referring to FIG. 11, at least one processor (210) can execute a software application. For example, at least one processor (210) can display an execution screen (1110) of the software application via a display (240). For example, at least one processor (210) can display a list (900-2) within the execution screen (1110) of the software application, such as a status (1100).

[0116] For example, the list (900-2) may be displayed according to a user input for displaying the list (900-2). For example, the list (900-2) may include an object (920) and an object (910). For example, the object (920) may represent or indicate fourth data stored in the clipboard of the electronic device (200) (e.g., fourth data (810) of FIG. 8A). For example, the object (910) may represent or indicate first data stored in the clipboard of the electronic device (200) (e.g., first data (410) of FIG. 7).

[0117] For example, at least one processor (210) may receive a touch input (1120) to an object (920). For example, at least one processor (210) may detect an event that causes a paste command corresponding to the copy command based on the touch input (1120) to the object (920). For example, at least one processor (210) may identify the touch input (1120) through a display (240) (e.g., a touchscreen).

[0118] For example, at least one processor (210) may, in response to a touch input (1120), display fourth data (1150) stored in the clipboard of the electronic device (200), such as in a state (1130), within the input portion (1140) of the execution screen (1110) of the software application. For example, at least one processor (210) may provide a response to the event by displaying the fourth data (1150) through an area of ​​the display (240) other than the area where the clipboard is displayed.

[0119] For example, a user input causing a paste command may be identified without displaying the list (e.g., list (900-2)) of the clipboard of the electronic device (200) (or before displaying the list of the clipboard of the electronic device (200)). The user input identified without displaying the list of the clipboard of the electronic device (200) (or before displaying the list of the clipboard of the electronic device (200)) is exemplified in FIGS. 12A, 12B, and 12C.

[0120] Figures 12a, 12b, and 12c illustrate examples of user input that results in a paste command without displaying a list of items on the clipboard.

[0121] Referring to FIGS. 12A, 12B, and 12C, at least one processor (210) may execute a software application. For example, at least one processor (210) may display an execution screen (1110) of the software application via a display (240).

[0122] The states in FIG. 12a, FIG. 12b, and FIG. 12c can be described as states in which the first data (410) and the fourth data (810) are stored in the clipboard.

[0123] Referring to FIG. 12A, at least one processor (210) may display a window (1206) on the execution screen (1110) of the software application for inquiring whether to invoke a paste command, such as a state (1200). For example, the window (1206) may be displayed according to a user input for displaying the window (1206). For example, the window (1206) for inquiring whether to invoke a paste command may include executable objects. For example, the window (1206) may include an executable object (1205) indicating that the paste command is invoked.

[0124] For example, at least one processor (210) may receive a touch input (1210) to an executable object (1205) indicating that a paste command is to be invoked via a window (1206). For example, at least one processor (210) may detect an event that causes a paste command corresponding to the copy command based on the touch input (1210) to an executable object (1205) indicating that a paste command is to be invoked via a window (1206). For example, at least one processor (210) may identify the touch input (1210) via a display (240) (e.g., a touchscreen).

[0125] For example, at least one processor (210) may, in response to a touch input (1210), display fourth data (1220) stored in the clipboard of the electronic device (200), such as a state (1215). For example, the fourth data (1220) may be expressed within an input portion (1230) of an execution screen (1110) of a software application. For example, at least one processor (210) may provide a response to the event by displaying the fourth data (1220) through the input portion (1230) of the execution screen (1110) on the display (240).

[0126] Referring to FIG. 12B, at least one processor (210) may display a window (1231) on the execution screen (1110) of the software application to inquire whether to use the fourth data (e.g., the fourth data (810) of FIG. 8A) to provide a response to the event, such as a state (1225). For example, the window (1231) may be displayed according to a user input for displaying the window (1231). For example, the window (1231) may include executable objects. For example, the window (1231) may include an executable object (1232) indicating that the fourth data is used to provide a response to the event.

[0127] For example, at least one processor (210) may receive a touch input (1235) for an executable object (1230) indicating use of fourth data through a window (1231). For example, at least one processor (210) may detect an event that causes a paste command corresponding to the copy command based on the touch input (1235) for an executable object (1232) indicating use of fourth data through a window (1231). For example, at least one processor (210) may identify the touch input (1235) through a display (240) (e.g., a touchscreen).

[0128] For example, at least one processor (210) may, in response to a touch input (1235), display fourth data (1220) stored in the clipboard of the electronic device (200), such as a state (1240). For example, the fourth data (1220) may be expressed within an input portion (1230) of an execution screen (1110) of a software application. For example, at least one processor (210) may provide a response to the event by displaying the fourth data (1220) through a display (240).

[0129] Referring to FIG. 12C, at least one processor (210) may display a window (1231) on the execution screen (1110) of the software application to inquire whether to use the fourth data (e.g., the fourth data (810) of FIG. 8A) to provide a response to the event, such as a state (1245). For example, the window (1231) may be displayed according to a user input for displaying the window (1231). For example, the window (1231) may include executable objects. For example, the window (1231) may include an executable object (1250) indicating that the first data is used to provide a response to the event.

[0130] For example, at least one processor (210) may receive a touch input (1255) indicating that the fourth data is not used via the window (1231). For example, the touch input (1255) may be described as a touch input (1255) for an executable object (1250) indicating that the first data is used to provide a response to the event. For example, at least one processor (210) may detect an event that causes a paste command corresponding to the copy command based on the touch input (1255) indicating that the fourth data is not used via the window (1231). For example, at least one processor (210) may identify the touch input (1255) via the display (240) (e.g., a touchscreen).

[0131] For example, at least one processor (210) may, in response to a touch input (1255), display first data (1265) stored in a clipboard of the electronic device (200), such as a state (1260). For example, the first data (1265) may be expressed within an input portion (1230) of an execution screen (1110) of a software application. For example, at least one processor (210) may provide a response to the event by displaying the first data (1265) through a display (240).

[0132] For example, at least one processor (210) may generate an additional prompt based on the event. For example, at least one processor (210) may obtain fifth data derived from the prompt and the additional prompt. The additional prompt and the fifth data are exemplified in the description of FIG. 13.

[0133] Figure 13 shows an example of a window requesting additional prompts.

[0134] Referring to FIG. 13, at least one processor (210) can execute a software application. For example, at least one processor (210) can display an execution screen (1110) of the software application through a display (240).

[0135] For example, at least one processor (210) may display fourth data (1220) within the execution screen (1110) of the software application based on an event corresponding to the copy command, such as state (1300). For example, the fourth data (1265) may be expressed within the input portion (1230) of the execution screen (1110) of the software application.

[0136] For example, at least one processor (210) may display a window (1305) on the execution screen (1110) of the software application to request an additional prompt in relation to the event, based on the event, such as the state (1300). For example, the window (1305) may be displayed as the fourth data (1220) is displayed. For example, the window (1305) may be displayed adjacent to the fourth data (1220) within the execution screen (1110) of the software application. For example, the window (1305) may include a text input portion (or field) (1310).

[0137] For example, at least one processor (210) may receive input (1312) that generates an additional prompt via a window (1305). For example, at least one processor (210) may receive input (1312) that generates an additional prompt via a text input portion (or field) (1310) within the window (1305).

[0138] As a non-limiting example, input (1312) may be received via a microphone, a mouse, a keyboard, keys (e.g., buttons), or a digital pen (e.g., a stylus pen). As a non-limiting example, input (1312) may include, but is not limited to, touch input via a soft keyboard.

[0139] For example, at least one processor (210) can generate an additional prompt based on input (1312) that generates an additional prompt through a window (1305). For example, at least one processor (210) can generate the additional prompt using text entered through the window (1305) (or utterance of the user). For example, at least one processor (210) can generate the additional prompt by providing text entered by the user (or text extracted from the utterance of the user) to a prompt generator. For example, at least one processor (210) can identify the input (1312) through a display (240) (e.g., a touchscreen), a microphone, or an external electronic device (e.g., a mouse, a keyboard, keys (e.g., buttons), or a digital pen (e.g., a stylus pen)).

[0140] For example, at least one processor (210) can provide the prompt (e.g., prompt (720) of FIG. 7) and additional prompts to the generative artificial intelligence model. For example, the prompt can be described as a prompt (e.g., prompt (720) of FIG. 7) generated by a prompt generator from the first data (e.g., first data (410) of FIG. 7), the second data (e.g., second data (510) of FIG. 7), and the third data (e.g., third data (610) of FIG. 7). As a non-limiting example, at least one processor (210) can provide the prompt (e.g., prompt (720) of FIG. 7) generated using the fourth data (1220) and additional prompts to the generative artificial intelligence model.

[0141] For example, at least one processor (210) may obtain fifth data (1320) from a generative artificial intelligence model (e.g., the generative artificial intelligence model (800) of FIG. 8A). For example, the fifth data (1320) may be derived from the prompt and additional prompts. For example, the at least one processor (210) may store the fifth data on a clipboard of the electronic device (200). For example, the fifth data (1320) may be at least partially different from the fourth data (1220). As a non-limiting example, the fifth data (1320) may be derived from the prompt and additional prompts generated using the fourth data (1220). However, the present invention is not limited thereto.

[0142] For example, at least one processor (210) may display fifth data (1320) stored in the clipboard of the electronic device (200), such as in the state (1315). For example, the fifth data (1320) may be expressed within an input portion (1230) of an execution screen (1110) of a software application. As a non-limiting example, the additional prompt may include text such as "in the form of a mountain picture." As a non-limiting example, since the additional prompt includes text such as "in the form of a mountain picture," the fifth data may appear as an image of a mountain shape. However, the present invention is not limited thereto.

[0143] For example, at least one processor (210) may provide a response to the input (1312) by displaying fifth data (1320) through a display (240).

[0144] For example, at least one processor (210) may provide a response to an event by transmitting fourth data to an external electronic device via the communication circuit (230) based on detection of an event that causes a paste command corresponding to a copy command. Transmitting the fourth data to the external electronic device to provide a response to the event is exemplified within the description of FIG. 14.

[0145] Figure 14 is a signal flow diagram between an electronic device and an external electronic device.

[0146] Referring to FIG. 14, in operation 1410, the external electronic device (1400) may identify a user input for a paste command. For example, the external electronic device (1400) may log in with a user account being used by the electronic device (200). For example, the user input for the paste command may include a touch input (or a voice input). For example, the external electronic device (1400) may identify a touch input through a display (e.g., a touchscreen). For example, the external electronic device (1400) may identify a voice input through a microphone. For example, the user input for the paste command may refer to the descriptions of FIGS. 11, 12A, 12B, and 12C. For example, in operation 1420, the external electronic device (1400) may, in response to the user input identified in operation 1410, broadcast or advertise a signal indicating that the user input is identified within the external electronic device (1400). For example, the external electronic device (1400) may, in response to the user input, transmit the signal to the electronic device (200).

[0147] For example, the signal may indicate that an event has occurred that triggers a paste command. For example, the signal may be encrypted by the user account. For example, the electronic device (200) may receive the signal from an external electronic device (1400) via the communication circuit (230). For example, the electronic device (200) may receive the signal based on the user account.

[0148] For example, at operation 1430, at least one processor (210) may detect an event that causes a paste command corresponding to a copy command based on receiving the signal.

[0149] For example, in operation 1440, at least one processor (210) may transmit fourth data (e.g., fourth data (810) of FIG. 8A) to the external electronic device (1400) through the communication circuit (230) based on detection of the event. For example, the at least one processor (210) may provide a response to the event by transmitting the fourth data to the external electronic device (1400) through the communication circuit (230). For example, the external electronic device (1400) may receive the fourth data from the electronic device (200). For example, the fourth data may be obtained by further considering the external electronic device (1400). As a non-limiting example, if the first data has a text type and the external electronic device (1400) is a smartwatch (or smartphone) having a relatively small display, the fourth data may be obtained as text data that summarizes the first data. As a non-limiting example, if the first data has an image type and the external electronic device (1400) is a desktop computer or laptop computer, the fourth data may be obtained as data containing text, images, and / or tables.

[0150] For example, in operation 1450, the external electronic device (1400) may display the fourth data through a display. For example, the operation of outputting the fourth data through a display may refer to the descriptions of FIGS. 11, 12A, 12B, and 12C. For example, the external electronic device (1400) may output the fourth data through a speaker. For example, the external electronic device (1400) may provide a response to a user input for inducing a paste command by displaying the fourth data through a display or outputting the fourth data through a speaker.

[0151]

[0152] FIG. 15 is a flowchart illustrating exemplary operations of an electronic device for storing fourth data derived from first data in a clipboard according to an event that causes a paste command.

[0153] Referring to FIG. 15, at operation 1500, at least one processor (210) may receive user input to copy first data.

[0154] For example, the first data (e.g., the first data (410) of FIG. 4A) may have a format that can be stored in the clipboard of the electronic device (200) and may have content. For example, the first data may be one of a file and a directory containing text, an image, a video, or XML (extended mark-up language). However, the present invention is not limited thereto.

[0155] For example, the user input may be provided by an input means (e.g., a keyboard or a mouse) of the electronic device (200), or may be provided by an input means of an external electronic device (e.g., a wireless keyboard, a stylus pen, or a headset) connected to the electronic device (200). For example, the user input may indicate storing (or clipping) first data in the clipboard of the electronic device (200). For example, at least one processor (210) may store (or clip) the first data in the clipboard of the electronic device (200) based on the user input. For example, storing (or clipping) the first data in the clipboard of the electronic device (200) may indicate storing the first data in a buffer of the electronic device (200). For example, storing (or clipping) the first data on the clipboard of the electronic device (100) may indicate at least temporarily storing address information of the first data (e.g., information for accessing a location in the non-volatile memory of the electronic device (200) where the first data is stored). For example, the user input may include the user input (125) of FIG. 1. For example, operation 1500 may correspond to operation 300 of FIG. 3.

[0156] For example, in operation 1510, at least one processor (210) may detect an event that causes a paste command in relation to the first data. For example, at least one processor (210) may receive a user input that causes the paste command. For example, at least one processor (210) may detect the event based on receiving the user input that causes the paste command. For example, at least one processor (210) may receive a signal from an external electronic device via the communication circuit (230) indicating that a paste command has been caused within the external electronic device. For example, at least one processor (210) may detect the event based on receiving the signal.

[0157] For example, in operation 1520, at least one processor (210) may identify a software application used to detect the event. For example, the software application may include one or more software applications that are executed within a time period from when the user input is received to when the event is detected.

[0158] The software application used to detect the above event is exemplified within the description of FIG. 16.

[0159] Figure 16 illustrates an example of content provided by a software application.

[0160] Referring to FIG. 16, at least one processor (210) may display a window (1615) on the execution screen (1110) of the first software application (1625) for inquiring whether to invoke a paste command, such as a state (1600). For example, the window (1615) for inquiring whether to invoke a paste command may include executable objects. For example, the window (1615) may include an executable object (1610) indicating that the paste command is invoked.

[0161] For example, at least one processor (210) can receive a touch input (1620) to an executable object (1610) indicating that a paste command is to be triggered via a window (1615). For example, at least one processor (210) can detect an event that triggers a paste command corresponding to the copy command based on the touch input (1620) to the executable object (1610) indicating that a paste command is to be triggered via a window (1615). For example, at least one processor (210) can identify the touch input (1210) via a display (240) (e.g., a touchscreen).

[0162] For example, at least one processor (210) may identify, based on the event, a software application running (or activated) in the foreground when the event is detected as a first software application (1625). For example, the first software application (1625) may include one or more software applications that are executed within a time period from when a user input for copying first data is received to when the event is detected.

[0163] For example, at least one processor (210) may obtain data related to first content provided from the first software application (1625) based on identifying the software application used to detect the event as the first software application (1625). For example, the first content may include content that can be provided within the first software application (1625). For example, the data related to the first content may include data regarding a data format according to the first content.

[0164] As a non-limiting example, the first software application (1625) may include a messenger application. The first content may include text, images, URLs, and / or media content provided within the messenger application. Data associated with the first content may include data regarding the type of data associated with the text, images, URLs, and / or media. For example, data associated with the first content may include font, font size, and / or letter spacing. For example, data associated with the first content may include deep links and / or shortcut links. However, the present invention is not limited thereto.

[0165] For example, at least one processor (210) may display a window (1645) on the execution screen (1636) of the second software application (1635) for inquiring whether to issue a paste command, such as a status (1630). For example, the window (1645) for inquiring whether to issue a paste command may include executable objects. For example, the window (1645) may include an executable object (1640) indicating that the paste command is to be issued.

[0166] For example, at least one processor (210) can receive a touch input (1650) to an executable object (1640) indicating that a paste command is to be triggered via a window (1645). For example, at least one processor (210) can detect an event that triggers a paste command corresponding to the copy command based on the touch input (1650) to the executable object (1640) indicating that the paste command is to be triggered via a window (1645). For example, at least one processor (210) can identify the touch input (1650) via a display (240) (e.g., a touchscreen).

[0167] For example, at least one processor (210) may identify, based on the event, the software application used to detect the event as a second software application (1635). For example, the second software application (1635) may be different from the first software application (1625). For example, the second software application (1635) may include one or more software applications that are executed within a time period from when a user input for copying the first data is received to when the event is detected.

[0168] For example, at least one processor (210) may obtain data related to second content provided from the second software application (1635) based on identifying the software application running in the foreground as the second software application (1635) upon detecting the event. For example, the second content may be different from the first content. For example, the second content may include content that may be provided within the second software application (1635). For example, the data related to the second content may include data regarding a data format according to the second content.

[0169] As a non-limiting example, the second software application (1635) may include a presentation application. As a non-limiting example, the second content may include text, images, diagrams, URLs, animations, templates, and / or media content provided within the presentation application. As a non-limiting example, data associated with the second content may include data regarding data types associated with the text, images, diagrams, URLs, animations, templates, and / or media. For example, data associated with the second content may include font, font size, letter spacing, and / or margin size. For example, data associated with the second content may include, but is not limited to, deep links and / or shortcut links.

[0170] Referring again to FIG. 15, at operation 1530, at least one processor (210) may generate a prompt associated with a software application (e.g., the first software application (1625) or the second software application (1635)) that is running (activated) in the foreground at the time the first data and paste event is detected. For example, the at least one processor (210) may generate the prompt (e.g., the prompt (720) of FIG. 7) based on identifying the software application (e.g., the first software application (1625) or the second software application (1635)) that is running (activated) in the foreground at the time the paste event is detected. For example, the at least one processor (210) may generate the prompt based on detection of the paste event.

[0171] For example, the prompt may be generated based on first data. For example, the prompt may be further generated based on second data. For example, the second data may include data related to content that may be provided within the first software application (1625) of FIG. 16 (or content that may be provided within the second software application (1635)). For example, the second data may include data located in a second portion adjacent to a first portion on the screen where the first data is located.

[0172] For example, the prompt may be generated based on third data. For example, at least one processor (210) may generate a prompt related to third data from second data. For example, the third data may be obtained by providing a prompt related to the second data to a generative artificial intelligence model. For example, operation 1530 may refer to the description of FIG. 7.

[0173] Referring again to FIG. 15, at operation 1540, at least one processor (210) may provide the prompt to a generative artificial intelligence model (e.g., the generative artificial intelligence model (800) of FIG. 8A). For example, operation 1540 may be referred to in the description of operation 320 of FIG. 3, FIG. 8A, and FIG. 8B.

[0174] For example, at operation 1550, at least one processor (210) may obtain fourth data (e.g., fourth data (810) of FIG. 8A) from a generative artificial intelligence model (e.g., generative artificial intelligence model (800) of FIG. 8A). For example, the fourth data may be derived from a prompt (e.g., prompt (720) of FIG. 8A).

[0175] For example, operation 1550 may refer to the description of operation 330 of FIG. 3, FIG. 8a, and FIG. 8b.

[0176] For example, the fourth data may be at least partially changed (or modified) from the first data (e.g., the first data (410) of FIG. 7). For example, the fourth data may have a second type that is different from the first type of the first data. For example, the fourth data may be related to the first data, the second data, and / or the third data. As a non-limiting example, when a paste event is detected, if the first software application (1625) is running in the foreground, it may include text, images, URLs, and / or media content. As a non-limiting example, when a second software application (1635) is running in the foreground, it may include data for data types related to text, images, diagrams, URLs, animations, templates, and / or media.

[0177] For example, at least one processor (210) may store the fourth data in the clipboard of the electronic device (200). For example, at least one processor (210) may store the fourth data in the clipboard in association with the first data. For example, in operation 1560, at least one processor (210) may provide a response to the event using the fourth data. For example, at least one processor (210) may provide a response to the event by displaying the fourth data through the display (240) based on detection of the event. For example, at least one processor (210) may provide a response to the event by displaying at least a portion of the fourth data through the display (240) based on detection of the event. For example, at least one processor (210) may provide a response to the event by transmitting the fourth data to an external electronic device through the communication circuit (230) based on detection of the event. For example, at least one processor (210) may provide a response to the event by transmitting at least a portion of the fourth data to an external electronic device via the communication circuit (230) based on detection of the event.

[0178] For example, at least one processor (210) may refrain from generating (or bypass, or not perform generation) a prompt associated with the first data and the software application if an event causing a paste command is not detected. For example, at least one processor (210) may reduce power consumption within the electronic device (200) by refraining from generating (or bypassing, or not perform generation) a prompt associated with the first data and the software application if an event causing a paste command is not detected. For example, at least one processor (210) may reduce the amount of data processed within the electronic device (200) by refraining from generating (or bypassing, or not perform generation) a prompt associated with the first data and the software application if an event causing a paste command is not detected.

[0179] For example, at least one processor (210) may generate the prompt based on a user input that causes a paste command for the fourth data. The prompt being generated based on a user input that causes a paste command for the fourth data is exemplified in the description of FIG. 17.

[0180] Figure 17 illustrates an example window for user input that triggers a paste command.

[0181] Referring to FIG. 17, at least one processor (210) can execute a software application. For example, at least one processor (210) can display an execution screen (1110) of the software application through a display (240).

[0182] For example, at least one processor (210) may display a window (1715) on the execution screen (1110) of the software application to inquire whether to generate fourth data to provide a response to the event, such as a state (1700). For example, the window (1715) may include executable objects. For example, the window (1715) may include an executable object (1710) indicating that the fourth data is generated to provide a response to the event.

[0183] For example, at least one processor (210) can receive a touch input (1720) on an executable object (1710) indicating generation of fourth data via a window (1715). For example, at least one processor (210) can detect an event that causes a paste command corresponding to the copy command based on the touch input (1720) on the executable object (1710) indicating generation of fourth data via a window (1715). For example, at least one processor (210) can identify the touch input (1720) via a display (240) (e.g., a touchscreen).

[0184] For example, at least one processor (210) may, in response to a touch input (1720), display a window (1755) indicating types of fourth data for providing a response to the event, such as a state (1730). For example, the window (1755) may be displayed overlapping the window (1715). For example, the window (1755) may be displayed adjacent to the portion where the window (1715) is displayed. For example, the window (1755) may include executable objects. For example, the window (1755) may include an executable object (1760) for selecting a type of fourth data for providing a response to the event. For example, the executable objects may correspond to the types of the fourth data.

[0185] For example, at least one processor (210) can receive a touch input (1750) to an executable object (1760) for selecting a type of fourth data for providing a response to the event via a window (1755). For example, at least one processor (210) can detect an event causing a paste command in relation to the first data based on the touch input (1750) to an executable object (1760) for selecting a type of fourth data for providing a response to the event via a window (1755). For example, at least one processor (210) can identify the touch input (1750) via a display (240) (e.g., a touchscreen).

[0186] For example, at least one processor (210) may generate the prompt in response to a touch input (1750). For example, it may take time for the prompt to be generated. For example, depending on the time required, there may be a delay between the time at least one processor (210) receives the touch input (1750) and the time at which it provides a response to the event.

[0187] For example, at least one processor (210) may, in response to a touch input (1750), display a window (1780) indicating that fourth data is being acquired, such as a status (1770). For example, the window (1780) may be displayed while the fourth data is being acquired. For example, the window (1780) may be displayed during a time interval between when the at least one processor (210) receives the touch input (1250) and when it provides a response to the event.

[0188] For example, at least one processor (210) may, based on acquiring the fourth data, stop displaying the window (1780) and display the fourth data within the input field. For example, the fourth data displayed within the input field may have a type corresponding to executable objects within the window (1755).

[0189] Figure 18 illustrates an example of a system within an electronic device.

[0190] Referring to FIG. 18, the electronic device (200) may include a clipboard manager (1800), an additional information collection unit (1805), or a software application (1810). For example, the electronic device (200) may further include a generative artificial intelligence model (800) and / or a prompt generator (710).

[0191] For example, the clipboard manager (1800) can control a clipboard (e.g., clipboards (900-1, 900-2) of FIG. 9). For example, the clipboard manager (1800) can be provided by the operating system of the electronic device (200) to execute copy and paste functions. For example, the clipboard manager (1800) can obtain data from a software application (1810) and store (or clip) the data on the clipboard. For example, the clipboard manager (1800) can provide the data stored (or clipped) on the clipboard to the software application (1810). For example, the clipboard manager (1800) can be used to provide data to the prompt generator (710) and / or the additional information collection unit (1805).

[0192] For example, the additional information collection unit (1805) may request additional data (or information) from the software application (1810) through an algorithm stored in the memory (220). For example, the additional information collection unit (1805) may receive data from the clipboard manager (1800) to identify whether additional data (or information) is required. For example, the additional information collection unit (1805) is described as a "part" for convenience of explanation, but the above function may be performed software-wise and / or functionally.

[0193] For example, the software application (1810) may correspond to the software application (520) of FIG. 5B and / or the software applications (1600, 1630) of FIG. 16. For example, the software application (1810) may correspond to the application (1946) of FIG. 20.

[0194] For example, the generative artificial intelligence model (800) may correspond to the generative artificial intelligence model (800) of FIG. 8A. For example, the prompt generator (710) may correspond to the prompt generator (710) of FIG. 7.

[0195] For example, in operation 1811, at least one processor (210) may control the clipboard manager (1800) to obtain first data from the software application (1810) based on a user input for copying first data (e.g., first data (410) of FIG. 4). For example, the at least one processor (210) may control the clipboard manager (1800) to store (or clip) the first data in a clipboard. For example, the user input for copying the first data may refer to the description of FIG. 4.

[0196] For example, in operation 1812, at least one processor (210) may control the clipboard manager (1800) to provide the first data stored in the clipboard to the prompt generator (710). For example, at least one processor (210) may control the prompt generator (710) to receive the first data from the clipboard manager (1800).

[0197] For example, in operation 1813, at least one processor (210) may control the clipboard manager (1800) to provide the first data stored in the clipboard to the additional information collection unit (1805). For example, at least one processor (210) may control the additional information collection unit (1805) to receive the first data from the clipboard manager (1800).

[0198] For example, in operation 1814, at least one processor (210) may control the prompt generator (710) to identify whether additional data (or information) other than the first data is required based on receiving the first data. For example, at least one processor (210) may control the prompt generator (710) to transmit a signal to the additional information collection unit (1805) to request additional data based on identifying that additional data (or information) other than the first data is required. For example, at least one processor (210) may control the additional information collection unit (1805) to receive a signal to request additional data from the prompt generator (710).

[0199] For example, at operation 1815, at least one processor (210) may control the additional information collection unit (1805) to transmit a signal to request additional data to the software application (1810) based on a signal for requesting additional data received from the prompt generator (710) (or based on receiving the first data from the clipboard manager (1800). For example, the at least one processor (210) may control the software application (1810) to receive a signal for requesting additional data from the additional information collection unit (1805).

[0200] For example, in operation 1816, at least one processor (210) may control the software application (1810) to transmit second data (e.g., second data (510) of FIG. 6A) to the additional information collection unit (1805) based on a signal requesting additional data. For example, the second data may include the requested additional data. For example, the second data may be exemplified within the description of FIGS. 5A and 5B. For example, the at least one processor (210) may control the additional information collection unit (1805) to receive the second data from the software application (1810).

[0201] For example, in operation 1817, at least one processor (210) may control the additional information collection unit (1805) to transmit the second data to the prompt generator (710) based on receiving the second data. For example, at least one processor (210) may control the prompt generator (710) to receive the second data from the additional information collection unit (1805).

[0202] For example, at least one processor (210) may control a prompt generator (710) to generate a prompt (e.g., prompt (720) of FIG. 7). For example, the operation of generating the prompt may be referred to the description of FIG. 7.

[0203] For example, in operation 1818, at least one processor (210) may control the prompt generator (710) to provide the generated prompt to the generative artificial intelligence model (800). For example, at least one processor (210) may control the generative artificial intelligence model (800) to receive the generated prompt from the prompt generator (710).

[0204] For example, at least one processor (210) may obtain fourth data (e.g., fourth data (810) of FIG. 8A) from the generative artificial intelligence model (800). For example, the operation of obtaining the fourth data may refer to the description of FIG. 8A.

[0205] For example, in operation 1819, at least one processor (210) may control the generative artificial intelligence model (800) to provide the fourth data to the clipboard manager (1800). For example, at least one processor (210) may control the clipboard manager (1800) to obtain the fourth data from the generative artificial intelligence model (800).

[0206] For example, at least one processor (210) can control the clipboard manager (1800) to store the fourth data within the clipboard.

[0207] For example, at operation 1820, at least one processor (210) may control the clipboard manager (1800) to provide the fourth data to the software application (1810) based on detecting an event causing a paste command. For example, the operation of detecting the event causing the paste command may correspond to operation 1000 of FIG. 10 .

[0208] For example, at least one processor (210) may provide the fourth data to the software application (1810) in response to an event that causes the paste command. For example, the operation of providing the fourth data to the software application (1810) may refer to the descriptions of operation 1010 of FIG. 10, FIG. 11, FIG. 12A, FIG. 12B, and FIG. 12C. For example, at least one processor (210) may receive a user input for copying first data (e.g., first data (410) of FIG. 4) within a screen (e.g., screen (400) of FIG. 4) provided from a first software application (e.g., software application (520) of FIG. 5B). For example, at least one processor (300) may receive a user input to copy first data (410) and detect an event that causes a paste command within a second screen provided from a second software application (e.g., the first software application (1600) or the second software application (1630) of FIG. 16).

[0209] Figure 19 is a flowchart illustrating exemplary operations performed based on commands originating within another software application.

[0210] Referring to FIG. 19, at operation 1910, at least one processor (210) may receive a user input to copy first data (e.g., first data (410) of FIG. 4) within a first screen (e.g., screen (400) of FIG. 4) provided from a first software application (1900). For example, the first software application (1900) may correspond to the software application (520) of FIG. 5B. For example, operation 1910 may correspond to operation 300 of FIG. 3.

[0211] For example, in operation 1915, at least one processor (210) may transmit the first data (410) to a clipboard manager (e.g., the clipboard manager (1800) of FIG. 18). For example, at least one processor (210) may control the clipboard manager (1800) to transmit the first data (410) to a prompt generator (e.g., the prompt generator (710) of FIG. 7) and an additional information collector (e.g., the additional information collector (1805) of FIG. 18). For example, operation 1915 may correspond to operations 1811, 1812, and 1813 of FIG. 18.

[0212] For example, at least one processor (210) may control the additional information collection unit (1805) to identify whether additional data (or additional information) other than the first data (410) is required based on the additional information collection unit (1805) receiving the first data (410).

[0213] For example, in operation 1920, at least one processor (210) may control the additional information collection unit (1805) to transmit a signal to request additional data to the first software application (1900) based on identifying that additional data other than the first data (410) is required. For example, at least one processor (210) may control the first software application (1900) to receive a signal to request additional data from the additional information collection unit (1805). For example, operation 1920 may correspond to operation 1815 of FIG. 18 .

[0214] For example, at operation 1925, at least one processor (210) may control the first software application (1900) to transmit second data (e.g., second data (510) of FIGS. 5A and / or 5B ) to the additional information collection unit (1805) in response to a signal for requesting additional data. For example, the second data (510) may include a data type available within the first software application (1900). For example, the second data (510) may include highlighted portions, fonts, genres of text, writing styles, and / or keywords related to the first data (410) that is text data. For example, operation 1925 may correspond to operations 1816 and 1817 of FIG. 18 .

[0215] For example, in operation 1930, at least one processor (210) may control the additional information collection unit (1805) to transmit second data (510) to the prompt generator (710). For example, at least one processor (210) may control the prompt generator (710) to receive second data (510) from the additional information collection unit (1805). For example, at least one processor (210) may control the prompt generator (710) to generate a first prompt (e.g., prompt (720) of FIG. 7) using the first data (410) and the second data (510) based on the prompt generator (710) receiving the second data (510). For example, operation 1930 may correspond to operation 310 of FIG. 3 or operation 1930 of FIG. 18.

[0216] For example, in operation 1935, at least one processor (210) may control a prompt generator (710) to provide the first prompt to the generative artificial intelligence model (800). For example, at least one processor (210) may control the generative artificial intelligence model (800) to receive the first prompt from the prompt generator (710).

[0217] For example, at least one processor (210) may control a generative artificial intelligence model (800) to obtain third data (e.g., fourth data (810) of FIG. 8A) based on receiving the first prompt. For example, the third data may be derived from the first prompt. For example, operation 1935 may correspond to operation 320 of FIG. 3 or operation 1818 of FIG. 18.

[0218] For example, in operation 1940, at least one processor (210) may control the generative artificial intelligence model (800) to transmit the third data to the clipboard manager (1800). For example, at least one processor (210) may control the clipboard manager (1800) to store (or clip) the third data on the clipboard. For example, operation 1940 may correspond to operation 340 of FIG. 3 or operation 1819 of FIG. 18.

[0219] For example, at operation 1945, at least one processor (210) may detect an event that triggers a paste command within a screen (e.g., screen (400) of FIG. 16) provided from a second software application (1905). For example, the second software application (1905) may correspond to the first software application (1600) or the second software application (1630) of FIG. 16. For example, operation 1945 may correspond to operation 1510 of FIG. 15.

[0220] For example, at operation 1950, at least one processor (210) may control the second software application (1905) to transmit fourth data related to the second software application (1905) to the prompt generator (710) and / or the additional information gathering unit (1805). For example, the fourth data may include a data type available within the second software application (1905).

[0221] For example, at least one processor (210) may control the prompt generator (710) to receive the fourth data from the additional information collection unit (1805). For example, at least one processor (210) may control the prompt generator (710) to generate a second prompt based on receiving the fourth data. For example, the second prompt may be generated further based on second data (510) related to the first software application (1900) other than the fourth data related to the second software application (1905). For example, the second prompt may be generated by further considering the association between the first software application (1900) and the second software application (1900). For example, operation 1950 may correspond to operations 1520 and 1530 of FIG. 15.

[0222] For example, in operation 1955, at least one processor (210) may control the prompt generator (710) to provide the second prompt to the generative artificial intelligence model (800). For example, at least one processor (210) may obtain fifth data based on providing the second prompt to the generative artificial intelligence model (800).

[0223] For example, the fifth data may be obtained based on second data (510) related to the first software application (1900) in addition to fourth data related to the second software application (1905).

[0224] For example, if the first software application (1900) is a software application that provides a word processing function and the second software application (1905) is a software application that provides a slide show function, the fifth data may include a table including text based on the second data (510), an image having a style based on the second data (510), text having a font based on the second data (510), and / or text having a format based on the second data (510). For example, if the second software application (1905) is a software application that provides a programming-related function, the fifth data may include text related to a computer language based on the fourth data. For example, operation 1955 may correspond to operation 1935. For example, operation 1955 may correspond to operations 1540 and 1550.

[0225] For example, in operation 1960, at least one processor (210) may control the clipboard manager (1800) to receive the fifth data from the generative artificial intelligence model (800). For example, at least one processor (210) may control the clipboard manager (1800) to store (or clip) the fifth data in the clipboard. For example, operation 1960 may correspond to operation 1819 of FIG. 18.

[0226] For example, in operation 1965, at least one processor (210) may control the clipboard manager (1800) to transmit the fifth data to the second software application (1905). For example, in response to an event causing a paste command, the at least one processor (210) may display the fifth data on a screen provided from the second software application (1905). For example, operation 1965 may correspond to operation 1560 of FIG. 15 .

[0227] FIG. 20 is a block diagram of an electronic device within a network environment according to various embodiments.

[0228] Referring to FIG. 20, in a network environment (2000), an electronic device (2001) may communicate with an electronic device (2002) via a first network (2098) (e.g., a short-range wireless communication network), or may communicate with at least one of an electronic device (2004) or a server (2008) via a second network (2099) (e.g., a long-range wireless communication network). In one embodiment, the electronic device (2001) may communicate with the electronic device (2004) via the server (2008). According to one embodiment, the electronic device (2001) may include a processor (2020), a memory (2030), an input module (2050), an audio output module (2055), a display module (2060), an audio module (2070), a sensor module (2076), an interface (2077), a connection terminal (2078), a haptic module (2079), a camera module (2080), a power management module (2088), a battery (2089), a communication module (2090), a subscriber identification module (2096), or an antenna module (2097). In some embodiments, the electronic device (2001) may omit at least one of these components (e.g., the connection terminal (2078)), or may have one or more other components added. In some embodiments, some of these components (e.g., sensor module (2076), camera module (2080), or antenna module (2097)) may be integrated into a single component (e.g., display module (2060)).

[0229] The processor (2020) may, for example, execute software (e.g., a program (2040)) to control at least one other component (e.g., a hardware or software component) of the electronic device (2001) connected to the processor (2020) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (2020) may store commands or data received from other components (e.g., a sensor module (2076) or a communication module (2090)) in the volatile memory (2032), process the commands or data stored in the volatile memory (2032), and store the resulting data in the non-volatile memory (2034). According to one embodiment, the processor (2020) may include a main processor (2021) (e.g., a central processing unit or an application processor) or a secondary processor (2023) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (2021). For example, when the electronic device (2001) includes the main processor (2021) and the secondary processor (2023), the secondary processor (2023) may be configured to use less power than the main processor (2021) or to be specialized for a given function. The secondary processor (2023) may be implemented separately from the main processor (2021) or as a part thereof.

[0230] The auxiliary processor (2023) may control at least a portion of functions or states associated with at least one component (e.g., the display module (2060), the sensor module (2076), or the communication module (2090)) of the electronic device (2001), for example, on behalf of the main processor (2021) while the main processor (2021) is in an inactive (e.g., sleep) state, or together with the main processor (2021) while the main processor (2021) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (2023) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (2080) or a communication module (2090)). In one embodiment, the auxiliary processor (2023) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (2001) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (2008)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.

[0231] The memory (2030) can store various data used by at least one component (e.g., the processor (2020) or the sensor module (2076)) of the electronic device (2001). The data can include, for example, software (e.g., the program (2040)) and input data or output data for commands related thereto. The memory (2030) can include volatile memory (2032) or non-volatile memory (2034).

[0232] The program (2040) may be stored as software in memory (2030) and may include, for example, an operating system (2042), middleware (2044), or an application (2046).

[0233] The input module (2050) can receive commands or data to be used in a component of the electronic device (2001) (e.g., a processor (2020)) from an external source (e.g., a user) of the electronic device (2001). The input module (2050) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).

[0234] The audio output module (2055) can output audio signals to the outside of the electronic device (2001). The audio output module (2055) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.

[0235] The display module (2060) can visually provide information to an external party (e.g., a user) of the electronic device (2001). The display module (2060) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. In one embodiment, the display module (2060) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.

[0236] The audio module (2070) can convert sound into an electrical signal, or vice versa. According to one embodiment, the audio module (2070) can acquire sound through the input module (2050), output sound through the sound output module (2055), or an external electronic device (e.g., electronic device (2002)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (2001).

[0237] The sensor module (2076) can detect the operating status (e.g., power or temperature) of the electronic device (2001) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (2076) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

[0238] The interface (2077) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (2001) to an external electronic device (e.g., the electronic device (2002)). In one embodiment, the interface (2077) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

[0239] The connection terminal (2078) may include a connector through which the electronic device (2001) may be physically connected to an external electronic device (e.g., the electronic device (2002)). In one embodiment, the connection terminal (2078) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0240] The haptic module (2079) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. In one embodiment, the haptic module (2079) may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

[0241] The camera module (2080) can capture still images and videos. In one embodiment, the camera module (2080) may include one or more lenses, image sensors, image signal processors, or flashes.

[0242] The power management module (2088) can manage power supplied to the electronic device (2001). According to one embodiment, the power management module (2088) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

[0243] A battery (2089) may power at least one component of the electronic device (2001). In one embodiment, the battery (2089) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0244] The communication module (2090) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (2001) and an external electronic device (e.g., electronic device (2002), electronic device (2004), or server (2008)), and the performance of communication through the established communication channel. The communication module (2090) may operate independently from the processor (2020) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (2090) may include a wireless communication module (2092) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (2094) (e.g., a local area network (LAN) communication module, or a power line communication module). Any of these communication modules may communicate with an external electronic device (2004) via a first network (2098) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (2099) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules may be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (2092) may use subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (2096) to verify or authenticate the electronic device (2001) within a communication network such as the first network (2098) or the second network (2099).

[0245] The wireless communication module (2092) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimizing terminal power and connecting multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (2092) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (2092) can support various technologies for securing performance in high-frequency bands, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (2092) can support various requirements specified in the electronic device (2001), an external electronic device (e.g., the electronic device (2004)), or a network system (e.g., the second network (2099)). According to one embodiment, the wireless communication module (2092) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 204 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.

[0246] The antenna module (2097) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (2097) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (2097) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (2098) or the second network (2099), may be selected from the plurality of antennas, for example, by the communication module (2090). A signal or power may be transmitted or received between the communication module (2090) and an external electronic device via the selected at least one antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (2097).

[0247] According to various embodiments, the antenna module (2097) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band.

[0248] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).

[0249] According to one embodiment, commands or data may be transmitted or received between the electronic device (2001) and an external electronic device (2004) via a server (2008) connected to a second network (2099). Each of the external electronic devices (2002 or 2004) may be the same or a different type of device as the electronic device (2001). According to one embodiment, all or part of the operations executed in the electronic device (2001) may be executed in one or more of the external electronic devices (2002, 2004, or 2008). For example, when the electronic device (2001) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (2001) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (2001). The electronic device (2001) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (2001) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (2004) may include an Internet of Things (IoT) device. The server (2008) may be an intelligent server utilizing machine learning and / or a neural network.According to one embodiment, an external electronic device (2004) or server (2008) may be included within the second network (2099). The electronic device (2001) may be applied to intelligent services (e.g., smart homes, smart cities, smart cars, or healthcare) based on 5G communication technology and IoT-related technology.

[0250] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.

[0251] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another component (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.

[0252] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).

[0253] Various embodiments of the present document may be implemented as software (e.g., a program (2040)) including one or more instructions stored in a storage medium (e.g., an internal memory (2036) or an external memory (2038)) readable by a machine (e.g., an electronic device (2001)). For example, a processor (e.g., a processor (2020)) of the machine (e.g., an electronic device (2001)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.

[0254] According to one embodiment, the method according to various embodiments disclosed in this document may be provided as included in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play Store™) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.

[0255] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.

[0256] FIG. 21 illustrates an example of a generative artificial intelligence system, according to one embodiment.

[0257] Referring to FIG. 21, a generative artificial intelligence system (2100) illustrates an example of a system including a generative AI model (2130). For example, the generative artificial intelligence system (2100) may be included in an electronic device (200). For example, the generative artificial intelligence system (2100) may be included in a server. For example, the generative AI model (2130) may include the generative artificial intelligence model (800) of FIG. 8A.

[0258] A user query / response interface (2110) can receive user input. The user input may be in the form of natural language, images, and / or videos. Furthermore, context information may also be transmitted when the user input is transmitted. The context information may include various additional information at the time of user input. For example, the various additional information may include information about the application currently being used by the user or information about the user's location. Furthermore, the user input may be in a mixed form of natural language, images, sounds, and context information. Furthermore, the user input may also be in a non-natural language form, such as selecting a menu. The user query / response interface (2110) can output the results of the generative artificial intelligence system (2100) to the user. The output may be in the form of natural language or specific content, and may also be provided in the form of an action requested by the user. The user query / response interface (2110) can output the results of the generative artificial intelligence system (2100) to the user. The output can be in natural language form, in the form of specific content, or in the form of actions requested by the user.

[0259] The AI ​​framework (2120) can receive user input and coordinate and control each component necessary to perform the user's intention based on the user's query.

[0260] User input received from the user question response interface (2110) can be transmitted to a prompt design component (2121). The prompt design component (2121) can be used to generate a prompt suitable for inputting the user input into an LLM or LMM. The prompt design component (2121) can be an AI component that uses a machine learning algorithm or a neural network to develop better prompts over time. The prompt design component (2121) can access knowledge repositories (2140) containing user preference data, a prompt library, and prompt examples based on the user input to generate a prompt, and transmit the generated prompt to the LLM or LMM.

[0261] The API / plug-in management component (2122) can communicate with external information when there is a request for additional information when passing user input as input to the generative model. The API / plug-in management component (2122) can establish a channel for communicating with the outside of the AI ​​Interface through the API, and can enable access to various data sources through the established channel. In addition, the API / plug-in management component (2122) can request an action through the API when the application / service component (2150) needs to perform an action that performs the user input as a final result rather than an intermediate result. Information obtained from the outside can be used to generate a prompt in the prompt design component (2121) together with the user input, or can be passed as an input to the generative AI model (2130).

[0262] The refiner component (2123) can fine-tune the output from the generative model. For example, the refiner component (2123) can verify that the content generated through the LLM and / or LMM is not irrelevant, biased, or harmful. Furthermore, the refiner component (2123) can determine the degree to which the content matches the user's desired result and, if necessary, perform additional processing. The refiner component (2123) can additionally configure and provide hints to the user to avoid undesirable output.

[0263] A generative AI model (2130) may generally refer to an artificial intelligence neural network that creates new types of data based on user input information. The generative AI model (2130) may include an image-generating model and / or a language-generating model. Representative models for generating images include a generative adversarial network (GAN) and a variational auto encoder (VAE), and examples include a Diffusion-based generative model that uses a VAE and a Transformer structure. A language-generating model is a model trained to output the most statistically appropriate output value based on input values, and representative examples include models such as CHAT-GPT 3 and CHAT-GPT 4.

[0264] For example, a language-generating model can refer to a language model that can perform inference without fine-tuning using methods such as few-shot learning, and can have more than 10 times more parameters (e.g., about 100 billion parameters) than existing general language models. For example, large-scale language models such as GPT-3 (generative pre-trained transformer 3) and GPT-4 (generative pre-trained transformer 4) are excellent few-shot learners that can be controlled through natural text prompts. They can solve NLP (natural language processing) problems by understanding patterns with only a small amount of data through prompts, which is possible with in-context learning. For example, a language-generating model can also be an LMM (large multimodal model) that can recognize various types of data input such as text, images, and speech and generate new data corresponding to them.

[0265] As described above, the electronic device (200) may include a memory (220) that stores instructions and includes one or more storage media. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to receive a user input to copy first data (410). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to store the first data (410) in a clipboard of the electronic device (200) based on the user input. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to generate a prompt related to the first data (410). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to provide the prompt to the generative artificial intelligence model (800). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to obtain second data (810) derived from the prompt from the generative artificial intelligence model (800). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to store the second data (810) in a clipboard of the electronic device (200).

[0266] For example, the instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to identify, based on the user input, a software application used to receive the user input. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to generate the prompt based on the first data (410) and the software application.

[0267] For example, the electronic device (200) may further include a display (240). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to display a screen on the display (240). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to receive a user input that copies the first data (410) positioned on a first portion of the screen while displaying the screen on the display (240). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to obtain, based on the user input, third data positioned on a second portion of the screen adjacent to the first portion of the screen. The above instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to generate the prompt based on the first data (410) and the third data.

[0268] For example, the instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to generate another prompt related to the third data from the third data. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to provide the another prompt to the generative artificial intelligence model (800). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to obtain fourth data derived from the another prompt from the generative artificial intelligence model (800). The above instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to generate the prompt based on the first data (410) and the fourth data.

[0269] For example, the electronic device (200) may further include a display (240). The user input may be a first user input. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to display a screen on the display (240). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to identify a second user input received with respect to the first data (410) within the screen. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to display, in response to the second user input, a window that is superimposed on the screen and includes executable objects each corresponding to functions provided with respect to the first data (410). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to refrain from generating the prompt based on a third user input selecting a first executable object associated with the copy command from among the executable objects. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to generate the prompt based on a first user input selecting a second executable object associated with the copy command from among the executable objects.

[0270] For example, the instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to detect an event that causes a paste command corresponding to a copy command caused by the user input. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to provide a response to the event using the second data (810) based on the event.

[0271] For example, the electronic device (200) may further include a display (240). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to provide a response to the event by displaying the second data (810) through the display (240), based on the event. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to display a window through the display (240) adjacent to the displayed second data (810) and requesting an additional prompt in relation to the event, based on the event.

[0272] For example, the instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to receive input that generates the additional prompt through the window. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to provide the prompt and the additional prompt to the generative artificial intelligence model (800). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to obtain third data derived from the prompt and the additional prompt from the generative artificial intelligence model (800). The above instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to store the third data in a clipboard of the electronic device (200).

[0273] For example, the electronic device (200) may further include a communication circuit (230). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to receive, through the communication circuit (230), a signal from an external electronic device (200) that indicates that a paste command has been issued within the external electronic device (200) logged in with a user account being used by the electronic device (200). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to detect the event based on the signal. The above instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to provide the response to the event by transmitting the second data (810) to the external electronic device (200) using the communication circuit (230), based on the event.

[0274] For example, the electronic device (200) may further include a display (240). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to display a window through the display (240) for inquiring whether to utilize the second data (810) to provide the response to the event, based on the event. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to provide the response to the event by displaying the second data (810) through the display (240), based on receiving an input indicating to utilize the second data (810) through the window. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to provide the response to the event by displaying the first data (410) through the display (240) based on receiving an input indicating that the second data (810) is not to be used through the window.

[0275] For example, the instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to store the second data (810) in association with the first data (410) on the clipboard.

[0276] For example, the first data (410) may have a first type, and the second data (810) may have a second type that is different from the first type.

[0277] The method as described above may be performed within the electronic device (200). The method may include an operation of receiving a user input for copying first data (410). The method may include an operation of storing the first data (410) in a clipboard of the electronic device (200). The method may include an operation of generating a prompt related to the first data (410) based on the user input. The method may include an operation of providing the prompt to a generative artificial intelligence model (800). The method may include an operation of obtaining second data (810) derived from the prompt from the generative artificial intelligence model (800). The method may include an operation of storing the second data (810) in a clipboard of the electronic device (200).

[0278] For example, the method may include an action of identifying, based on the user input, a software application used to receive the user input. The method may include an action of generating the prompt based on the first data (410) and the software application.

[0279] For example, the electronic device (200) may further include a display (240). The method may include an operation of displaying a screen on the display (240). The method may include an operation of receiving a user input for copying the first data (410) located on a first portion of the screen while displaying the screen on the display (240). The method may include an operation of obtaining, based on the user input, third data located on a second portion of the screen adjacent to the first portion of the screen. The method may include an operation of generating the prompt based on the first data (410) and the third data.

[0280] For example, the method may include an operation of generating another prompt related to the third data from the third data. The method may include an operation of providing the other prompt to the generative artificial intelligence model (800). The method may include an operation of obtaining fourth data derived from the other prompt from the generative artificial intelligence model (800). The method may include an operation of generating the prompt based on the first data (410) and the fourth data.

[0281] For example, the electronic device (200) may further include a display (240). The user input may be a first user input. The method may include an action of displaying a screen on the display (240). The method may include an action of identifying a second user input received with respect to the first data (410) within the screen. The method may include an action of displaying, in response to the second user input, a window overlaid on the screen and including executable objects, each of which corresponds to functions provided with respect to the first data (410). The method may include an action of refraining from generating the prompt based on a third user input of selecting a first executable object associated with a copy command from among the executable objects. The method may include an action of generating the prompt based on the first user input of selecting a second executable object associated with the copy command from among the executable objects.

[0282] For example, the method may include an action of detecting an event that triggers a paste command corresponding to a copy command triggered by the user input. The method may include an action of providing a response to the event using the second data (810) based on the event.

[0283] For example, the electronic device (200) may further include a display (240). The method may include an operation of providing a response to the event by displaying the second data (810) through the display (240) based on the event. The method may include an operation of displaying a window through the display (240) adjacent to the displayed second data (810) and requesting an additional prompt in relation to the event based on the event.

[0284] For example, the method may include an operation of providing the prompt and the additional prompt to the generative artificial intelligence model (800) based on receiving an input that generates the additional prompt through the window. The method may include an operation of obtaining third data derived from the prompt and the additional prompt from the generative artificial intelligence model (800). The method may include an operation of storing the third data in a clipboard of the electronic device (200).

[0285] For example, the electronic device (200) may further include a communication circuit (230). The method may include receiving a signal from the external electronic device (200) through the communication circuit (230), the signal indicating that a paste command has been generated within the external electronic device (200) that is logged in with a user account being used by the electronic device (200). The method may include detecting the event based on the signal. The method may include providing the response to the event by transmitting the second data (810) to the external electronic device (200) through the communication circuit (230), based on the event.

[0286] For example, the electronic device (200) may further include a display (240). The method may include an operation of displaying a window through the display (240) for inquiring whether to use the second data (810) to provide the response to the event based on the event. The method may include an operation of providing the response to the event by displaying the second data (810) through the display (240) based on receiving an input indicating to use the second data (810) through the window. The method may include an operation of providing the response to the event by displaying the first data (410) through the display (240) based on receiving an input indicating not to use the second data (810) through the window.

[0287] For example, the method may include an operation of storing the second data (810) in conjunction with the first data (410) on the clipboard.

[0288] For example, the first data (410) may have a first type, and the second data (810) may have a second type that is different from the first type.

[0289] As described above, the non-transitory computer-readable storage medium may store one or more programs. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to receive a user input to copy the first data (410). The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to store the first data (410) in a clipboard of the electronic device (200). The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to generate a prompt related to the first data (410) based on the user input. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to provide the prompt to the generative artificial intelligence model (800). The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to obtain second data (810) derived from the prompt from the generative artificial intelligence model (800). The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to store the second data (810) in a clipboard of the electronic device (200).

[0290] For example, the one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to identify, based on the user input, a software application used to receive the user input. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to generate the prompt based on the first data (410) and the software application.

[0291] For example, the electronic device (200) may further include a display (240). The one or more programs, when executed by the electronic device (200), may include instructions that cause the electronic device (200) to display a screen on the display (240). The one or more programs, when executed by the electronic device (200), may include instructions that cause the electronic device (200) to receive a user input that copies the first data (410) positioned on a first portion of the screen while displaying the screen on the display (240). The one or more programs, when executed by the electronic device (200), may include instructions that cause the electronic device (200) to obtain, based on the user input, a third data positioned on a second portion of the screen adjacent to the first portion of the screen. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to generate the prompt based on the first data (410) and the third data.

[0292] For example, the one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to generate another prompt related to the third data from the third data. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to provide the another prompt to the generative artificial intelligence model (800). The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to obtain fourth data derived from the another prompt from the generative artificial intelligence model (800). The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to generate the prompt based on the first data (410) and the fourth data.

[0293] For example, the electronic device (200) may further include a display (240). The user input may be a first user input. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to display a screen on the display (240). The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to identify a second user input received with respect to the first data (410) within the screen. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to display, in response to the second user input, a window that is superimposed on the screen and includes executable objects each corresponding to functions provided with respect to the first data (410). The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to refrain from generating the prompt based on a third user input that selects a first executable object associated with the copy command from among the executable objects. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to generate the prompt based on a first user input that selects a second executable object associated with the copy command from among the executable objects.

[0294] For example, the one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to detect an event that causes a paste command corresponding to a copy command caused by the user input. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to provide a response to the event using the second data (810) based on the event.

[0295] For example, the electronic device (200) may further include a display (240). The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to provide a response to the event by displaying the second data (810) through the display (240) based on the event. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to display, through the display (240), a window adjacent to the displayed second data (810) and requesting an additional prompt in relation to the event.

[0296] For example, the one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to provide the prompt and the additional prompt to the generative artificial intelligence model (800) based on receiving an input that generates the additional prompt through the window. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to obtain third data derived from the prompt and the additional prompt from the generative artificial intelligence model (800). The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to store the third data in a clipboard of the electronic device (200).

[0297] For example, the electronic device (200) may further include a communication circuit (230). The one or more programs, when executed by the electronic device (200), may include instructions that cause the electronic device (200) to receive, through the communication circuit (230), a signal from an external electronic device (200) that indicates that a paste command has been issued within the external electronic device (200) that is logged in with a user account being used by the electronic device (200). The one or more programs, when executed by the electronic device (200), may include instructions that cause the electronic device (200) to detect the event based on the signal. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to provide the response to the event by transmitting the second data (810) to the external electronic device (200) using the communication circuit (230) based on the event.

[0298] For example, the electronic device (200) may further include a display (240). The one or more programs, when executed by the electronic device (200), may include instructions that cause the electronic device (200) to display a window through the display (240) for inquiring whether to use the second data (810) to provide the response to the event, based on the event. The one or more programs, when executed by the electronic device (200), may include instructions that cause the electronic device (200) to provide the response to the event by displaying the second data (810) through the display (240), based on receiving an input indicating to use the second data (810) through the window. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to provide the response to the event by displaying the first data (410) through the display (240) based on receiving an input indicating that the second data (810) is not to be used through the window.

[0299] For example, the one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to store the second data (810) in association with the first data (410) on the clipboard.

[0300] For example, the first data (410) may have a first type, and the second data (810) may have a second type that is different from the first type.

[0301] As described above, the electronic device (200) may include a memory (220) that stores instructions and includes one or more storage media. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to receive a user input to copy first data (410). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to store the first data (410) in a clipboard of the electronic device (200) based on the user input. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to detect an event that causes a paste command in relation to the first data (410) stored in the clipboard of the electronic device (200). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to identify, based on the event, a software application used to detect the event. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to generate a prompt related to the first data (410) and the software application. The above instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to provide the prompt to the generative artificial intelligence model (800).The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to obtain second data (810) derived from the prompt from the generative artificial intelligence model (800). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to provide a response to the event using the second data (810).

[0302] For example, the instructions, when individually or collectively executed by the at least one processor (210), may include instructions that cause the electronic device (200) to obtain third data related to first content provided from the first software application based on identifying the first software application as the software application used to detect the event. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to generate the prompt based on the first data (410) and the third data. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to obtain fourth data related to second content different from the first content provided by the second software application based on identifying a second software application different from the first software application used to detect the event. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to generate the prompt based on the first data (410) and the fourth data.

[0303] For example, the electronic device (200) may further include a display (240). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to provide a response to the event by displaying the second data (810) through the display (240), based on the event. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to display a window through the display (240) adjacent to the displayed second data (810) and requesting an additional prompt in relation to the event, based on the event.

[0304] For example, the instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to provide the prompt and the additional prompt to the generative artificial intelligence model (800) based on receiving an input that generates the additional prompt through the window. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to obtain third data derived from the prompt and the additional prompt from the generative artificial intelligence model (800). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to store the third data in a clipboard of the electronic device (200).

[0305] For example, the electronic device (200) may further include a communication circuit (230). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to receive, through the communication circuit (230), a signal from an external electronic device (200) that indicates that a paste command has been issued within the external electronic device (200) logged in with a user account being used by the electronic device (200). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to detect the event based on the signal. The above instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to provide a response to the event by transmitting the second data (810) to the external electronic device (200) through the communication circuit (230) based on the event.

[0306] For example, the electronic device (200) may further include a display (240). The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to display a window through the display (240) for inquiring whether to utilize the second data (810) to provide the response to the event, based on the event. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to provide the response to the event by displaying the second data (810) through the display (240), based on receiving an input indicating to utilize the second data (810) through the window. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to provide the response to the event by displaying the first data (410) through the display (240) based on receiving an input indicating that the second data (810) is not to be used through the window. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to identify the software application.

[0307] For example, the instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to store the second data (810) in association with the first data (410) on the clipboard. The instructions, when individually or collectively executed by the at least one processor (210), may cause the electronic device (200) to provide a response to the event using the second data (810).

[0308] For example, the software application may include one or more software applications that are executed within a time period from when the user input is received to when the event is detected.

[0309] The method described above may be performed within an electronic device (200). The method may be performed within the electronic device (200). The method may include an operation of receiving a user input for copying first data (410). The method may include an operation of storing the first data (410) in a clipboard of the electronic device (200) based on the user input. The method may include an operation of detecting an event that causes a paste command in relation to the first data (410) stored in the clipboard of the electronic device (200). The method may include an operation of identifying a software application used to detect the event based on the event. The method may include an operation of generating a prompt related to the first data (410) and the software application. The method may include an operation of providing the prompt to a generative artificial intelligence model (800). The method may include an operation of obtaining second data (810) derived from the prompt from the generative artificial intelligence model (800). The method may include an operation of providing a response to the event using the second data (810).

[0310] For example, the method may include an operation of obtaining third data related to first content provided from the first software application based on identifying the first software application as the software application used to detect the event. The method may include an operation of generating the prompt based on the first data (410) and the third data. The method may include an operation of obtaining fourth data related to second content different from the first content provided from the second software application based on identifying the second software application different from the first software application as the software application used to detect the event. The method may include an operation of generating the prompt based on the first data (410) and the fourth data.

[0311] For example, the electronic device (200) may further include a display (240). The method may include an operation of providing a response to the event by displaying the second data (810) through the display (240) based on the event. The method may include an operation of displaying a window through the display (240) adjacent to the displayed second data (810) and requesting an additional prompt in relation to the event based on the event.

[0312] For example, the method may include an operation of providing the prompt and the additional prompt to the generative artificial intelligence model (800) based on receiving an input that generates the additional prompt through the window. The method may include an operation of obtaining third data derived from the prompt and the additional prompt from the generative artificial intelligence model (800). The method may include an operation of storing the third data in a clipboard of the electronic device (200).

[0313] For example, the electronic device (200) may further include a communication circuit (230). The method may include receiving a signal from the external electronic device (200) through the communication circuit (230), the signal indicating that a paste command has been generated within the external electronic device (200) that is logged in with a user account being used by the electronic device (200). The method may include detecting the event based on the signal. The method may include providing a response to the event by transmitting the second data (810) to the external electronic device (200) through the communication circuit (230), based on the event.

[0314] For example, the electronic device (200) may further include a display (240). The method may include an operation of displaying a window through the display (240) for inquiring whether to use the second data (810) to provide the response to the event based on the event. The method may include an operation of providing the response to the event by displaying the second data (810) through the display (240) based on receiving an input indicating to use the second data (810) through the window. The method may include an operation of providing the response to the event by displaying the first data (410) through the display (240) based on receiving an input indicating not to use the second data (810) through the window.

[0315] For example, the method may include an operation of storing the second data (810) in the clipboard in association with the first data (410). The method may include an operation of providing a response to the event using the second data (810).

[0316] For example, the software application may include one or more software applications that are executed within a time period from when the user input is received to when the event is detected.

[0317] As described above, the non-transitory computer-readable storage medium can store one or more programs. The non-transitory computer-readable storage medium can store one or more programs. The one or more programs, when executed by the electronic device (200), can include instructions that cause the electronic device (200) to receive a user input to copy the first data (410). The one or more programs, when executed by the electronic device (200), can include instructions that cause the electronic device (200) to store the first data (410) in a clipboard of the electronic device (200) based on the user input. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to detect an event that causes a paste command in relation to the first data (410) stored in the clipboard of the electronic device (200). The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to identify, based on the event, a software application used to detect the event. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to generate a prompt related to the first data (410) and the software application. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to provide the prompt to the generative artificial intelligence model (800).The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to obtain second data (810) derived from the prompt from the generative artificial intelligence model (800). The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to provide a response to the event using the second data (810).

[0318] For example, the one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to obtain third data related to first content provided from the first software application based on identifying the first software application as the software application used to detect the event. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to generate the prompt based on the first data (410) and the third data. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to obtain fourth data related to second content different from the first content provided from the second software application based on identifying the second software application different from the first software application as the software application used to detect the event. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to generate the prompt based on the first data (410) and the fourth data.

[0319] For example, the electronic device (200) may further include a display (240). The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to provide a response to the event by displaying the second data (810) through the display (240) based on the event. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to display, through the display (240), a window adjacent to the displayed second data (810) and requesting an additional prompt in relation to the event.

[0320] For example, the one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to provide the prompt and the additional prompt to the generative artificial intelligence model (800) based on receiving an input that generates the additional prompt through the window. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to obtain third data derived from the prompt and the additional prompt from the generative artificial intelligence model (800). The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to store the third data in a clipboard of the electronic device (200).

[0321] For example, the electronic device (200) may further include a communication circuit (230). The one or more programs, when executed by the electronic device (200), may include instructions that cause the electronic device (200) to receive, through the communication circuit (230), a signal from an external electronic device (200) that indicates that a paste command has been issued within the external electronic device (200) that is logged in with a user account being used by the electronic device (200). The one or more programs, when executed by the electronic device (200), may include instructions that cause the electronic device (200) to detect the event based on the signal. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to provide a response to the event by transmitting the second data (810) to the external electronic device (200) through the communication circuit (230) based on the event.

[0322] For example, the electronic device (200) may further include a display (240). The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to display a window through the display (240) for inquiring whether to use the second data (810) to provide the response to the event, based on the event. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to provide the response to the event by displaying the second data (810) through the display (240) based on receiving an input indicating use of the second data (810) through the window. The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to provide the response to the event by displaying the first data (410) through the display (240) based on receiving an input indicating that the second data (810) is not to be used through the window.

[0323] For example, the one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to store the second data (810) in the clipboard in association with the first data (410). The one or more programs may include instructions that, when executed by the electronic device (200), cause the electronic device (200) to provide a response to the event using the second data (810).

[0324] For example, the software application may include one or more software applications that are executed within a time period from when the user input is received to when the event is detected.

Claims

1. In an electronic device (200), A memory (220) storing instructions and including one or more storage media; and At least one processor (210) comprising a processing circuit, The above instructions, when executed individually or collectively by the at least one processor (210), Receive user input to copy first data (410); Based on the user input, the first data (410) is stored in the clipboard of the electronic device (200); Generate a prompt related to the first data (410); Providing the above prompt to the generative artificial intelligence model (800); Obtaining second data (810) derived from the prompt from the generative artificial intelligence model (800); and To store the above second data (810) in the clipboard of the electronic device (200), causing the above electronic device (200), Electronic device (200).

2. In claim 1, The above instructions, when executed individually or collectively by the at least one processor (210), Based on the user input, identifying the software application used to receive the user input, and To generate the prompt based on the first data (410) and the software application, causing the above electronic device (200), Electronic device (200).

3. In claim 1, Further including a display (240), The above instructions, when executed individually or collectively by the at least one processor (210), Displaying a screen on the above display (240), While displaying the screen on the display (240), receiving the user input for copying the first data (410) located on the first part of the screen, Based on the user input, third data located on a second portion of the screen adjacent to the first portion of the screen is acquired, and To generate the prompt based on the first data (410) and the third data, causing the above electronic device (200), Electronic device (200).

4. In claim 3, The above instructions, when executed individually or collectively by the at least one processor (210), Generate another prompt related to the third data from the third data, Providing the above other prompts to the generative artificial intelligence model (800), Obtaining fourth data derived from the other prompt from the above generative artificial intelligence model (800), and To generate the prompt based on the first data (410) and the fourth data, causing the above electronic device (200), Electronic device (200).

5. In claim 1, Further including a display (240), The above user input is, The first user input is, The above instructions, when executed individually or collectively by the at least one processor (210), Displaying a screen on the above display (240), Identify the second user input received for the first data (410) within the above screen, In response to the second user input, display a window that is superimposed on the screen and includes executable objects each corresponding to functions provided with respect to the first data (410), Refrain from generating the prompt based on a third user input selecting a first executable object associated with the copy command from among the above executable objects, and To generate the prompt based on the first user input selecting a second executable object associated with the copy command among the executable objects, causing the above electronic device (200), Electronic device (200).

6. In claim 1, The above instructions, when executed individually or collectively by the at least one processor (210), Detecting an event that causes a paste command corresponding to a copy command caused by the above user input, and Based on the above event, using the second data (810), to provide a response to the event, causing the above electronic device (200), Electronic device (200).

7. In claim 6, Further including a display (240), The above instructions, when executed individually or collectively by the at least one processor (210), Based on the above event, the second data (810) is displayed through the display (240), thereby providing the response to the event, and Based on the above event, display a window adjacent to the displayed second data (810) and requesting an additional prompt in relation to the event through the display (240). causing the above electronic device (200), Electronic device (200).

8. In claim 7, The above instructions, when executed individually or collectively by the at least one processor (210), Based on receiving input that generates the additional prompt through the window, providing the prompt and the additional prompt to the generative artificial intelligence model (800); Obtaining third data derived from the above prompt and the additional prompt from the above generative artificial intelligence model (800); and To store the above third data in the clipboard of the electronic device (200), causing the above electronic device (200), Electronic device (200).

9. In claim 6, Further comprising a communication circuit (230), The above instructions, when executed individually or collectively by the at least one processor (210), A signal indicating that a paste command is generated within an external electronic device (200) that is logged in with a user account being used by the electronic device (200) is received from the external electronic device (200) through the communication circuit (230), Based on the above signal, detecting the event, and Based on the above event, by transmitting the second data (810) to the external electronic device (200) using the communication circuit (230), the response to the event is provided. causing the above electronic device (200), Electronic device (200).

10. In claim 6, Further including a display (240), The above instructions, when executed individually or collectively by the at least one processor (210), Based on the above event, a window is displayed through the display (240) to inquire whether to use the second data (810) to provide the response to the above event, Providing the response to the event by displaying the second data (810) through the display (240) based on receiving an input indicating that the second data (810) is to be used through the window, and To provide the response to the event by displaying the first data (410) through the display (240) based on receiving an input indicating that the second data (810) is not to be used through the window, causing the above electronic device (200), Electronic device (200).

11. In claim 1, The above instructions, when executed individually or collectively by the at least one processor (210), To store the second data (810) in the clipboard in conjunction with the first data (410), causing the above electronic device (200), Electronic device (200).

12. In claim 1, The above first data (410) has a first type, and The above second data (810) has a second type different from the first type, Electronic device (200).

13. In the electronic device (200), A memory (220) storing instructions and including one or more storage media; and At least one processor (210) comprising a processing circuit, The above instructions, when executed individually or collectively by the at least one processor (210), Receive user input to copy first data (410); Based on the user input, the first data (410) is stored in the clipboard of the electronic device (200); Detecting an event that causes a paste command in relation to the first data (410) stored in the clipboard of the electronic device (200); Based on the above event, identify the software application used to detect the event, Generate a prompt related to the first data (410) and the software application, Providing the above prompt to the generative artificial intelligence model (800), Obtaining second data (810) derived from the prompt from the generative artificial intelligence model (800); and Using the above second data (810), to provide a response to the above event, causing the above electronic device (200), Electronic device (200).

14. In claim 13, The above instructions, when executed individually or collectively by the at least one processor (210), Based on identifying the first software application as the software application used to detect the above event: Obtaining third data related to the first content provided from the first software application; and Based on the first data (410) and the third data, the prompt is generated, and Based on identifying a second software application different from the first software application used to detect the above event: Obtaining fourth data related to second content different from the first content provided from the second software application; and To generate the prompt based on the first data (410) and the fourth data, causing the above electronic device (200), Electronic device (200).

15. In claim 13, Further including a display (240), The above instructions, when executed individually or collectively by the at least one processor (210), Based on the above event, the second data (810) is displayed through the display (240), thereby providing the response to the event, and Based on the above event, display a window adjacent to the displayed second data (810) and requesting an additional prompt in relation to the event through the display (240). causing the above electronic device (200), Electronic device (200).

Citation Information

Patent Citations

  • System and Method for providing contents recommendation service

    KR1020140056635A

  • Interactive prompting system for multimodal personalized content generation

    US11809688B1

  • Clipboard augmentation with references

    US20110126093A1

  • Data Sticker Generation for Sports

    US20230394728A1

  • Implementing Rendered Fabrication Results with Computer Numerically Controlled Machines Based on Natural Language Descriptions of Desired Fabrication Results

    US20240176321A1