Search

KR-20260062775-A - METHOD FOR PROVIDING A RESPONSE AND ELECTRONIC DEVICE

KR20260062775AKR 20260062775 AKR20260062775 AKR 20260062775AKR-20260062775-A

Abstract

An electronic device is disclosed. The electronic device may include at least one processor comprising a display, a memory for storing instructions, and a processing circuit. When the instructions are executed individually or collectively by at least one processor, the electronic device may identify information related to a first theme of the electronic device based on the receipt of a first user input requesting a response, obtain a first prompt for obtaining a response based on the first user input and the information related to the first theme, input the first prompt into an artificial intelligence model to obtain a first response to the first user input, and display the first response on the display.

Inventors

  • 이형민
  • 김영오
  • 김현정
  • 도주환

Assignees

  • 삼성전자주식회사

Dates

Publication Date
20260507
Application Date
20250107
Priority Date
20241029

Claims (14)

  1. In electronic devices, display; Memory for storing instructions; and at least one processor including processing circuitry; and When the above instructions are executed individually or collectively by the at least one processor, the electronic device, Based on the receipt of a first user input requesting a response, information related to a first theme of the electronic device is identified, and A first prompt for obtaining the response based on the first user input and information related to the first theme, and Input the above-mentioned first prompt into an artificial intelligence model to obtain a first response to the above-mentioned first user input, and An electronic device that displays the first response above on the display.
  2. In paragraph 1, When the above instructions are executed individually or collectively by the at least one processor, the electronic device, Based on user input for changing the theme of the electronic device, the theme of the electronic device is changed from the first theme to the second theme, and Based on the receipt of a second user input requesting a response, information related to a second theme of the electronic device is identified, and Based on the information related to the second user input and the second theme, a second prompt for obtaining the response is obtained, and Input the above second prompt into the above artificial intelligence model to obtain a second response to the above second user input, and An electronic device that displays the above second response on the display.
  3. In paragraph 1, When the above instructions are executed individually or collectively by the at least one processor, the electronic device, Based on the receipt of the first user input, the relationship between the first user input and the theme of the electronic device is identified, and Based on the fact that the first user input is related to the theme of the electronic device, information related to the theme of the electronic device is identified, and the first prompt is obtained based on the first user input and the information related to the theme. An electronic device that, based on the fact that the first user input is not related to the theme of the electronic device, obtains a third prompt to obtain the response based on the first user input, inputs the third prompt to the artificial intelligence model to obtain a third response to the user input, and displays the third response on the display.
  4. In paragraph 1, The information related to the first theme above is, An electronic device comprising information for configuring the artificial intelligence model so that the artificial intelligence model provides a response based on the first theme.
  5. In paragraph 4, An electronic device comprising information related to the first theme, wherein the information includes information for setting a persona corresponding to the first theme.
  6. In paragraph 1, When the above instructions are executed individually or collectively by the at least one processor, the electronic device, Based on the first user input, information and context related to the first theme, and the first prompt for obtaining the response, The above context includes at least one of the context of the electronic device and the user context, and The context of the electronic device includes at least one of the place, season, and time where the electronic device is located, and The above user context is an electronic device including at least one of the user's nationality, race, age, and gender.
  7. In paragraph 1, Including a communication circuit; further The information related to the first theme above is, An electronic device that receives from an accessory attached to the electronic device through the above communication circuit.
  8. In a method for providing a response of an electronic device, An operation to identify information related to a first theme of the electronic device based on the receipt of a first user input requesting a response; An operation to obtain a first prompt for obtaining the response based on the first user input and information related to the first theme; The operation of inputting the first prompt into an artificial intelligence model to obtain a first response to the first user input; and A method for providing a response, comprising the operation of displaying the first response above.
  9. In paragraph 8, An operation to change the theme of the electronic device from the first theme to the second theme based on user input for changing the theme of the electronic device; An operation to identify information related to a second theme of the electronic device based on the receipt of a second user input requesting a response; An operation to obtain a second prompt for obtaining the response based on information related to the second user input and the second theme; The operation of inputting the second prompt into the artificial intelligence model to obtain a second response to the second user input; and A method for providing a response, further comprising the operation of displaying the second response above.
  10. In paragraph 8, An operation to identify whether there is a relationship between the first user input and the theme of the electronic device based on the receipt of the first user input; An operation of identifying information related to the theme of the electronic device based on the first user input being related to the theme of the electronic device, and obtaining the first prompt based on the first user input and the information related to the theme; and A method for providing a response, further comprising the operation of obtaining a third prompt to obtain the response based on the first user input, based on the fact that the first user input is not related to the theme of the electronic device, inputting the third prompt into the artificial intelligence model to obtain a third response to the user input, and displaying the third response.
  11. In paragraph 8, The information related to the first theme above is, A method for providing a response, comprising information for configuring the artificial intelligence model so that the artificial intelligence model provides a response based on the first theme.
  12. In Paragraph 11, A method for providing a response, wherein information related to the first theme above includes information for setting a persona corresponding to the first theme.
  13. In paragraph 8, The operation of obtaining the above-mentioned first prompt is, The operation of obtaining the first prompt for obtaining the response based on the first user input, information and context related to the first theme; The above context includes at least one of the context of the electronic device and the user context, and The context of the electronic device includes at least one of the place, season, and time where the electronic device is located, and A method for providing a response, wherein the user context includes at least one of the user's nationality, race, age, and gender.
  14. In paragraph 8, The information related to the first theme above is, A method for providing a response received from an accessory attached to the electronic device.

Description

Method for providing a response and electronic device The present disclosure relates to a method and an electronic device for providing a response. Generative AI is a technology that learns the structure and patterns of data and generates new data based on input data. Generative AI can generate various types of data, such as text and images. FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments. FIGS. 2a to 2c illustrate various types of electronic devices according to an embodiment. FIG. 3a illustrates an example of an accessory that is detachably attached to a first type of electronic device according to one embodiment. FIG. 3b illustrates an example of an accessory that is attached to and detached from a second type of electronic device according to one embodiment. FIG. 3c illustrates an example of an accessory that is attached to and detached from a third type of electronic device according to one embodiment. FIG. 4 illustrates an example of an electronic device according to one embodiment displaying content as an accessory is mounted on the electronic device. FIGS. 5A and FIGS. 5B illustrate an example of a block diagram of an electronic device according to one embodiment. FIG. 6 is a diagram illustrating the operation of an electronic device according to one embodiment providing a response to user input. FIGS. 7, FIGS. 8, and FIGS. 9 are drawings for explaining information related to the theme of an electronic device according to one embodiment. FIGS. 10a, FIGS. 10b, and FIGS. 10c are drawings for illustrating an example of an operation in which an electronic device obtains a response to user input according to one embodiment. FIGS. 11a, FIGS. 11b, and FIGS. 11c are drawings for illustrating an example of an operation in which an electronic device obtains a response to user input according to one embodiment. FIGS. 12a, FIGS. 12b, and FIGS. 12c are drawings for illustrating an example of an operation in which an electronic device obtains a response to user input according to one embodiment. FIG. 13 is a diagram illustrating the operation of an electronic device according to one embodiment providing a response to user input. FIG. 14 is a diagram illustrating the operation of an electronic device according to one embodiment providing a response to user input. FIGS. 15a and FIGS. 15b are drawings illustrating an example of an operation in which an electronic device obtains a response to user input according to one embodiment. FIGS. 16a and FIGS. 16b are drawings for illustrating an example of an operation in which an electronic device obtains a response to user input according to one embodiment. FIG. 17 is a diagram illustrating the operation of an electronic device according to one embodiment providing a response to user input. FIGS. 18a, FIGS. 18b, and FIGS. 18c are drawings for illustrating an example of an operation in which an electronic device obtains a response to user input according to one embodiment. FIGS. 19a, FIGS. 19b, and FIGS. 19c are drawings for illustrating an example of an operation in which an electronic device obtains a response to user input according to one embodiment. FIGS. 20a, FIGS. 20b, and FIGS. 20c are drawings for illustrating an example of an operation in which an electronic device obtains a response to user input according to one embodiment. FIGS. 21a, FIGS. 21b, and FIGS. 21c are drawings for illustrating an example of an operation in which an electronic device obtains a response to user input according to one embodiment. FIG. 22 is a diagram illustrating an example of an operation in which an electronic device provides a response to user input using an artificial intelligence model according to one embodiment. The present disclosure will be described in detail below with reference to the attached drawings. The electronic device according to the various embodiments disclosed in this document may be of various forms. The electronic device may include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a consumer electronics device. The electronic device according to the embodiments of this disclosure is not limited to the devices described above. The various embodiments of this document and the terms used therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutions of said 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 said items unless the relevant context clearly indicates otherwise. In this document, phrases such as "A or B," "at least one of A and B," "at least one of A or B," "A, B or C," "a