System
The chat system addresses the inconvenience of navigating multiple interfaces by allowing users to access product information and subscription details through a single interface, enhancing user convenience and satisfaction.
Patent Information
- Application Number
- JP2024163680
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-09-20
- Filing Date
- 2024-09-20
- Publication Date
- 2025-04-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Conventional systems require users to navigate multiple interfaces to obtain information such as product stock availability, arrival dates, and campaign subscriptions, leading to inconvenience and inefficiency.
A chat system that allows users to ask questions and receive answers based on data held, integrated with an optional fee structure, enabling users to access information through a single interface.
The system provides users with quick and accurate information, simplifies the process of obtaining product details, and clarifies the fee structure, enhancing user convenience and satisfaction.
Smart Images

Figure 2025049058000001_ABST
Abstract
Description
[Technical Field]
[0001] The technology of the present disclosure relates to a system. [Background technology]
[0002] Patent document 1 discloses a persona chatbot control method performed by at least one processor, the method including the steps of receiving a user utterance, adding the user utterance to a prompt including an instruction sentence related to a description of the chatbot character, encoding the prompt, and inputting the encoded prompt into a language model to generate a chatbot utterance in response to the user utterance. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Publication No. 2022-180282 Summary of the Invention [Problem to be solved by the invention]
[0004] With conventional systems, users had to use different methods to obtain information such as which stores had the product in stock, when the product would arrive, and whether they wanted to join a campaign, which was time-consuming. [Means for solving the problem]
[0005] The system of the present invention provides a chat system that allows users to ask questions and provides answers to those questions based on stored data. An optional fee is also charged to enable users to use the system. This allows users to obtain information such as which stores have products in stock, when products will arrive, and offers to join campaigns, all through a single system, saving them time and effort. [Brief explanation of the drawings]
[0006] [Figure 1] 1 is a conceptual diagram showing an example of the configuration of a data processing system according to a first embodiment. [Figure 2] 1 is a conceptual diagram showing an example of main functions of a data processing device and a smart device according to a first embodiment. [Figure 3] FIG. 10 is a conceptual diagram showing an example of the configuration of a data processing system according to a second embodiment. [Figure 4] FIG. 10 is a conceptual diagram showing an example of main functions of a data processing device and smart glasses according to a second embodiment. [Figure 5] FIG. 10 is a conceptual diagram showing an example of the configuration of a data processing system according to a third embodiment. [Figure 6] FIG. 11 is a conceptual diagram showing an example of main functions of a data processing device and a headset-type terminal according to a third embodiment. [Figure 7] FIG. 10 is a conceptual diagram showing an example of the configuration of a data processing system according to a fourth embodiment. [Figure 8] FIG. 10 is a conceptual diagram showing an example of main functions of a data processing device and a robot according to a fourth embodiment. [Figure 9] 1 shows an emotion map onto which multiple emotions are mapped. [Figure 10] 1 shows an emotion map onto which multiple emotions are mapped. [Figure 11] FIG. 2 is a sequence diagram showing a flow of processing in the data processing system according to the first embodiment of the first form example. [Figure 12] FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in Application Example 1 of Embodiment 1. [Figure 13] FIG. 10 is a sequence diagram showing a processing flow of a data processing system in a second embodiment of the second form example. [Figure 14] FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in Application Example 2 of Embodiment Example 2. [Figure 15]FIG. 10 is a sequence diagram showing the flow of processing in a data processing system according to a third embodiment of the third embodiment. [Figure 16] FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in Application Example 3 of Embodiment 3. [Figure 17] FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in the first embodiment of the first form example when an emotion engine is combined. [Figure 18] FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in Application Example 1 of Form Example 1 when an emotion engine is combined. [Figure 19] FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in the second embodiment of the second form example when an emotion engine is combined. [Figure 20] FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in Application Example 2 of Form Example 2 when an emotion engine is combined. [Figure 21] FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in the third embodiment of the third form example when an emotion engine is combined. [Figure 22] FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in Application Example 3 of Form Example 3 when an emotion engine is combined. DETAILED DESCRIPTION OF THE INVENTION
[0007] An example of an embodiment of a system according to the technology of the present disclosure will be described below with reference to the accompanying drawings.
[0008] First, the terms used in the following description will be explained.
[0009] In the following embodiments, a coded processor (hereinafter simply referred to as a "processor") may be a single arithmetic device or a combination of multiple arithmetic devices. Furthermore, the processor may be a single type of arithmetic device or a combination of multiple types of arithmetic devices. Examples of arithmetic devices include a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), a GPGPU (General-Purpose computing on Graphics Processing Units), an APU (Accelerated Processing Unit), or a TPU (TENSOR PROCESSING UNIT (registered trademark)).
[0010] In the following embodiments, a coded RAM (Random Access Memory) is a memory in which information is temporarily stored and is used as a working memory by a processor.
[0011] In the following embodiments, the coded storage is one or more non-volatile storage devices that store various programs, various parameters, etc. Examples of non-volatile storage devices include flash memory (SSD (Solid State Drive)), magnetic disks (e.g., hard disks), and magnetic tapes.
[0012] In the following embodiments, a communication I / F (Interface) with a symbol is an interface including a communication processor, an antenna, etc. The communication I / F controls communication between multiple computers. Examples of communication standards applied to the communication I / F include wireless communication standards including 5G (5th Generation Mobile Communication System), Wi-Fi (registered trademark), Bluetooth (registered trademark), etc.
[0013] In the following embodiments, "A and / or B" is synonymous with "at least one of A and B." In other words, "A and / or B" means that it may be only A, only B, or a combination of A and B. Furthermore, in this specification, the same concept as "A and / or B" is also applied when three or more things are expressed connected by "and / or."
[0014] [First embodiment]
[0015] FIG. 1 shows an example of the configuration of a data processing system 10 according to the first embodiment.
[0016] 1, a data processing system 10 includes a data processing device 12 and a smart device 14. An example of the data processing device 12 is a server.
[0017] The data processing device 12 includes a computer 22, a database 24, and a communication I / F 26. The computer 22 is an example of a "computer" according to the technology of the present disclosure. The computer 22 includes a processor 28, a RAM 30, and a storage 32. The processor 28, the RAM 30, and the storage 32 are connected to a bus 34. The database 24 and the communication I / F 26 are also connected to the bus 34. The communication I / F 26 is connected to a network 54. Examples of the network 54 include a WAN (Wide Area Network) and / or a LAN (Local Area Network).
[0018] The smart device 14 includes a computer 36, a reception device 38, an output device 40, a camera 42, and a communication I / F 44. The computer 36 includes a processor 46, a RAM 48, and a storage 50. The processor 46, the RAM 48, and the storage 50 are connected to a bus 52. The reception device 38, the output device 40, and the camera 42 are also connected to the bus 52.
[0019] The reception device 38 includes a touch panel 38A, a microphone 38B, and the like, and receives user input. The touch panel 38A detects contact with an indicator (for example, a pen or a finger) to receive user input by the touch of the indicator. The microphone 38B detects the user's voice to receive user input by voice. The control unit 46A transmits data indicating the user input received by the touch panel 38A and the microphone 38B to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the data indicating the user input.
[0020] The output device 40 includes a display 40A and a speaker 40B, and presents data to the user 20 by outputting the data in a form of expression that the user 20 can perceive (for example, audio and / or text). The display 40A displays visible information such as text and images in accordance with instructions from the processor 46. The speaker 40B outputs audio in accordance with instructions from the processor 46. The camera 42 is a compact digital camera equipped with an optical system including a lens, aperture, and shutter, and an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor.
[0021] The communication I / F 44 is connected to a network 54. The communication I / Fs 44 and 26 control the exchange of various information between the processor 46 and the processor 28 via the network 54.
[0022] FIG. 2 shows an example of the main functions of the data processing device 12 and the smart device 14.
[0023] 2, in the data processing device 12, a specific process is performed by the processor 28. A specific processing program 56 is stored in the storage 32. The specific processing program 56 is an example of a "program" according to the technology of the present disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific process is realized by the processor 28 operating as a specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30.
[0024] The storage 32 stores a data generation model 58 and an emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290.
[0025] In the smart device 14, the processor 46 performs the reception output process. The storage 50 stores a reception output program 60. The reception output program 60 is used in conjunction with the specific processing program 56 by the data processing system 10. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output process is realized by the processor 46 operating as the control unit 46A in accordance with the reception output program 60 executed on the RAM 48.
[0026] Next, the specific processing by the specific processing unit 290 of the data processing device 12 will be described.
[0027] "Example 1"
[0028] The system of the present invention provides a chat system that allows users to ask questions. This chat system is installed on, for example, a website or an application, and allows users to ask questions by entering text.
[0029] "Example 2"
[0030] The system of the present invention has a means for providing answers to questions from users based on stored data. Specifically, information such as identifying stores that have product stock, confirming product arrival dates, and suggesting campaign participation is extracted from the stored data and provided to the user as an answer. This means is realized, for example, using a database management system or a search engine.
[0031] "Example 3"
[0032] The system of the present invention has a means for receiving an option fee to enable the user to use the system. Specifically, to use the system, the user must pay an option fee of, for example, 100 yen per month. This means can be realized, for example, using a credit card payment system or a debit card payment system.
[0033] The processing flow of each embodiment will be described below.
[0034] "Example 1"
[0035] Step 1: A user accesses the chat system on your website or application.
[0036] Step 2: The user asks a question to the chat system, for example by typing a question like "Is this item in stock at my local store?"
[0037] Step 3: The system analyzes the user's question and generates an appropriate answer based on the data it possesses.
[0038] Step 4: The system generates a response and provides it to the user, which is displayed to the user in the chat system.
[0039] "Example 2"
[0040] Step 1: The user registers with the system, providing necessary information (e.g., name, address, credit card information, etc.).
[0041] Step 2: The user pays for the system. Payment is made, for example, through a credit card or debit card payment system.
[0042] Step 3: The system verifies the user's payment and grants the user permission to use the system.
[0043] Example 1
[0044] Next, a description will be given of Example 1 of Form Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."
[0045] Conventional chat systems have had the problem of being difficult to provide prompt and appropriate answers to user questions. They also have the problem of requiring users to go through multiple steps to obtain specific information, resulting in low convenience. Furthermore, the method of receiving fees for user use is often unclear, which can cause problems in system operation.
[0046] The specific processing by the specific processing unit 290 of the data processing device 12 in the first embodiment is realized by the following means.
[0047] In this invention, the server includes a dialogue system that allows users to ask questions, a means for receiving questions from users, a means for analyzing the received questions and sending them as prompts to the generative AI model, a means for receiving answers from the generative AI model and providing them to the user, and a means for receiving optional fees that allow users to use the system. This allows users to receive prompt and appropriate answers, improving the convenience of the system. Furthermore, by clarifying the means for receiving fees, the system can be operated smoothly.
[0048] A "dialogue system" is a system that allows users to pose questions by entering text.
[0049] The "means for receiving questions from users" is a function for sending questions entered by users to the server.
[0050] "Means for analyzing received questions and sending them as prompt sentences to the generative AI model" refers to a function that analyzes questions received from users, generates prompt sentences to enable the generative AI model to understand the questions, and sends them.
[0051] "Means for receiving answers from a generative AI model and providing them to a user" refers to a function for receiving answers generated from a generative AI model and displaying those answers to a user.
[0052] "Means for receiving optional fees" refers to a function that allows users to receive the fees required to use the system.
[0053] The present invention provides a dialogue system that allows users to ask questions. This dialogue system is installed on a website or application, and allows users to ask questions by inputting text.
[0054] System configuration
[0055] The system consists of the following main components:
[0056] 1. User Device
[0057] Hardware: PC, smartphone
[0058] Software: Web browser, mobile app
[0059] 2. Server
[0060] Hardware: Server machine
[0061] Software: Server-side scripts (e.g., Python (registered trademark), Node.js), API
[0062] 3. Generative AI Models
[0063] Example: GPT-4 (registered trademark)
[0064] Program processing
[0065] 1. User inputs a question
[0066] A user types a question into a chat window on a website or application.
[0067] Example: User types "What's the weather like today?"
[0068] 2. Submit your question
[0069] The terminal receives the user's input and sends it to the server.
[0070] The device uses an HTTP POST request to send the user's question to the server.
[0071] 3. Question analysis and prompt generation
[0072] The server analyzes the received question and generates an appropriate prompt.
[0073] Example: The server generates a prompt sentence: "The user asked 'What's the weather like today?' Please generate an answer."
[0074] 4. Answer generation using generative AI models
[0075] The server sends a prompt to the generative AI model, which then generates an appropriate response.
[0076] Example: A generative AI model generates the answer "The weather is sunny today."
[0077] 5. Submit your response
[0078] The server receives the generated response and sends it to the terminal.
[0079] The server sends the generated answer to the terminal as an HTTP response.
[0080] 6. View Answers
[0081] The device displays the response received from the server to the user.
[0082] Example: The device responds in the chat window with "The weather is sunny today."
[0083] Specific examples
[0084] Let's explain what happens when a user asks, "What is the stock price forecast for tomorrow?"
[0085] 1. User inputs a question
[0086] A user types into the chat window, "What's the stock price forecast for tomorrow?"
[0087] 2. Submit your question
[0088] The terminal sends this input to the server.
[0089] 3. Question analysis and prompt generation
[0090] The server generates a prompt saying, "The user asked, 'What is tomorrow's stock price prediction?' Please generate an answer."
[0091] 4. Answer generation using generative AI models
[0092] The generative AI model generates the answer, "It is difficult to predict tomorrow's stock price, but given the current market trend, it is likely to rise."
[0093] 5. Submit your response
[0094] The server sends this response to the terminal.
[0095] 6. View Answers
[0096] The device displays the answer to the user: "It is difficult to predict tomorrow's stock prices, but given current market trends, they may rise."
[0097] The above is a specific embodiment of the system of the present invention. This system allows users to receive prompt and appropriate answers, improving the convenience of the system. In addition, by clarifying the means of receiving fees, the system can be operated smoothly.
[0098] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0099] Step 1:
[0100] The user types a question.
[0101] What happens: A user types a question into a chat window on a website or application and clicks the send button.
[0102] Input: Text entered by the user (e.g., "What's the weather like today?").
[0103] Output: The user's question is sent to the terminal.
[0104] Step 2:
[0105] The device sends the user's question to the server.
[0106] How it works: The device takes user input and sends it to the server using an HTTP POST request.
[0107] Input: The user's question text (e.g., "What's the weather like today?").
[0108] Output: The user's question is sent to the server.
[0109] Step 3:
[0110] The server analyzes the received question and sends it to the generative AI model as a prompt.
[0111] How it works: The server analyzes the received question, generates an appropriate prompt, and sends the generated prompt to the generative AI model.
[0112] Input: The user's question text (e.g., "What's the weather like today?").
[0113] Data processing: Analyze the question text and generate a prompt (e.g., "The user asked 'What's the weather like today?' Please generate an answer.").
[0114] Output: The generated prompt sentence is sent to the generative AI model.
[0115] Step 4:
[0116] A generative AI model generates an answer based on the prompt.
[0117] How it works: A generative AI model receives a prompt and generates an appropriate response.
[0118] Input: Prompt statement (e.g., "The user asked 'What's the weather today?' Please generate an answer.").
[0119] Data computation: A generative AI model analyzes the prompt and generates an answer (e.g., "The weather is sunny today.").
[0120] Output: The generated answer is returned to the server.
[0121] Step 5:
[0122] The server receives the generated response and sends it to the terminal.
[0123] How it works: The server receives the answer from the generative AI model and sends it to the device as an HTTP response.
[0124] Input: Answer text from the generative AI model (e.g., "The weather is sunny today.").
[0125] Output: The answer text is sent to the terminal.
[0126] Step 6:
[0127] The device displays the response received from the server to the user.
[0128] Behavior: The device displays the reply it receives from the server in the chat window.
[0129] Input: Answer text from the server (e.g. "The weather is sunny today.").
[0130] Output: The answer text is displayed to the user.
[0131] (Application example 1)
[0132] Next, a description will be given of Application Example 1 of Embodiment Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."
[0133] Conventional chat systems have the problem of making it difficult for users to get quick and accurate answers when asking questions about products in physical stores. Furthermore, there is a lack of systems that utilize generative AI models to provide answers in real time when users ask questions. Furthermore, there was a need to improve the convenience of users when asking questions about products in physical stores through smartphone applications.
[0134] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 1 is realized by the following means.
[0135] In this invention, the server includes a means for providing a chat system to which users can ask questions, a means for providing answers to user questions based on stored data, a means for receiving an option fee for user use, a means for generating answers to user questions using a generative AI model, and a means for accepting questions about products in a physical store via a smartphone application. This allows users to quickly and accurately ask questions about products in a physical store, and real-time answers are provided using the generative AI model. It also improves the convenience of asking questions via a smartphone application.
[0136] A "chat system" is an interactive system that allows users to pose questions by entering text.
[0137] "Held data" refers to information held by the system or stored in a database.
[0138] "Optional Fee" means an additional fee paid by a User to use a particular function or service.
[0139] A "generative AI model" is an algorithm or system that uses artificial intelligence technology to generate answers to user questions.
[0140] A "smartphone application" is a software program that runs on a smartphone.
[0141] "Brick and mortar store" means a retail outlet that is located in a physical location.
[0142] A "question" is an inquiry or question that a user poses to the system.
[0143] An "answer" is information or a response provided by the system in response to a user's question.
[0144] A system for implementing this invention includes a chat system that allows users to ask questions, a means for providing answers to questions from users based on stored data, a means for receiving optional fees that users can use, a means for generating answers to user questions using a generative AI model, and a means for accepting questions about products in a physical store via a smartphone application.
[0145] The server receives questions entered by users through a smartphone application and sends them to the generative AI model. The generative AI model generates an appropriate answer to the question and returns the answer to the server. The server then provides the generated answer to the user through the smartphone application.
[0146] In this system implementation, the hardware used is a smartphone, and the software used is Python and the OpenAI® API. The server receives the user's question and generates an answer using OpenAI's generative AI model (e.g., GPT-3®). The generated answer is provided to the user from the server via a smartphone application.
[0147] As a concrete example, if a user asks "How do I use this product?" in a physical store, the system works as follows: The user opens a smartphone application and enters the question. The server receives the question and sends it to the generative AI model using OpenAI's API. The generative AI model generates an answer to the question and returns it to the server. The server provides the generated answer to the user through the smartphone application.
[0148] An example of a prompt to input to a generative AI model is as follows:
[0149] User Question: "How do I use this product?"
[0150] By sending this prompt to a generative AI model, the model generates an appropriate answer.
[0151] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[0152] Step 1:
[0153] The user opens the smartphone application and enters a question.
[0154] Input: User question (e.g., "How do I use this product?")
[0155] Output: The user's question is entered into the smartphone application.
[0156] Step 2:
[0157] The terminal (smartphone application) sends the user's question to the server.
[0158] Input: User question
[0159] Output: The user's question is sent to the server.
[0160] Step 3:
[0161] The server receives the user's question and generates a prompt to send to the generative AI model.
[0162] Input: User question
[0163] Output: The prompt to send to the generative AI model (e.g., "User question: 'How do I use this product?'")
[0164] Step 4:
[0165] The server sends a prompt to a generative AI model (e.g., OpenAI's GPT-3) to generate an answer.
[0166] Input: prompt statement
[0167] Output: Answer from the generative AI model (e.g., "First, turn on this product, then...")
[0168] Step 5:
[0169] The server sends the answer received from the generative AI model to the smartphone application.
[0170] Input: Answer from a generative AI model
[0171] Output: The answer is sent to the smartphone application.
[0172] Step 6:
[0173] The terminal (smartphone application) displays the answer received from the server to the user.
[0174] Input: Response from the server
[0175] Output: The answer is displayed on the user's smartphone screen.
[0176] Example 2
[0177] Next, a description will be given of Example 2 of Form Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."
[0178] Conventional dialogue systems have difficulty providing quick and accurate answers to user questions. They also lack the system to provide specific information, such as product inventory, product arrival dates, and sales promotion suggestions. Furthermore, there is no integrated payment method for users to use the system, which reduces the user experience.
[0179] The specific processing by the specific processing unit 290 of the data processing device 12 in the second embodiment is realized by the following means.
[0180] In this invention, the server includes a dialogue system that allows users to ask questions, a means for analyzing the questions from the users, a means for performing searches based on stored data, a means for generating answers based on the search results, a means for providing the generated answers to the users, and a means for receiving additional fees for use by the users. This makes it possible to provide quick and accurate answers to questions from users, and to provide specific information such as product inventory confirmation, product arrival dates and times, and sales promotion activity suggestions. In addition, the integrated fee receiving means improves the user experience.
[0181] A "dialogue system" is a system that has an interface through which a user can input a question and the system can provide an answer to that question.
[0182] "Means for analyzing questions" refers to a function that uses natural language processing technology to analyze questions entered by users and extract the intent and keywords of the questions.
[0183] "Means for searching based on held data" refers to a function for searching for relevant information from databases and other data storages based on an analyzed question.
[0184] "Means for generating answers based on search results" is a function for generating appropriate answers to users' questions based on data obtained through searches.
[0185] The "means for providing the generated answer to the user" is a function for displaying or transmitting the generated answer to the user.
[0186] "Means for receiving additional fees" refers to the function that allows users to receive the fees required to use the system.
[0187] "Point of Sale" means a physical or online location where products are stocked.
[0188] "Sales promotion activities" are campaigns and promotional activities aimed at promoting the sale of specific products or services.
[0189] The present invention provides a dialogue system that allows a user to ask questions. A specific embodiment of this system will be described below.
[0190] System configuration
[0191] server
[0192] The server receives questions from users, analyzes them, searches the data it holds, generates answers based on the search results, and provides the answers to users. The server uses the following hardware and software:
[0193] Hardware: A server machine with a powerful processor, sufficient memory, and ample storage.
[0194] Software: Database management systems (e.g., MySQL or PostgreSQL), search engines (e.g., ElasticSearch), natural language processing libraries (e.g., SpaCy or NLTK), template engines.
[0195] Terminal
[0196] The terminal provides an interface for users to input questions and receive and display answers from the server. The terminal uses the following hardware and software:
[0197] Hardware: Personal computers, smartphones, tablets, etc.
[0198] Software: web browser, mobile application.
[0199] user
[0200] Users access the system using a terminal, input questions, and receive and use the answers provided by the system.
[0201] Specific examples
[0202] Example 1: Checking product inventory
[0203] The user types "What products are in stock at nearby stores?" into the terminal. The terminal sends this question to the server. The server analyzes the question and extracts the keywords "nearby stores" and "products in stock." The server executes the query "SELECT FROM inventory WHERE store_location='nearby' AND stock > 0" against the MySQL database. The server retrieves "product A, product B, product C" as the search results and generates the answer "The products in stock at nearby stores are product A, product B, and product C." The server sends this answer to the terminal, which displays it to the user.
[0204] Example 2: Checking the arrival date and time of the product
[0205] The user types "When will the product arrive?" into the terminal. The terminal sends this question to the server. The server analyzes the question and extracts the keyword "arrival date and time." The server uses Elasticsearch to search for information about the product's arrival date and time. The server obtains the search result "The arrival date and time of product X is October 10, 2023," and generates an answer based on this information. The server sends this answer to the terminal, which displays it to the user.
[0206] Prompt Sentence Examples
[0207] Below are some example prompts to input to a generative AI model:
[0208] When a user asks, "What items are in stock at my local store?", explain the specific steps your server takes to generate the answer.
[0209]
[0210] When a user asks, "When will my item arrive?", what are the specific steps the server takes to generate the answer?
[0211]
[0212] When a user asks, "How do I sign up for a promotion?", describe the specific steps your server takes to generate the answer.
[0213] The flow of the identification process in the second embodiment will be described with reference to FIG.
[0214] Step 1:
[0215] The user enters a question.
[0216] A user uses the device's interface to input a question, for example, "What items are in stock at nearby stores?" This input is done through the device's text box or voice input function. The input data is the user's question text.
[0217] Step 2:
[0218] The terminal sends a question to the server.
[0219] The device sends the question entered by the user to the server. This transmission is performed using a communication protocol such as an HTTP request or WebSocket. For example, the device sends a request to the server: "GET / search?query=What products are in stock at nearby stores?" The input data is the user's question text, and the output data is the request sent to the server.
[0220] Step 3:
[0221] The server parses the question.
[0222] The server analyzes the received question. Natural language processing (NLP) techniques are used for the analysis. For example, the server tokenizes the question and extracts keywords to understand the intent of the question. NLP libraries such as SpaCy and NLTK are used for this process. The input data is the user's question text, and the output data is the analyzed keywords and intent.
[0223] Step 4:
[0224] The server searches the database.
[0225] The server searches the database based on the analysis results. For example, if the server is using a MySQL database, it executes the query "SELECT FROM inventory WHERE store_location='nearby' AND stock > 0". This query searches for products that are in stock at nearby stores. The input data are the analyzed keywords and intent, and the output data are the search results obtained from the database.
[0226] Step 5:
[0227] The server generates an answer based on the search results.
[0228] The server generates an answer based on the search results obtained from the database. For example, if the search results are "Product A, Product B, Product C," the server generates an answer such as "Products A, B, and C are in stock at nearby stores." A template engine may be used to generate this answer. The input data are the search results obtained from the database, and the output data is the generated answer text.
[0229] Step 6:
[0230] The server sends the response to the terminal.
[0231] The server sends the generated answer to the terminal. This transmission is also performed using an HTTP response or a WebSocket message. For example, the server sends the answer to the terminal in JSON format along with a "200 OK" status code. The input data is the generated answer text, and the output data is the response sent to the terminal.
[0232] Step 7:
[0233] The terminal displays the answer to the user.
[0234] The terminal displays the answer received from the server to the user. To display the answer, HTML and CSS are used to render the answer in a format that is easy for the user to view. For example, the terminal displays the text "Products in stock at nearby stores are product A, product B, and product C" on the screen. The input data is the answer text received from the server, and the output data is the answer displayed to the user.
[0235] (Application example 2)
[0236] Next, a description will be given of Application Example 2 of Form Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."
[0237] Conventional chat systems have the problem that it is difficult for users to quickly and accurately obtain information such as product inventory, product arrival dates, and campaign suggestions. Furthermore, there is a lack of a way to generate prompts to provide appropriate answers to user questions, which hinders the user experience.
[0238] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 2 is realized by the following means.
[0239] In this invention, the server includes a dialogue system that allows a user to ask questions, means for providing answers to questions from the user based on stored data, means for receiving additional fees to enable use by the user, means for checking product inventory, product arrival dates and times, and campaign suggestions, and means for generating prompt sentences in response to user questions using a generative AI model. This allows the user to quickly and accurately obtain information such as product inventory, product arrival dates and times, and campaign suggestions, improving the user experience.
[0240] A "dialogue system" is a system that allows users to ask questions and provides information through interaction with the user.
[0241] "Retained data" is a collection of information held by the system, and is data used to provide answers to questions from users.
[0242] "Additional Fees" means fees that a User must pay to use certain features or services.
[0243] "Checking product inventory" is the process of checking whether a particular product is in stock at which sales location.
[0244] "Confirming the arrival date and time of the product" is the process by which the user confirms the expected arrival date and time of the product they purchased.
[0245] "Campaign suggestion" is the process of suggesting relevant campaigns and discount information to users based on their purchase history and search history.
[0246] A "generative AI model" is a model that uses artificial intelligence to generate appropriate prompt sentences in response to user questions.
[0247] A "prompt sentence" is a sentence that is generated to provide an appropriate answer to a user's question and is presented to the user by the system.
[0248] The following system configuration is exemplified as an embodiment of the present invention.
[0249] System Configuration
[0250] The system includes a dialogue system that allows users to ask questions, a means for providing answers to user questions based on stored data, a means for receiving additional fees to enable use by the user, a means for checking product inventory, checking product arrival dates and times, and proposing campaigns, and a means for generating prompt sentences in response to user questions using a generative AI model.
[0251] Hardware and software used
[0252] Hardware: Smartphones, servers
[0253] Software: SQLite (database management system), Python (programming language)
[0254] Data processing and calculation
[0255] When the server receives a question from a user, it performs the following process.
[0256] 1. Dialogue system: A user inputs a question through a smartphone app. For example, a question such as "Please tell me the stock status of product ID 101" is input.
[0257] 2. Searching for available data: The server uses the SQLite database to search for the relevant information from the available data. For example, to check the stock status of product ID 101, it retrieves stock information from the database.
[0258] 3. Generative AI model: A generative AI model is used to generate appropriate prompts in response to user questions. For example, in response to the question "What is the stock status of product ID 101?", a prompt such as "Product ID 101 is currently in stock at store A" is generated.
[0259] 4. Providing an answer: The generated prompt is provided to the user, who receives the answer via a smartphone app.
[0260] Specific examples
[0261] Stock Check: When the user types "Please tell me the stock status of product ID 101," the server retrieves stock information from the database and replies "Product ID 101 is currently in stock at store A."
[0262] Arrival date and time confirmation: When the user enters, "Please tell me the expected arrival date and time for order number 202," the server retrieves the expected arrival date and time from the database and replies, "Order number 202 is expected to arrive on October 15, 2023."
[0263] Campaign suggestions: When a user types, "Tell me about campaigns that are relevant to me," the server responds, based on the user's purchase and search history, with, "Currently, the campaign recommended for you is a 10% off coupon."
[0264] Prompt Sentence Examples
[0265] "Please tell me the stock status of product ID 101."
[0266] "Please let me know the estimated arrival date for order number 202."
[0267] "Please tell me the campaign information related to user ID 303."
[0268] In this way, users can quickly and accurately obtain information such as product inventory, product arrival dates and times, campaign suggestions, etc. This improves the user experience and increases the convenience of the system.
[0269] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[0270] Step 1:
[0271] The user enters a question through a smartphone app.
[0272] Input: User question (e.g. "What is the stock status of product ID 101?")
[0273] Output: The user's question is sent to the server.
[0274] Specific operation: The user enters a question into the input field of the smartphone app and presses the submit button.
[0275] Step 2:
[0276] The server receives the user's query.
[0277] Input: User question (e.g. "What is the stock status of product ID 101?")
[0278] Output: The question is processed on the server.
[0279] Specific operation: The server receives the HTTP request and analyzes the question.
[0280] Step 3:
[0281] The server searches for the relevant information from its stored data.
[0282] Input: Question (e.g. "Stock status of product ID 101")
[0283] Output: Applicable information (e.g. "Store A has stock")
[0284] What happens: The server queries the SQLite database to get stock information for product ID 101.
[0285] Step 4:
[0286] The server generates a prompt using a generative AI model.
[0287] Input: relevant information (e.g. "Store A has stock")
[0288] Output: The generated prompt statement (e.g., "Product ID 101 is currently in stock at store A.")
[0289] Specific operation: The server provides input data to the generative AI model and generates an appropriate prompt sentence.
[0290] Step 5:
[0291] The server provides the generated prompt to the user.
[0292] Input: Generated prompt statement (e.g. "Product ID 101 is currently in stock at store A.")
[0293] Output: Answers displayed on the user's smartphone app
[0294] Specific operation: The server generates an HTTP response and sends it to the user's smartphone app.
[0295] Step 6:
[0296] The user checks the answer on the smartphone app.
[0297] Input: Response from the server (e.g. "Product ID 101 is currently in stock at store A.")
[0298] Output: User reviews answer and decides next action.
[0299] Specific operation: The user checks the answer displayed on the smartphone app screen.
[0300] In this way, users can quickly and accurately obtain information such as product inventory, product arrival dates and times, and campaign proposals.
[0301] Example 3
[0302] Next, a third embodiment of the third embodiment will be described. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."
[0303] In conventional interactive systems, the payment process for users to use the system was complicated, resulting in a poor user experience. Furthermore, there was a lack of a mechanism for automating monthly payments, requiring users to make payments manually, which was inconvenient. Furthermore, there were cases where secure processing and verification of payment information was not adequately performed, posing a security risk.
[0304] The specific processing by the specific processing unit 290 of the data processing device 12 in the third embodiment is realized by the following means.
[0305] In this invention, the server includes a means for a user to create an account, a means for the user to input payment information, a means for the server to send the payment information to the payment system, a means for the payment system to verify the payment information, a means for the server to receive the verification result and activate the user's account, and a means for the server to automatically debit the monthly additional fee. This allows the user to easily and safely pay the fee for using the system, and the monthly fee payment is also automated, improving convenience.
[0306] A "dialogue system" is a system that allows users to ask questions and provides answers based on the information held.
[0307] "Retained information" refers to data and knowledge held by the system that is used to generate appropriate answers to questions from users.
[0308] "Additional Fee" means a fee that a User must pay to use the System, and is set in addition to the Basic Fee.
[0309] "Account creation means" refers to a function that allows a user to access the system, enter the necessary information, and create an account.
[0310] "Payment Information" means financial information, such as credit or debit card information, that you provide to pay a fee.
[0311] "Payment System" means a system for receiving, verifying, and processing User payment information.
[0312] "Verification means" refers to the functionality that a payment system uses to verify a user's payment information and determine its validity.
[0313] "Account Validation Means" refers to a function that validates a user's account and allows them to use the system after successful verification of payment information.
[0314] "Automatic Debit Method" is a function that allows the server to automatically deduct the monthly additional fee from the user's payment information.
[0315] The present invention is a system for safely and efficiently receiving additional fees for users to use the system. A specific embodiment of this system is described below.
[0316] System configuration
[0317] The system consists of the following main components:
[0318] 1. Dialogue Systems
[0319] 2. How to create an account
[0320] 3. Payment information input method
[0321] 4. Payment System
[0322] 5. Verification Methods
[0323] 6. Account Activation Methods
[0324] 7. Automatic Debit Methods
[0325] Hardware and software used
[0326] Server: Manages the entire system and processes requests from users.
[0327] Device: The device from which the user accesses the site (PC, smartphone, tablet, etc.).
[0328] Payment system: Online payment service.
[0329] Database: A database system for storing user and payment information.
[0330] Program processing
[0331] The server performs a series of processes to collect additional fees for the user's use of the system, including the following:
[0332] 1. Account Creation: A user accesses the system and enters the required information (name, email address, password, etc.) into the account creation form. The server receives this information and stores it in a database.
[0333] 2. Enter payment information: After creating an account, the user proceeds to a screen where they can enter their credit card information (card number, expiration date, security code). The server receives this information and sends it using the payment system's API.
[0334] 3. Validate payment information: The payment system validates the received credit card information to ensure that the card is valid and has available funds. If the validation is successful, the payment system returns a success response to the server.
[0335] 4. Account Activation: The server receives a successful response from the payment system and activates the user's account, allowing the user to use the full functionality of the system.
[0336] 5. Monthly Automatic Debit: The server sets up a schedule for automatic debit of the monthly additional fee, and debits the user's credit card 100 yen each month through the payment system.
[0337] Specific examples
[0338] Consider the scenario where a user creates a new account and enters credit card information, in which case the server does the following:
[0339] 1. The user enters the required information into the account creation form and presses the "Register" button.
[0340] 2. The server stores the entered information in a database and displays a screen for the user to enter their credit card information.
[0341] 3. The user enters their credit card information and presses the "Submit" button.
[0342] 4. The server sends the credit card information to the payment system API and waits for the verification result.
[0343] 5. The payment system verifies the information and returns a success response to the server.
[0344] 6. The server activates the user's account and sets up a monthly automatic debit schedule.
[0345] Prompt Sentence Examples
[0346] "Describe a scenario where a user creates a new account and enters their credit card information. Include the process by which your server uses a payment system API to debit the additional monthly fee."
[0347] In this way, the user can easily and safely pay the fee for using the system, and monthly fee payments are also automated, improving convenience. The flow of the identification process in the third embodiment will be described with reference to FIG.
[0348] Step 1:
[0349] The user enters the required information into the account creation form and presses the "Register" button.
[0350] Input: Name, Email Address, Password
[0351] Data processing: The server receives the entered information and formats it for storage in a database.
[0352] Output: The new user information is saved in the database.
[0353] What happens: The server takes the information entered by the user and creates a new record in the database.
[0354] Step 2:
[0355] The user proceeds to the credit card information input screen, enters the necessary information, and presses the "Submit" button.
[0356] Input: Card number, expiration date, security code
[0357] Data processing: The server receives the entered credit card information and formats it to send to the payment system's API.
[0358] Output: Credit card information sent to the payment system
[0359] What happens: The server receives the credit card information entered by the user and sends it to the payment system's API using an HTTPS request.
[0360] Step 3:
[0361] The payment system validates the credit card information.
[0362] Input: Credit card information sent from the server
[0363] Data Processing: The payment system verifies the credit card information and checks validity and balance.
[0364] Output: Verification result (success or failure)
[0365] What it does: The payment system receives the credit card information and goes through an internal validation process to verify the card's validity and balance.
[0366] Step 4:
[0367] The server receives the verification result and activates the user's account.
[0368] Input: Verification results from the payment system
[0369] Data processing: The server analyzes the verification result and, if successful, activates the user's account.
[0370] Output: Enabled user accounts
[0371] Specific behavior: The server receives a success response from the payment system and updates the status of the user account in the database to "valid."
[0372] Step 5:
[0373] Set up a schedule for the server to automatically deduct the additional monthly fee.
[0374] Input: Activated user account information
[0375] Data Processing: The server schedules and prepares the monthly debit requests for transmission to the payment system.
[0376] Output: Monthly withdrawal schedule
[0377] Specific operation: Based on the user account information, the server calls the payment system API on the first day of each month to set a schedule for debiting 100 yen.
[0378] In this way, users can easily and safely pay for using the system, and monthly payment is also automated, improving convenience.
[0379] (Application example 3)
[0380] Next, a description will be given of Application Example 3 of Form Example 3. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."
[0381] It is common for modern users to use multiple subscription services, but managing and paying for each service individually can be cumbersome, leading to late or missed payments. Furthermore, there is a lack of a centralized way to check the payment history of each service, making it difficult for users to understand their spending.
[0382] The specific processing by the specific processing unit 290 of the data processing device 12 in Application Example 3 is realized by the following means. In this invention, the server includes a dialogue system to which the user can pose questions, means for providing answers to questions from the user based on stored data, means for receiving optional fees for services that the user can use, means for centrally managing multiple subscription services, means for managing payments for the optional fees for each service, means for checking payment history, means for providing payment reminder notifications, and means for making payments by credit card or debit card. This allows the user to centrally manage multiple subscription services, prevent late or missed payments, and easily check payment history.
[0383] A "dialogue system" is a system that allows users to ask questions and provides information through interaction with the user.
[0384] "Retained Data" refers to information and data held by the system that is used to provide answers to user questions.
[0385] "Optional Fee" means an additional fee paid by the User to use the System, which is received through a credit or debit card payment system.
[0386] A "subscription service" is a service that can be used continuously by paying a regular fee, and allows users to centrally manage multiple services.
[0387] "Centralized management" means managing multiple subscription services in a single system, allowing users to view and manage information for each service in one place.
[0388] "Payment Management" means managing the payment of optional fees for each subscription service and is a measure to prevent late or non-payment of payments.
[0389] "Payment History" means a record of past payments that a User may use to track their spending.
[0390] "Reminders" means a feature that notifies users of payment due dates and other important information to help prevent late payments.
[0391] "Payment method" refers to a means of paying fees using a credit card or debit card, and is used when a user pays an option fee.
[0392] A system for implementing this invention includes an interactive system that allows a user to ask questions, a means for providing answers to questions from users based on stored data, a means for receiving optional fees that users can use, a means for centrally managing multiple subscription services, a means for managing payment of optional fees for each service, a means for checking payment history, a means for providing payment reminder notifications, and a means for making payments by credit card or debit card.
[0393] System configuration
[0394] Hardware
[0395] Server: A server for hosting the database and the dialogue system.
[0396] User terminal: A device through which a user accesses an interactive system, such as a smartphone or tablet.
[0397] software
[0398] Flask: A Python web framework that provides an API for dialogue systems.
[0399] SQLite: A lightweight database system for storing subscription information.
[0400] Online payment service: API service for processing payments.
[0401] Data processing and calculation
[0402] 1. Dialogue system: When a user asks a question, the server generates an answer based on the data it holds. For example, if a user asks, "When is my next payment?", the server retrieves the next payment date from the database and provides the answer.
[0403] 2. Receiving optional fees: When a user pays an optional fee to use the system, the server uses an online payment service API to process credit or debit card payments.
[0404] 3. Subscription Management: Users can manage multiple subscription services in one place. The server stores information about each service in a database, allowing users to view and manage it.
[0405] 4. Payment Management: The server manages the payment of optional fees for each subscription service and prevents late or missed payments.
[0406] 5. Check payment history: The user can check the past payment history. The server retrieves the payment history from the database and provides it to the user.
[0407] 6. Reminder notification: The server will send a reminder notification to the user when the next payment date is approaching.
[0408] Specific examples
[0409] Users sign up for a subscription to the "video streaming service" and pay an optional monthly fee of 1,000 yen.
[0410] A payment reminder will be sent one day before your next payment date.
[0411] Prompt Sentence Examples
[0412] "Please register a subscription to the video streaming service and set a payment reminder to pay the optional monthly fee of 1,000 yen."
[0413] In this way, the system allows users to centrally manage multiple subscription services, prevent late or missed payments, and easily check payment history.
[0414] The flow of the specific processing in Application Example 3 will be described with reference to FIG.
[0415] Step 1:
[0416] A user registers for a subscription service. Using a terminal, the user enters information such as the service name, amount, and next payment date. The entered information is sent to the server, which stores the received information in a database. This allows for centralized management of user subscription information.
[0417] Step 2:
[0418] The user asks a question. Using a terminal, the user inputs the question into the dialogue system. For example, "When is my next payment?" The input question is sent to the server. The server analyzes the question and retrieves relevant data from a database. An answer is generated based on the retrieved data and provided to the user.
[0419] Step 3:
[0420] The user pays the optional fee. The user uses the terminal to enter payment information. The entered payment information is sent to the server. The server uses the online payment service API to process the credit card or debit card payment. If the payment is successful, the server saves the payment information in the database. This updates the user's payment history.
[0421] Step 4:
[0422] The server sends a payment reminder. The server retrieves the next payment date from the database and generates a reminder when the payment date approaches. The generated reminder is sent to the user's device. This allows the user to avoid late payments.
[0423] Step 5:
[0424] The user checks their payment history. Using their terminal, the user sends a request to check their payment history. The request is sent to the server. The server retrieves the payment history from the database and provides it to the user. This allows the user to understand their spending situation.
[0425] Step 6:
[0426] The server manages the subscription services. The server periodically checks the database to confirm the status of each subscription service. If necessary, it sends notifications to the user. This allows the user to always be aware of the status of each service.
[0427] Furthermore, an emotion engine that estimates the user's emotion may be combined. That is, the identification processing unit 290 may estimate the user's emotion using the emotion identification model 59 and perform identification processing using the user's emotion.
[0428] "Example 1"
[0429] In one embodiment of the present invention, a chat system is provided that allows users to ask questions, a means for providing answers to questions from users based on stored data, and a means for receiving optional fees for users to use the system. Furthermore, this system incorporates an emotion engine that recognizes the emotions of the user. This emotion engine analyzes emotions from the user's text input or voice input, and adjusts the system's response according to the emotions. For example, if the user uses words that indicate anger or dissatisfaction, the emotion engine recognizes this, and the system adjusts to provide a more polite response. "Example 2"
[0430] In another embodiment of the present invention, the emotion engine tailors campaign suggestions based on the user's emotions. For example, if the user uses words that indicate joy or excitement, the emotion engine recognizes this and the system suggests campaigns to the user that are likely to maintain or increase their excitement, such as information about new product releases or special discounts.
[0431] "Example 3"
[0432] In one embodiment of the present invention, a chat system is provided that allows a user to ask a question, includes a means for providing answers to the user's questions based on stored data, and a means for receiving an optional fee for the user to use the system. The system further includes an emotion engine that recognizes the user's emotions. The emotion engine analyzes emotions from the user's text input or voice input and adjusts the system's response according to the emotions. For example, if the user uses words that indicate anger or frustration, the emotion engine recognizes this and adjusts the system to provide a more polite response.
[0433] The processing flow of each embodiment will be described below.
[0434] "Example 1"
[0435] Step 1: A user posts a question to the chat system.
[0436] Step 2: The emotion engine analyzes emotions from the user's text or voice input.
[0437] Step 3: Based on the emotion engine's analysis, the system adjusts its response. For example, if the user uses words that indicate anger or frustration, the system will adjust to provide a more polite response.
[0438] "Example 2"
[0439] Step 1: A user posts a question to the chat system.
[0440] Step 2: The emotion engine analyzes emotions from the user's text or voice input.
[0441] Step 3: Based on the analysis results of the emotion engine, the system tailors campaign suggestions. For example, if a user uses words that express joy or excitement, the system will suggest campaigns that may maintain or increase the user's excitement, such as information about new product launches or special discounts.
[0442] Example 1
[0443] Next, a description will be given of Example 1 of Form Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."
[0444] Conventional chat systems provide uniform responses without considering the user's feelings, which can lead to low user satisfaction. Furthermore, there were insufficient methods for receiving optional fees, and the process for users to use additional features was cumbersome. Furthermore, it was difficult to provide appropriate answers to users' questions quickly.
[0445] The specific processing by the specific processing unit 290 of the data processing device 12 in the first embodiment is realized by the following means. In this invention, the server includes a chat system that allows users to ask questions, a means for providing answers to questions from users based on stored data, a means for receiving an optional fee for users to use the system, and a means for analyzing emotions from text input by the user and adjusting the system's response according to the emotions. This makes it possible to provide appropriate answers according to the user's emotions and improve user satisfaction. Furthermore, by integrating the means for receiving the optional fee, the procedure for users to use additional functions can be simplified.
[0446] "User" refers to any individual or entity that uses the System to ask a question.
[0447] A "chat system" refers to an interactive system in which a user inputs a question in text format and the system provides an answer to that question.
[0448] "Retained data" refers to information that the system holds internally or information obtained from external databases.
[0449] "Means for providing answers" refers to the function for generating appropriate answers to questions from users and responding to them.
[0450] "Means for receiving optional fees" refers to a function for receiving fees paid by users to use additional features.
[0451] "Means for analyzing emotions" refers to the functionality for identifying emotions from a user's text input and adjusting the system's response based on those emotions.
[0452] "Means to adjust the system's response" refers to the ability to change the content and tone of responses to users based on the results of sentiment analysis.
[0453] The present invention provides a chat system that allows users to ask questions. The system runs on a website or application, and allows users to ask questions by entering text.
[0454] The server uses a high-performance server (e.g., cloud computing service) and performs data processing and calculations using a chatbot framework (e.g., natural language processing framework), a sentiment analysis engine (e.g., sentiment analysis service), and a database (e.g., relational database).
[0455] When a user asks a question by text input, the device sends the question to the server. The server analyzes the received text using a natural language processing framework to identify the intent of the user's question. The server then uses a sentiment analysis service to analyze the emotion from the user's text input. For example, if the user types "Why is it so slow?", the sentiment analysis service will recognize "anger."
[0456] The server generates an appropriate response based on the results of intent analysis and emotion analysis. For example, if the user is requesting weather information, it retrieves the current weather information from a weather information service and responds to the user. If the emotion is "anger," it generates a more polite response.
[0457] Additionally, the server may provide a means for accepting optional fees for user activation, for example, processing payments using an online payment service.
[0458] As a concrete example, if a user asks "What's the weather like today?", the server performs the following process:
[0459] 1. Receive a user question.
[0460] 2. Use a natural language processing framework to analyze the intent of the question and determine that the user is asking for "weather information."
[0461] 3. Refer to the weather information service to obtain current weather information.
[0462] 4. Analyze the user's emotions using an emotion analysis service (in this case, it is determined that there is no particular change in emotion).
[0463] 5. Respond to the user with appropriate weather information.
[0464] Example prompt sentence:
[0465] User: What's the weather like today?
[0466] Server: The weather is currently sunny and the temperature is 25 degrees.
[0467] As another example, if a user asks "Why is it so slow?" the server does the following:
[0468] 1. Receive a user question.
[0469] 2. Use a natural language processing framework to analyze the intent of the question and determine that the question asks for the reason for the delay.
[0470] 3. Analyze user emotions using an emotion analysis service and recognize "anger."
[0471] 4. Adjust the system's response to generate more polite responses.
[0472] 5. Respond to the user with an appropriate answer.
[0473] Example prompt sentence:
[0474] User: Why is it so slow?
[0475] Server: We apologize. Our servers are currently experiencing high loads, which is causing delays. Thank you for your understanding.
[0476] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0477] Step 1:
[0478] A user types a question. A user types a question in text format into a chat box on a website or application. For example, "What's the weather like today?" The input data is a text question.
[0479] Step 2:
[0480] The terminal sends a question to the server. The terminal (user's device) sends the entered text to the server. This time, the data is sent securely using the HTTPS protocol. The input data is the user's question text, and the output data is the text data sent to the server.
[0481] Step 3:
[0482] The server receives the question and performs intent analysis. The server analyzes the received text using a natural language processing framework. Specifically, the natural language processing framework analyzes the text and identifies the intent of the user's question. For example, from the question "What's the weather like today?", it determines that the user is looking for weather information. The input data is the user's question text, and the output data is the analyzed intent information.
[0483] Step 4:
[0484] The server performs emotion analysis. The server uses the emotion analysis service to analyze emotions from the user's text input. For example, it recognizes "anger" from the question "Why is it so slow?". The input data is the user's question text, and the output data is the analyzed emotion information.
[0485] Step 5:
[0486] The server generates an appropriate response. The server generates an appropriate response based on the results of intent analysis and emotion analysis. For example, if weather information is requested, the server obtains current weather information from a weather information service and responds to the user. If the emotion is "anger," a more polite response is generated. The input data is the analyzed intent information and emotion information, and the output data is the generated answer text.
[0487] Step 6:
[0488] The server sends the answer to the terminal. The server sends the generated answer to the terminal. Again, the data is sent securely using the HTTPS protocol. The input data is the generated answer text, and the output data is the answer data sent to the terminal.
[0489] Step 7:
[0490] The terminal displays the answer to the user. The terminal displays the answer received from the server to the user. For example, it displays "The current weather is sunny. The temperature is 25 degrees." The input data is the answer data received from the server, and the output data is the answer text displayed to the user.
[0491] (Application example 1)
[0492] Next, a description will be given of Application Example 1 of Embodiment Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."
[0493] Customer support on traditional online shopping sites has had problems with responding to user questions quickly and appropriately, particularly lacking in response to user emotions. Furthermore, the method of collecting optional fees when users use premium services is also inefficient. This has led to issues such as a poor user experience and a lack of improvement in customer satisfaction.
[0494] The specific processing by the specific processing unit 290 of the data processing device 12 in Application Example 1 is realized by the following means. In this invention, the server includes means for providing a chat system to which users can ask questions, means for providing answers to questions from users based on stored data, means for receiving optional fees for users to use the system, means including an emotion engine that recognizes users' emotions and adjusting responses according to the emotions, and means for providing customer support for the online shopping site. This makes it possible to quickly and appropriately answer users' questions and respond in accordance with their emotions. It also makes it possible to efficiently receive optional fees for premium services, improving the user experience.
[0495] "User" means any person or entity that uses the system to ask a question.
[0496] A "chat system" is a system that provides an interface that allows users to ask questions by entering text.
[0497] "Retained data" refers to the information or knowledge base held by the system and is data used to generate answers to user questions.
[0498] A "means for providing an answer" is a means that has the function of generating an appropriate answer to a question from a user based on the data held and responding to the user.
[0499] A "means for receiving optional fees" is a means that has the function of receiving fees when a user uses a specific premium service.
[0500] An "emotion engine" is an engine that has the ability to analyze emotions from the user's text or voice input and adjust the system's response according to those emotions.
[0501] The "means for adjusting responses according to emotions" refers to a means that has the function of adjusting the content and tone of the system's response based on the user's emotions analyzed by the emotion engine.
[0502] An "online shopping site" is a website that sells products and services over the Internet.
[0503] "Customer Support" means assistance services provided to users to resolve questions or problems regarding products or services.
[0504] As an embodiment of the present invention, a system for providing customer support at an online shopping site will be specifically described.
[0505] System Configuration
[0506] This system is configured using the following hardware and software.
[0507] Hardware: Smartphone
[0508] software:
[0509] Chatbot Framework
[0510] Sentiment analysis engine (e.g., IBM Watson® Tone Analyzer)
[0511] Database (e.g. MySQL)
[0512] Payment systems (e.g., online payment services)
[0513] Program processing explanation
[0514] User Interface
[0515] Users ask questions by entering text through a smartphone application, and the entered text is sent to the chatbot framework.
[0516] Question analysis and answer generation
[0517] The chatbot framework analyzes the user's question, searches for an appropriate answer from its database, generates an answer, and returns it to the user.
[0518] Emotion analysis
[0519] The user's text input is sent to the sentiment analysis engine, which analyzes the user's sentiment and returns the results to the chatbot framework.
[0520] Response adjustment
[0521] Based on the sentiment analysis results, the chatbot framework will adjust the response, for example, generating a more polite response if the user is dissatisfied.
[0522] Receipt of option fee
[0523] When a user uses a specific premium service, an optional fee is collected through the payment system.
[0524] Specific examples
[0525] Below are some examples of specific interactions between users and the system.
[0526] User: "Tell me more about this product."
[0527] System: "This product uses the latest technology and has the following features..."
[0528] User: "My order is late, what's going on?"
[0529] System: "Sorry, we'll check the current status of your order. Please wait a moment."
[0530] Prompt Sentence Examples
[0531] Below are some example prompts to input to the generative AI model:
[0532] When users ask questions by text input, the system will provide answers based on the data it has. It also analyzes the user's emotions and provides responses according to their emotions. For example, if the user expresses dissatisfaction, the system will respond more politely and quickly.
[0533] In this way, customer support on online shopping sites can be made more efficient and user-friendly.
[0534] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[0535] Step 1:
[0536] The user asks a question by entering text through a smartphone application. The entered text is sent to the chatbot framework. The input data is the user's question, and the output data is text data sent to the chatbot framework.
[0537] Step 2:
[0538] The chatbot framework on the server analyzes the user's question. The input data is the user's question text, and the output data is the analyzed intent of the question. Specifically, it uses natural language processing technology to extract the intent of the question.
[0539] Step 3:
[0540] The chatbot framework on the server searches its database for an appropriate answer. The input data is the parsed intent of the question, and the output data is the answer text. Specifically, it executes a database query to retrieve relevant information.
[0541] Step 4:
[0542] The server's emotion analysis engine analyzes the user's text input and recognizes emotions. The input data is the user's question text, and the output data is the emotion analysis result. Specifically, the emotion is extracted from the text using an emotion analysis algorithm.
[0543] Step 5:
[0544] The chatbot framework on the server adjusts the response based on the emotion analysis results. The input data is the emotion analysis results and the answer text, and the output data is the adjusted response text. Specifically, it changes the tone and content of the response depending on the emotion.
[0545] Step 6:
[0546] The server returns the adjusted response text to the user. The input data is the adjusted response text, and the output data is the text displayed on the user's smartphone. Specifically, the server sends the text to the user interface.
[0547] Step 7:
[0548] When a user uses a specific premium service, the server's payment system receives the optional fee. The input data is the user's payment information, and the output data is a confirmation of payment completion. The specific operation is to process the fee through the payment system.
[0549] In this way, it is possible to quickly and appropriately answer the user's questions and respond in accordance with their feelings. Also, it is possible to efficiently collect optional fees for premium services.
[0550] Example 2
[0551] Next, a description will be given of Example 2 of Form Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."
[0552] Conventional dialogue systems have difficulty in providing quick and accurate answers to user questions. They also have difficulty in proposing appropriate campaigns based on user sentiment. Furthermore, there is a problem in that the system cannot be operated efficiently due to insufficient means for receiving payment for users' use of the system.
[0553] The specific processing by the specific processing unit 290 of the data processing device 12 in the second embodiment is realized by the following means.
[0554] In this invention, the server includes a dialogue system means that allows users to ask questions, a means for providing answers to user questions based on stored data, a means including a natural language processing engine that analyzes user input text, a means for querying a database based on the analysis results, a means for processing acquired data and generating answers, a means for providing the generated answers to the user, a means including a sentiment analysis engine that analyzes user emotions, a means for adjusting campaign proposals based on the sentiment analysis results, and a means for receiving optional fees that allow users to use the system. This makes it possible to provide quick and accurate answers to user questions and to propose appropriate campaigns based on the user's emotions. Furthermore, by providing a means for receiving fees for users to use the system, the system can be operated efficiently.
[0555] A "dialogue system" refers to an interface through which a user can enter a question and the system can provide an answer to that question.
[0556] "Retained data" refers to information held internally by the system or stored in a database.
[0557] A "natural language processing engine" refers to a software component that analyzes text entered by a user and understands its meaning.
[0558] A "database" refers to a data storage system that stores information systematically and allows it to be searched and retrieved as needed.
[0559] "Sentiment Analysis Engine" refers to a software component that analyzes and identifies emotions from user input text.
[0560] "Campaign Offer" refers to providing users with promotional information about specific products or services.
[0561] "Means for receiving optional fees" refers to the mechanism for receiving fees paid by users to use the system.
[0562] The system of the present invention is a dialogue system that provides answers to questions from users based on stored data. In this system, the user inputs a question, and the system performs a series of processes to provide a quick and accurate answer to the question.
[0563] Hardware and software used
[0564] 1. Server
[0565] The server plays a central role in receiving user questions, analyzing them, and generating answers.
[0566] Software used: Natural language processing engines (e.g., SpaCy, NLTK), database management systems (e.g., MySQL), sentiment analysis engines (e.g., IBM Watson Tone Analyzer, Google® Cloud Natural Language API).
[0567] 2. Terminal
[0568] A terminal is a device through which a user enters questions and displays answers from the system.
[0569] The hardware you use: computers, smartphones, tablets, etc.
[0570] 3. Users
[0571] A user is an entity that inputs questions into the system through a terminal and receives answers.
[0572] Data processing and calculation
[0573] 1. Receiving and analyzing questions
[0574] The user enters a question into an input field on the terminal, and the server receives the question.
[0575] The server uses a natural language processing engine to analyze the question and extract keywords.
[0576] 2. Querying the database
[0577] The server sends a query to the database based on the analysis results to retrieve relevant data.
[0578] Example: In response to the question "What items are in stock at nearby stores?" the server executes the SQL query "SELECT FROM inventory WHERE location='nearby stores'".
[0579] 3. Data extraction and processing
[0580] The server processes the information retrieved from the database and generates answers to the user's questions.
[0581] For example: "The following items are in stock at your local store: Item A, Item B."
[0582] 4. Providing answers
[0583] The server generates a response and sends it to the terminal, which displays it to the user.
[0584] 5. Sentiment analysis and campaign proposals
[0585] The server analyzes the emotions from the user's input text and identifies the user's emotions using an emotion analysis engine.
[0586] Based on the sentiment analysis results, the server tailors and provides appropriate campaign suggestions to the user.
[0587] Example: If a user types "I'm excited about the new products!", the server detects the "excitement" and suggests information about new product releases and special discounts.
[0588] Examples of concrete examples and prompts
[0589] Specific examples
[0590] User Question: "What items are in stock at stores near me?"
[0591] The system responds: "The following items are in stock at your local store: Item A, Item B."
[0592] User emote: "I'm excited for the new product!"
[0593] System suggestion: "We'll keep you updated on new product launches and special discounts."
[0594] Prompt Sentence Examples
[0595] Question prompt: "Please analyze the question entered by the user and generate an appropriate answer. The question is, 'What items are in stock at stores near me?'"
[0596] Sentiment analysis prompt: "Analyze the sentiment from the user's input text and suggest appropriate campaigns. The input text is 'I'm excited about your new product!'"
[0597] In this way, the system of the present invention provides answers to user questions based on the data it holds, and also has the ability to adjust campaign proposals based on the user's emotions, making it possible to provide more personalized information to users.
[0598] The flow of the identification process in the second embodiment will be described with reference to FIG.
[0599] Step 1:
[0600] The user enters a question
[0601] Input: The user types a question into an input field on the device.
[0602] What happens: A user types, "What items are in stock at stores near me?"
[0603] Output: The entered question is sent from the terminal to the server.
[0604] Step 2:
[0605] The server receives the query
[0606] Input: The user's question sent from the terminal.
[0607] Specific operation: The server receives the HTTP request and extracts the question.
[0608] Output: The extracted questions are stored on the server.
[0609] Step 3:
[0610] The server parses the question
[0611] Input: The extracted question content.
[0612] Specific operation: The server uses a natural language processing engine (e.g., SpaCy) to analyze the question and extract keywords such as "nearby stores," "inventory," and "products."
[0613] Output: The extracted keywords are stored in the server.
[0614] Step 4:
[0615] The server queries the database
[0616] Input: Extracted keywords.
[0617] Specific behavior: The server generates an SQL query and executes "SELECT FROM inventory WHERE location="nearby stores"" against the database management system (e.g. MySQL).
[0618] Output: Inventory information retrieved from the database.
[0619] Step 5:
[0620] The server extracts and processes the data
[0621] Input: Inventory information retrieved from the database.
[0622] Specific operation: The server converts the product list it retrieves into JSON format.
[0623] Output: The processed data is stored on the server.
[0624] Step 6:
[0625] The server generates the answer
[0626] Input: Processed data.
[0627] Specific behavior: The server generates the text "The following items are in stock at nearby stores: Item A, Item B."
[0628] Output: The generated answer text.
[0629] Step 7:
[0630] The server sends the answer to the device
[0631] Input: The generated answer text.
[0632] Specific behavior: The server sends the answer as an HTTP response.
[0633] Output: The answer text sent to the terminal.
[0634] Step 8:
[0635] The device displays the answer
[0636] Input: The answer text sent to the terminal.
[0637] Specific behavior: The device will display "The following items are in stock at nearby stores: Item A, Item B."
[0638] Output: The answer displayed to the user.
[0639] Step 9:
[0640] Analyzing user sentiment
[0641] Input: The text entered by the user.
[0642] What happens: The server uses a sentiment analysis engine (e.g., IBM Watson Tone Analyzer) to detect "excitement" from the text "I'm excited about the new product!"
[0643] Output: Detected emotion information.
[0644] Step 10:
[0645] The server coordinates the campaign
[0646] Input: Detected emotion information.
[0647] Specific behavior: If the server detects "excitement," it will select information about new product releases and special discounts.
[0648] Output: Selected campaign information.
[0649] Step 11:
[0650] The server sends the campaign information to the device.
[0651] Input: Selected campaign information.
[0652] Specific operation: The server sends the campaign information as an HTTP response.
[0653] Output: Campaign information sent to the device.
[0654] Step 12:
[0655] The device displays campaign information
[0656] Input: Campaign information sent to the device.
[0657] Specific operation: The device will display "We will inform you about new product releases and special discounts" on the screen.
[0658] Output: The campaign information displayed to the user.
[0659] (Application example 2)
[0660] Next, a description will be given of Application Example 2 of Form Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."
[0661] Conventional chat systems could provide answers to user questions based on stored data, but they were unable to make appropriate campaign suggestions based on the user's emotions. Furthermore, they lacked a means to analyze user emotions and adjust campaign suggestions based on those emotions, which meant it was not possible to improve the user experience. This made it difficult to maximize user satisfaction and purchase motivation.
[0662] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 2 is realized by the following means.
[0663] In this invention, the server includes a chat system that allows users to ask questions, a means for providing answers to questions from users based on stored data, a means for analyzing user emotions, a means for adjusting campaign proposals based on the analyzed emotions, and a means for receiving optional fees that become available to users. This makes it possible to propose appropriate campaigns based on the user's emotions, improving the user experience and maximizing purchasing motivation.
[0664] A "chat system" is a communication method that allows users to exchange questions and information via text messages.
[0665] "Retained Data" refers to information and records held by the system that are used to provide answers to user questions.
[0666] "Means for analyzing emotions" refers to technology that identifies emotions from user input and behavior and processes those emotions as data.
[0667] The "means for adjusting campaign proposals" is a technology that selects appropriate campaigns and promotions and adjusts the proposal content based on the analyzed user emotions.
[0668] "Means for receiving optional fees" refers to a system for receiving additional fees that users pay to use specific functions or services.
[0669] To implement this invention, the following system configuration and program are required. The server provides a chat system that allows users to ask questions and provides answers to the questions based on stored data. It also has an emotion analysis engine for analyzing users' emotions and has the function of adjusting campaign proposals based on the analyzed emotions. It also includes a mechanism for receiving optional fees for users to use specific functions and services.
[0670] Hardware and software used
[0671] Hardware: Smartphones, servers
[0672] Software: Python, requests library, emotion recognition library
[0673] Processing flow
[0674] 1. User input: The user uses their smartphone to enter a product ID and ask a question through the chat system.
[0675] 2. Data retrieval: The server retrieves product information and expected arrival dates from the database.
[0676] 3. Information provision: The server provides the user with the retrieved product information and expected arrival date.
[0677] 4. Sentiment analysis: When the user inputs their emotion, the emotion analysis engine analyzes that emotion.
[0678] 5. Campaign suggestion: Based on the analyzed sentiment, the server selects appropriate campaigns and suggests them to the user.
[0679] Specific examples
[0680] For example, if a user enters "Product ID: 12345" and the emotion "happy," the system will operate as follows:
[0681] 1. Get product information and expected arrival date for product ID "12345" and display them to the user.
[0682] 2. The emotion engine analyzes the emotion of "happy" and suggests campaigns that will maintain or amplify the excitement.
[0683] 3. Display the proposed campaign information to the user.
[0684] Prompt Sentence Examples
[0685] Enter product ID: 12345
[0686] How do you feel right now?: Happy
[0687] After entering this prompt, the system will display product information and estimated delivery dates, and suggest campaigns based on sentiment.
[0688] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[0689] Step 1:
[0690] The user uses a smartphone to enter a product ID and ask a question through the chat system.
[0691] Input: Product ID
[0692] Output: Product ID sent to server
[0693] Specific behavior: The user enters a product ID into the chat system's input field and presses the send button.
[0694] Step 2:
[0695] The server receives the product ID and retrieves the corresponding product information from the database.
[0696] Input: Product ID
[0697] Output: Product information (product name, availability, price, etc.)
[0698] Specific operation: The server sends a query to the database using the product ID as a key and retrieves the corresponding product information.
[0699] Step 3:
[0700] The server provides product information to the user.
[0701] Input: Product information
[0702] Output: Product information is displayed on the user's smartphone.
[0703] Specific operation: The product information acquired by the server is sent to the user via the chat system and displayed on the smartphone screen.
[0704] Step 4:
[0705] The user enters a question to confirm the expected arrival date of the product.
[0706] Enter: Question to confirm expected arrival date
[0707] Output: The question is sent to the server
[0708] Specific behavior: The user enters a question to confirm the expected arrival date into the chat system's input field and presses the send button.
[0709] Step 5:
[0710] The server retrieves information about the expected arrival date from a database.
[0711] Input: Product ID
[0712] Output: Estimated arrival date information
[0713] Specific operation: The server sends a query to the database using the product ID as a key to obtain the corresponding estimated arrival date information.
[0714] Step 6:
[0715] The server provides the estimated arrival date information to the user.
[0716] Input: Estimated arrival date information
[0717] Output: The estimated arrival date information is displayed on the user's smartphone.
[0718] Specific operation: The server sends the estimated arrival date information obtained to the user via the chat system and displays it on the smartphone screen.
[0719] Step 7:
[0720] The user inputs the emotion.
[0721] Input: Emotion (e.g. happy, sad)
[0722] Output: Emotions are sent to the server
[0723] Specific action: The user enters an emotion into the chat system's input field and presses the send button.
[0724] Step 8:
[0725] The server uses a sentiment analysis engine to analyze the user's sentiment.
[0726] Input: Emotion
[0727] Output: Parsed emotion data
[0728] Specific operation: The server calls the emotion analysis engine, analyzes the input emotion, and generates emotion data.
[0729] Step 9:
[0730] The server selects appropriate campaigns based on the analyzed emotional data and adjusts the proposals.
[0731] Input: Parsed emotion data
[0732] Output: Campaign proposal information
[0733] Specific operation: Based on the analyzed emotional data, the server retrieves appropriate campaign information from the database and adjusts the proposal content.
[0734] Step 10:
[0735] The server provides campaign proposal information to the user.
[0736] Input: Campaign proposal information
[0737] Output: Campaign proposal information is displayed on the user's smartphone.
[0738] Specific operation: The server sends the adjusted campaign proposal information to the user through the chat system and displays it on the smartphone screen.
[0739] Example 3
[0740] Next, a third embodiment of the third embodiment will be described. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."
[0741] Conventional dialogue systems provide uniform responses without considering the user's feelings, resulting in a poor user experience. Furthermore, the methods for receiving fees for system usage are limited, making them difficult for users to use. Furthermore, the accuracy of answers to specific questions is low, making it difficult to improve user satisfaction.
[0742] The specific processing by the specific processing unit 290 of the data processing device 12 in the third embodiment is realized by the following means.
[0743] In this invention, the server includes a dialogue system means that allows a user to ask questions, a means for providing answers to questions from the user based on stored information, a means for receiving an additional fee for use by the user, an emotion analysis means for recognizing the user's emotions, and a means for adjusting responses based on the emotion analysis results. This makes it possible to provide appropriate responses according to the user's emotions and improve the user experience. Furthermore, by providing a flexible fee collection method, user convenience can be improved. Furthermore, by improving the accuracy of answers to specific questions, user satisfaction can be improved.
[0744] A "dialogue system" is a system that allows a user to input questions or instructions through text or voice, and the system then responds.
[0745] "Retained information" refers to information stored in a database internally by the system or information that can be obtained from external sources, and is used to generate answers to user questions.
[0746] "Additional Charges" means charges that a User must pay to use certain features or services of the System.
[0747] "Sentiment analysis method" refers to the technology or algorithms used to analyze and identify emotions from a user's text or voice input.
[0748] "Means for adjusting responses" refers to a function for appropriately changing the content and tone of the system's responses based on the user's emotions identified by the emotion analysis means.
[0749] This invention is a system that includes a dialogue system that allows a user to ask questions, a means for providing answers to questions from the user based on information held by the system, a means for receiving an additional fee for use by the user, an emotion analysis means for recognizing the emotions of the user, and a means for adjusting responses based on the emotion analysis results.
[0750] System configuration
[0751] The server is equipped with the hardware and software necessary to realize the dialogue system. Specifically, the server has a high-performance processor, sufficient memory, and a large amount of storage. The server is also connected to the Internet and has a network interface for receiving requests from users and returning responses.
[0752] Software used
[0753] The server uses the following software to implement the system:
[0754] Natural language processing engine (e.g. Google Cloud Natural Language API)
[0755] Payment gateways (e.g., online payment services)
[0756] Sentiment analysis engine (e.g. IBM Watson Tone Analyzer)
[0757] Database management systems (e.g., MySQL, PostgreSQL)
[0758] Data processing and calculation
[0759] The server receives input from the user and performs data processing and calculations such as:
[0760] 1. Analyze the user's question using a natural language processing engine to understand their intent.
[0761] 2. Generate appropriate answers based on the information held (information obtained from databases or external APIs).
[0762] 3. Use a sentiment analysis engine to analyze emotions from user input.
[0763] 4. Adjust the tone and content of your responses based on sentiment analysis.
[0764] 5. Receive additional payment from the User through the payment gateway.
[0765] Specific examples
[0766] Consider a case where a user accesses the system and types "What's the weather like today?" into the chat window. The server receives this input and uses a natural language processing engine to analyze it as "a request for weather information." The server then retrieves current weather information from a weather database (e.g., weather forecast API) and generates a response such as "Today's weather is sunny."
[0767] Furthermore, if a user types "Why is it so slow?", the server will use its emotion analysis engine to detect the emotion of "anger." Based on this, the server will adjust the response to "Sorry, we'll get back to you soon" and return it to the user.
[0768] Prompt Sentence Examples
[0769] Examples of prompts to input to a generative AI model might include:
[0770] 1. Please explain in detail the processing steps of the payment system for users to pay the optional fee of 100 yen per month.
[0771] 2. "Please explain the steps in the process for a user to ask a question through the chat system."
[0772] 3. "Please explain in detail the processing steps how the emotion engine analyzes the user's emotions and tailors the response."
[0773] This enables the system to provide appropriate responses according to the user's emotions, improving the user experience. Also, by providing flexible payment methods, it is possible to enhance user convenience. Furthermore, by improving the accuracy of answers to specific questions, it is possible to improve user satisfaction. The flow of the identification process in Example 3 will be described with reference to FIG. 21.
[0774] Step 1:
[0775] A user accesses the system.
[0776] Specific behavior: A user accesses the system through a web browser or app and a login screen appears.
[0777] Input: User's access request
[0778] Output: Login screen displayed
[0779] Step 2:
[0780] The server displays a payment screen for the option fee to the user.
[0781] Specific operation: The server generates a payment screen using HTML or an API and displays it on the user's device.
[0782] Input: User login information
[0783] Output: Payment screen displayed
[0784] Step 3:
[0785] The user enters their credit card information.
[0786] What happens: The user enters their credit card number, expiration date, and security code.
[0787] Input: Credit card information
[0788] Output: Entered credit card information
[0789] Step 4:
[0790] The server receives the fee through a payment system.
[0791] Specific operation: The server calls a payment gateway (e.g., an online payment service) to process the fee.
[0792] Input: Credit card information
[0793] Output: Payment success or failure response
[0794] Step 5:
[0795] After the server confirms the payment, it grants the user the right to use the system.
[0796] Specific operation: The server receives a successful payment response and grants the user's account permission to use the system.
[0797] Input: Payment successful response
[0798] Output: System entitlement granted
[0799] Step 6:
[0800] A user types a question into the chat system.
[0801] Specific behavior: The user types a question in the chat window and presses the send button.
[0802] Input: User question
[0803] Output: A query request to the server
[0804] Step 7:
[0805] The server receives the user's query.
[0806] Specific operation: The server receives a query via WebSocket or HTTP request.
[0807] Input: User's question request
[0808] Output: Received questions
[0809] Step 8:
[0810] The server analyzes the question using a natural language processing engine.
[0811] Specific operation: The server calls a natural language processing engine (e.g., Google Cloud Natural Language API) to analyze the question.
[0812] Input: Received question
[0813] Output: Analysis result (user intent)
[0814] Step 9:
[0815] The server searches for the appropriate answer from the information it holds.
[0816] Specific operation: The server retrieves information from a database or external API (e.g., weather forecast API) and generates an appropriate answer.
[0817] Input: Analysis result (user intent)
[0818] Output: The generated answer
[0819] Step 10:
[0820] The server analyzes the sentiment of the message using a sentiment analysis engine.
[0821] Specific operation: The server calls a sentiment analysis engine (e.g., IBM Watson Tone Analyzer) to analyze the sentiment of the message.
[0822] Input: User question
[0823] Output: Emotion analysis results
[0824] Step 11:
[0825] The server adjusts the response based on the analysis results.
[0826] What it does: The server adjusts the tone and content of the response based on the results of sentiment analysis.
[0827] Input: Sentiment analysis results
[0828] Output: Adjusted response
[0829] Step 12:
[0830] The server returns the answer to the user.
[0831] What happens: The server generates a response and displays it in the user's chat window.
[0832] Input: Adjusted response
[0833] Output: Display the answer to the user
[0834] (Application example 3)
[0835] Next, a description will be given of Application Example 3 of Form Example 3. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."
[0836] Conventional content distribution services lacked a dialogue system that allowed users to ask questions or share their thoughts in real time while watching, limiting the user experience. Furthermore, there was a lack of a system that could analyze user emotions and provide appropriate responses or content recommendations, making it difficult to improve user satisfaction. Furthermore, there was no integrated method for receiving optional fees, making the process for users to use the system cumbersome.
[0837] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 3 is realized by the following means.
[0838] In this invention, the server includes a dialogue system that allows users to ask questions, a means for providing answers to questions from users based on stored data, a means for receiving optional fees for user use, an emotion analysis means for analyzing the user's emotions and adjusting responses according to those emotions, and a means for recommending content based on the user's emotions and past usage history. This allows users to ask questions and give their impressions in real time while watching content, and receive appropriate responses and content recommendations according to their emotions. Furthermore, the integrated means for receiving optional fees simplifies the process for users to use the system.
[0839] A "dialogue system" is a system that allows users to ask questions and give their opinions in real time.
[0840] "Retained Data" refers to information and data held by the system and used to provide answers to user questions.
[0841] "Means for receiving optional fees" refers to the means by which the user receives the fees required to use the system via credit card, debit card, etc.
[0842] An "emotion analysis means" is a means for analyzing emotions from a user's text or voice input and adjusting the system's response according to those emotions.
[0843] "Means for recommending content" refers to a means for recommending appropriate content based on the user's emotions and past usage history.
[0844] A system for carrying out this invention has the following configuration: A server includes a dialogue system that allows a user to ask questions, means for providing answers to questions from users based on stored data, means for receiving optional fees that allow users to use the service, emotion analysis means for analyzing the user's emotions and adjusting responses in accordance with those emotions, and means for recommending content based on the user's emotions and past usage history.
[0845] Program processing explanation
[0846] Hardware and Software
[0847] The server uses the following hardware and software:
[0848] Hardware: Cloud or on-premise servers
[0849] software:
[0850] Flask: A Python micro-web framework that provides API endpoints.
[0851] Online payment service: A payment system for receiving optional fees.
[0852] TextBlob: A natural language processing library for analyzing user sentiment.
[0853] Data processing and calculation
[0854] 1. Sentiment Analysis: The server uses TextBlob to calculate a sentiment score from the user's text input, which categorizes the user's sentiment as positive, negative, or neutral.
[0855] 2. Payment Processing: The server uses an online payment service API to process credit card information and create subscriptions, which allow users to collect optional fees for using the system.
[0856] 3. Dialogue system: The server provides a dialogue system that allows users to ask questions and share their thoughts in real time while watching. The system generates appropriate responses based on the user's emotions.
[0857] 4. Content recommendation: The server recommends appropriate content based on the user's emotions and past usage history.
[0858] Specific examples
[0859] If a user types "This scene is really moving!" into the chat while watching a movie, the server will analyze the positive emotion using emotion analysis and respond with "That's great!". It will also recommend other movies with many moving scenes based on the user's past viewing history.
[0860] Prompt Sentence Examples
[0861] If a user types into chat while watching a movie, "This scene is really moving!", the emotion engine will analyze the positive emotion and respond with "That's amazing!"
[0862] The flow of the specific processing in Application Example 3 will be described with reference to FIG.
[0863] Step 1:
[0864] A user accesses the dialogue system using a terminal and inputs questions and comments.
[0865] Input: User text input (e.g., "This scene is truly moving!")
[0866] Output: User's text input data
[0867] Step 2:
[0868] The server receives the user's text input data and calculates an emotion score using an emotion analysis means.
[0869] Input: User text input data
[0870] Data processing: Calculate sentiment scores using TextBlob (classify into positive, negative, neutral)
[0871] Output: Sentiment score (e.g., positive)
[0872] Step 3:
[0873] The server generates an appropriate response based on the sentiment score.
[0874] Input: Sentiment score
[0875] Data calculation: Select a response sentence based on the emotion score (e.g., "That's great!" for positive emotions)
[0876] Output: Response (e.g. "That's great!")
[0877] Step 4:
[0878] The server sends the generated response to the user's terminal.
[0879] Input: Response
[0880] Output: The response text displayed on the user's terminal
[0881] Step 5:
[0882] The server recommends appropriate content based on the user's emotional score and past usage history.
[0883] Input: sentiment score, past usage history
[0884] Data calculation: Executes content recommendation algorithms based on sentiment scores and usage history
[0885] Output: Recommended content list (e.g. other movies with many moving scenes)
[0886] Step 6:
[0887] The server transmits the recommended content list to the user's terminal.
[0888] Input: Recommended content list
[0889] Output: A list of recommended content displayed on the user's device
[0890] Step 7:
[0891] If the user pays an optional fee to use the system, the server processes the payment using an online payment service API.
[0892] Input: User's credit card information, fee information
[0893] Data calculation: Execute payment processing using online payment service API
[0894] Output: Payment completion notification (e.g., subscription creation)
[0895] Step 8:
[0896] The server sends a payment completion notification to the user's terminal.
[0897] Input: Payment completion notification
[0898] Output: Payment completion notification displayed on the user's device
[0899] The specific processing unit 290 transmits the result of the specific processing to the smart device 14. In the smart device 14, the control unit 46A causes the output device 40 to output the result of the specific processing. The microphone 38B acquires audio indicating a user input regarding the result of the specific processing. The control unit 46A transmits audio data indicating the user input acquired by the microphone 38B to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the audio data.
[0900] The data generation model 58 is a so-called generative AI (Artificial Intelligence). An example of the data generation model 58 is ChatGPT (registered trademark) (Internet search engine).<URL: https: / / openai.com / blog / chatgpt> ) and other generation AIs. The data generation model 58 is obtained by performing deep learning on a neural network. A prompt including an instruction is input to the data generation model 58, and inference data such as voice data indicating voice, text data indicating text, and image data indicating an image is also input. The data generation model 58 performs inference on the input inference data in accordance with the instruction indicated by the prompt, and outputs the inference result in a data format such as voice data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization.
[0901] Another example of generative AI is Gemini (registered trademark) (Internet search engine). <url: https: gemini.google.com ?hl="ja">) are mentioned.
[0902] In the above embodiment, an example in which the specific process is performed by the data processing device 12 has been given, but the technology of the present disclosure is not limited to this, and the specific process may be performed by the smart device 14.
[0903] [Second embodiment]
[0904] FIG. 3 shows an example of the configuration of a data processing system 210 according to the second embodiment.
[0905] 3, the data processing system 210 includes the data processing device 12 and smart glasses 214. An example of the data processing device 12 is a server.
[0906] The data processing device 12 includes a computer 22, a database 24, and a communication I / F 26. The computer 22 is an example of a "computer" according to the technology of the present disclosure. The computer 22 includes a processor 28, a RAM 30, and a storage 32. The processor 28, the RAM 30, and the storage 32 are connected to a bus 34. The database 24 and the communication I / F 26 are also connected to the bus 34. The communication I / F 26 is connected to a network 54. Examples of the network 54 include a WAN (Wide Area Network) and / or a LAN (Local Area Network).
[0907] The smart glasses 214 include a computer 36, a microphone 238, a speaker 240, a camera 42, and a communication I / F 44. The computer 36 includes a processor 46, a RAM 48, and a storage 50. The processor 46, the RAM 48, and the storage 50 are connected to a bus 52. The microphone 238, the speaker 240, and the camera 42 are also connected to the bus 52.
[0908] The microphone 238 receives instructions and the like from the user 20 by receiving voice uttered by the user 20. The microphone 238 captures the voice uttered by the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio in accordance with instructions from the processor 46.
[0909] Camera 42 is a small digital camera equipped with an optical system including a lens, aperture, and shutter, and an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor, and captures images of the surroundings of user 20 (for example, an imaging range defined by an angle of view equivalent to the field of vision of a typical healthy person).
[0910] The communication I / F 44 is connected to a network 54. The communication I / Fs 44 and 26 are responsible for the exchange of various information between the processor 46 and the processor 28 via the network 54. The exchange of various information between the processor 46 and the processor 28 using the communication I / Fs 44 and 26 is carried out in a secure state.
[0911] Fig. 4 shows an example of the main functions of the data processing device 12 and the smart glasses 214. As shown in Fig. 4, in the data processing device 12, a specific process is performed by the processor 28. A specific process program 56 is stored in the storage 32.
[0912] The specific processing program 56 is an example of a "program" according to the technology of the present disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as a specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30.
[0913] The storage 32 stores a data generation model 58 and an emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290.
[0914] In the smart glasses 214, the reception output process is performed by the processor 46. A reception output program 60 is stored in the storage 50. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output process is realized by the processor 46 operating as the control unit 46A in accordance with the reception output program 60 executed on the RAM 48.
[0915] Next, the specific processing by the specific processing unit 290 of the data processing device 12 will be described.
[0916] "Example 1"
[0917] The system of the present invention provides a chat system that allows users to ask questions. This chat system is installed on, for example, a website or an application, and allows users to ask questions by entering text.
[0918] "Example 2"
[0919] The system of the present invention has a means for providing answers to questions from users based on stored data. Specifically, information such as identifying stores that have product stock, confirming product arrival dates, and suggesting campaign participation is extracted from the stored data and provided to the user as an answer. This means is realized, for example, using a database management system or a search engine.
[0920] "Example 3"
[0921] The system of the present invention has a means for receiving an option fee to enable the user to use the system. Specifically, to use the system, the user must pay an option fee of, for example, 100 yen per month. This means can be realized, for example, using a credit card payment system or a debit card payment system.
[0922] The processing flow of each embodiment will be described below.
[0923] "Example 1"
[0924] Step 1: A user accesses the chat system on your website or application.
[0925] Step 2: The user asks a question to the chat system, for example by typing a question like "Is this item in stock at my local store?"
[0926] Step 3: The system analyzes the user's question and generates an appropriate answer based on the data it possesses.
[0927] Step 4: The system generates a response and provides it to the user, which is displayed to the user in the chat system.
[0928] "Example 2"
[0929] Step 1: The user registers with the system, providing necessary information (e.g., name, address, credit card information, etc.).
[0930] Step 2: The user pays for the system. Payment is made, for example, through a credit card or debit card payment system.
[0931] Step 3: The system verifies the user's payment and grants the user permission to use the system.
[0932] Example 1
[0933] Next, a description will be given of Example 1 of Form Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."
[0934] Conventional chat systems have had the problem of being difficult to provide prompt and appropriate answers to user questions. They also have the problem of requiring users to go through multiple steps to obtain specific information, resulting in low convenience. Furthermore, the method of receiving fees for user use is often unclear, which can cause problems in system operation.
[0935] The specific processing by the specific processing unit 290 of the data processing device 12 in the first embodiment is realized by the following means.
[0936] In this invention, the server includes a dialogue system that allows users to ask questions, a means for receiving questions from users, a means for analyzing the received questions and sending them as prompts to the generative AI model, a means for receiving answers from the generative AI model and providing them to the user, and a means for receiving optional fees that allow users to use the system. This allows users to receive prompt and appropriate answers, improving the convenience of the system. Furthermore, by clarifying the means for receiving fees, the system can be operated smoothly.
[0937] A "dialogue system" is a system that allows users to pose questions by entering text.
[0938] The "means for receiving questions from users" is a function for sending questions entered by users to the server.
[0939] "Means for analyzing received questions and sending them as prompt sentences to the generative AI model" refers to a function that analyzes questions received from users, generates prompt sentences to enable the generative AI model to understand the questions, and sends them.
[0940] "Means for receiving answers from a generative AI model and providing them to a user" refers to a function for receiving answers generated from a generative AI model and displaying those answers to a user.
[0941] "Means for receiving optional fees" refers to a function that allows users to receive the fees required to use the system.
[0942] The present invention provides a dialogue system that allows users to ask questions. This dialogue system is installed on a website or application, and allows users to ask questions by inputting text.
[0943] System configuration
[0944] The system consists of the following main components:
[0945] 1. User Device
[0946] Hardware: PC, smartphone
[0947] Software: Web browser, mobile app
[0948] 2. Server
[0949] Hardware: Server machine
[0950] Software: Server-side scripts (e.g., Python, Node.js), API
[0951] 3. Generative AI Models
[0952] Example: GPT-4
[0953] Program processing
[0954] 1. User inputs a question
[0955] A user types a question into a chat window on a website or application.
[0956] Example: User types "What's the weather like today?"
[0957] 2. Submit your question
[0958] The terminal receives the user's input and sends it to the server.
[0959] The device uses an HTTP POST request to send the user's question to the server.
[0960] 3. Question analysis and prompt generation
[0961] The server analyzes the received question and generates an appropriate prompt.
[0962] Example: The server generates a prompt sentence: "The user asked 'What's the weather like today?' Please generate an answer."
[0963] 4. Answer generation using generative AI models
[0964] The server sends a prompt to the generative AI model, which then generates an appropriate response.
[0965] Example: A generative AI model generates the answer "The weather is sunny today."
[0966] 5. Submit your response
[0967] The server receives the generated response and sends it to the terminal.
[0968] The server sends the generated answer to the terminal as an HTTP response.
[0969] 6. View Answers
[0970] The device displays the response received from the server to the user.
[0971] Example: The device responds in the chat window with "The weather is sunny today."
[0972] Specific examples
[0973] Let's explain what happens when a user asks, "What is the stock price forecast for tomorrow?"
[0974] 1. User inputs a question
[0975] A user types into the chat window, "What's the stock price forecast for tomorrow?"
[0976] 2. Submit your question
[0977] The terminal sends this input to the server.
[0978] 3. Question analysis and prompt generation
[0979] The server generates a prompt saying, "The user asked, 'What is tomorrow's stock price prediction?' Please generate an answer."
[0980] 4. Answer generation using generative AI models
[0981] The generative AI model generates the answer, "It is difficult to predict tomorrow's stock price, but given the current market trend, it is likely to rise."
[0982] 5. Submit your response
[0983] The server sends this response to the terminal.
[0984] 6. View Answers
[0985] The device displays the answer to the user: "It is difficult to predict tomorrow's stock prices, but given current market trends, they may rise."
[0986] The above is a specific embodiment of the system of the present invention. This system allows users to receive prompt and appropriate answers, improving the convenience of the system. In addition, by clarifying the means of receiving fees, the system can be operated smoothly.
[0987] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0988] Step 1:
[0989] The user types a question.
[0990] What happens: A user types a question into a chat window on a website or application and clicks the send button.
[0991] Input: Text entered by the user (e.g., "What's the weather like today?").
[0992] Output: The user's question is sent to the terminal.
[0993] Step 2:
[0994] The device sends the user's question to the server.
[0995] How it works: The device takes user input and sends it to the server using an HTTP POST request.
[0996] Input: The user's question text (e.g., "What's the weather like today?").
[0997] Output: The user's question is sent to the server.
[0998] Step 3:
[0999] The server analyzes the received question and sends it to the generative AI model as a prompt.
[1000] How it works: The server analyzes the received question, generates an appropriate prompt, and sends the generated prompt to the generative AI model.
[1001] Input: The user's question text (e.g., "What's the weather like today?").
[1002] Data processing: Analyze the question text and generate a prompt (e.g., "The user asked 'What's the weather like today?' Please generate an answer.").
[1003] Output: The generated prompt sentence is sent to the generative AI model.
[1004] Step 4:
[1005] A generative AI model generates an answer based on the prompt.
[1006] How it works: A generative AI model receives a prompt and generates an appropriate response.
[1007] Input: Prompt statement (e.g., "The user asked 'What's the weather today?' Please generate an answer.").
[1008] Data computation: A generative AI model analyzes the prompt and generates an answer (e.g., "The weather is sunny today.").
[1009] Output: The generated answer is returned to the server.
[1010] Step 5:
[1011] The server receives the generated response and sends it to the terminal.
[1012] How it works: The server receives the answer from the generative AI model and sends it to the device as an HTTP response.
[1013] Input: Answer text from the generative AI model (e.g., "The weather is sunny today.").
[1014] Output: The answer text is sent to the terminal.
[1015] Step 6:
[1016] The device displays the response received from the server to the user.
[1017] Behavior: The device displays the reply it receives from the server in the chat window.
[1018] Input: Answer text from the server (e.g. "The weather is sunny today.").
[1019] Output: The answer text is displayed to the user.
[1020] (Application example 1)
[1021] Next, a description will be given of Application Example 1 of Form Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."
[1022] Conventional chat systems have the problem of making it difficult for users to get quick and accurate answers when asking questions about products in physical stores. Furthermore, there is a lack of systems that utilize generative AI models to provide answers in real time when users ask questions. Furthermore, there was a need to improve the convenience of users when asking questions about products in physical stores through smartphone applications.
[1023] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 1 is realized by the following means.
[1024] In this invention, the server includes a means for providing a chat system to which users can ask questions, a means for providing answers to user questions based on stored data, a means for receiving an option fee for user use, a means for generating answers to user questions using a generative AI model, and a means for accepting questions about products in a physical store via a smartphone application. This allows users to quickly and accurately ask questions about products in a physical store, and real-time answers are provided using the generative AI model. It also improves the convenience of asking questions via a smartphone application.
[1025] A "chat system" is an interactive system that allows users to pose questions by entering text.
[1026] "Held data" refers to information held by the system or stored in a database.
[1027] "Optional Fee" means an additional fee paid by a User to use a particular function or service.
[1028] A "generative AI model" is an algorithm or system that uses artificial intelligence technology to generate answers to user questions.
[1029] A "smartphone application" is a software program that runs on a smartphone.
[1030] "Brick and mortar store" means a retail outlet that is located in a physical location.
[1031] A "question" is an inquiry or question that a user poses to the system.
[1032] An "answer" is information or a response provided by the system in response to a user's question.
[1033] A system for implementing this invention includes a chat system that allows users to ask questions, a means for providing answers to questions from users based on stored data, a means for receiving optional fees that users can use, a means for generating answers to user questions using a generative AI model, and a means for accepting questions about products in a physical store via a smartphone application.
[1034] The server receives questions entered by users through a smartphone application and sends them to the generative AI model. The generative AI model generates an appropriate answer to the question and returns the answer to the server. The server then provides the generated answer to the user through the smartphone application.
[1035] In this system, the hardware used is a smartphone, and the software used is Python and the OpenAI API. The server receives the user's question and generates an answer using OpenAI's generative AI model (e.g., GPT-3). The generated answer is then provided to the user from the server via a smartphone application.
[1036] As a concrete example, if a user asks "How do I use this product?" in a physical store, the system works as follows: The user opens a smartphone application and enters the question. The server receives the question and sends it to the generative AI model using OpenAI's API. The generative AI model generates an answer to the question and returns it to the server. The server provides the generated answer to the user through the smartphone application.
[1037] An example of a prompt to input to a generative AI model is as follows:
[1038] User Question: "How do I use this product?"
[1039] By sending this prompt to a generative AI model, the model generates an appropriate answer.
[1040] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[1041] Step 1:
[1042] The user opens the smartphone application and enters a question.
[1043] Input: User question (e.g., "How do I use this product?")
[1044] Output: The user's question is entered into the smartphone application.
[1045] Step 2:
[1046] The terminal (smartphone application) sends the user's question to the server.
[1047] Input: User question
[1048] Output: The user's question is sent to the server.
[1049] Step 3:
[1050] The server receives the user's question and generates a prompt to send to the generative AI model.
[1051] Input: User question
[1052] Output: The prompt to send to the generative AI model (e.g., "User question: 'How do I use this product?'")
[1053] Step 4:
[1054] The server sends a prompt to a generative AI model (e.g., OpenAI's GPT-3) to generate an answer.
[1055] Input: prompt statement
[1056] Output: Answer from the generative AI model (e.g., "First, turn on this product, then...")
[1057] Step 5:
[1058] The server sends the answer received from the generative AI model to the smartphone application.
[1059] Input: Answer from a generative AI model
[1060] Output: The answer is sent to the smartphone application.
[1061] Step 6:
[1062] The terminal (smartphone application) displays the answer received from the server to the user.
[1063] Input: Response from the server
[1064] Output: The answer is displayed on the user's smartphone screen.
[1065] Example 2
[1066] Next, a description will be given of Example 2 of Form Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."
[1067] Conventional dialogue systems have difficulty providing quick and accurate answers to user questions. They also lack the system to provide specific information, such as product inventory, product arrival dates, and sales promotion suggestions. Furthermore, there is no integrated payment method for users to use the system, which reduces the user experience.
[1068] The specific processing by the specific processing unit 290 of the data processing device 12 in the second embodiment is realized by the following means.
[1069] In this invention, the server includes a dialogue system that allows users to ask questions, a means for analyzing the questions from the users, a means for performing searches based on stored data, a means for generating answers based on the search results, a means for providing the generated answers to the users, and a means for receiving additional fees for use by the users. This makes it possible to provide quick and accurate answers to questions from users, and to provide specific information such as product inventory confirmation, product arrival dates and times, and sales promotion activity suggestions. In addition, the integrated fee receiving means improves the user experience.
[1070] A "dialogue system" is a system that has an interface through which a user can input a question and the system can provide an answer to that question.
[1071] "Means for analyzing questions" refers to a function that uses natural language processing technology to analyze questions entered by users and extract the intent and keywords of the questions.
[1072] "Means for searching based on held data" refers to a function for searching for relevant information from databases and other data storages based on an analyzed question.
[1073] "Means for generating answers based on search results" is a function for generating appropriate answers to users' questions based on data obtained through searches.
[1074] The "means for providing the generated answer to the user" is a function for displaying or transmitting the generated answer to the user.
[1075] "Means for receiving additional fees" refers to the function that allows users to receive the fees required to use the system.
[1076] "Point of Sale" means a physical or online location where products are stocked.
[1077] "Sales promotion activities" are campaigns and promotional activities aimed at promoting the sale of specific products or services.
[1078] The present invention provides a dialogue system that allows a user to ask questions. A specific embodiment of this system will be described below.
[1079] System configuration
[1080] server
[1081] The server receives questions from users, analyzes them, searches the data it holds, generates answers based on the search results, and provides the answers to users. The server uses the following hardware and software:
[1082] Hardware: A server machine with a powerful processor, sufficient memory, and ample storage.
[1083] Software: Database management systems (e.g., MySQL or PostgreSQL), search engines (e.g., Elasticsearch), natural language processing libraries (e.g., SpaCy or NLTK), template engines.
[1084] Terminal
[1085] The terminal provides an interface for users to input questions and receive and display answers from the server. The terminal uses the following hardware and software:
[1086] Hardware: Personal computers, smartphones, tablets, etc.
[1087] Software: web browser, mobile application.
[1088] user
[1089] Users access the system using a terminal, input questions, and receive and use the answers provided by the system.
[1090] Specific examples
[1091] Example 1: Checking product inventory
[1092] The user types "What products are in stock at nearby stores?" into the terminal. The terminal sends this question to the server. The server analyzes the question and extracts the keywords "nearby stores" and "products in stock." The server executes the query "SELECT FROM inventory WHERE store_location='nearby' AND stock > 0" against the MySQL database. The server retrieves "product A, product B, product C" as the search results and generates the answer "The products in stock at nearby stores are product A, product B, and product C." The server sends this answer to the terminal, which displays it to the user.
[1093] Example 2: Checking the arrival date and time of the product
[1094] The user types "When will the product arrive?" into the terminal. The terminal sends this question to the server. The server analyzes the question and extracts the keyword "arrival date and time." The server uses Elasticsearch to search for information about the product's arrival date and time. The server obtains the search result "The arrival date and time of product X is October 10, 2023," and generates an answer based on this information. The server sends this answer to the terminal, which displays it to the user.
[1095] Prompt Sentence Examples
[1096] Below are some example prompts to input to a generative AI model:
[1097] When a user asks, "What items are in stock at my local store?", explain the specific steps your server takes to generate the answer.
[1098]
[1099] When a user asks, "When will my item arrive?", what are the specific steps the server takes to generate the answer?
[1100]
[1101] When a user asks, "How do I sign up for a promotion?", describe the specific steps your server takes to generate the answer.
[1102] The flow of the identification process in the second embodiment will be described with reference to FIG.
[1103] Step 1:
[1104] The user enters a question.
[1105] A user uses the device's interface to input a question, for example, "What items are in stock at nearby stores?" This input is done through the device's text box or voice input function. The input data is the user's question text.
[1106] Step 2:
[1107] The terminal sends a question to the server.
[1108] The device sends the question entered by the user to the server. This transmission is performed using a communication protocol such as an HTTP request or WebSocket. For example, the device sends a request to the server: "GET / search?query=What products are in stock at nearby stores?" The input data is the user's question text, and the output data is the request sent to the server.
[1109] Step 3:
[1110] The server parses the question.
[1111] The server analyzes the received question. Natural language processing (NLP) techniques are used for the analysis. For example, the server tokenizes the question and extracts keywords to understand the intent of the question. NLP libraries such as SpaCy and NLTK are used for this process. The input data is the user's question text, and the output data is the analyzed keywords and intent.
[1112] Step 4:
[1113] The server searches the database.
[1114] The server searches the database based on the analysis results. For example, if the server is using a MySQL database, it executes the query "SELECT FROM inventory WHERE store_location='nearby' AND stock > 0". This query searches for products that are in stock at nearby stores. The input data are the analyzed keywords and intent, and the output data are the search results obtained from the database.
[1115] Step 5:
[1116] The server generates an answer based on the search results.
[1117] The server generates an answer based on the search results obtained from the database. For example, if the search results are "Product A, Product B, Product C," the server generates an answer such as "Products A, B, and C are in stock at nearby stores." A template engine may be used to generate this answer. The input data are the search results obtained from the database, and the output data is the generated answer text.
[1118] Step 6:
[1119] The server sends the response to the terminal.
[1120] The server sends the generated answer to the terminal. This transmission is also performed using an HTTP response or a WebSocket message. For example, the server sends the answer to the terminal in JSON format along with a "200 OK" status code. The input data is the generated answer text, and the output data is the response sent to the terminal.
[1121] Step 7:
[1122] The terminal displays the answer to the user.
[1123] The terminal displays the answer received from the server to the user. To display the answer, HTML and CSS are used to render the answer in a format that is easy for the user to view. For example, the terminal displays the text "Products in stock at nearby stores are product A, product B, and product C" on the screen. The input data is the answer text received from the server, and the output data is the answer displayed to the user.
[1124] (Application example 2)
[1125] Next, a description will be given of Application Example 2 of Form Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."
[1126] Conventional chat systems have the problem that it is difficult for users to quickly and accurately obtain information such as product inventory, product arrival dates, and campaign suggestions. Furthermore, there is a lack of a way to generate prompts to provide appropriate answers to user questions, which hinders the user experience.
[1127] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 2 is realized by the following means.
[1128] In this invention, the server includes a dialogue system that allows a user to ask questions, means for providing answers to questions from the user based on stored data, means for receiving additional fees to enable use by the user, means for checking product inventory, product arrival dates and times, and campaign suggestions, and means for generating prompt sentences in response to user questions using a generative AI model. This allows the user to quickly and accurately obtain information such as product inventory, product arrival dates and times, and campaign suggestions, improving the user experience.
[1129] A "dialogue system" is a system that allows users to ask questions and provides information through interaction with the user.
[1130] "Retained data" is a collection of information held by the system, and is data used to provide answers to questions from users.
[1131] "Additional Fees" means fees that a User must pay to use certain features or services.
[1132] "Checking product inventory" is the process of checking whether a particular product is in stock at which sales location.
[1133] "Confirming the arrival date and time of the product" is the process by which the user confirms the expected arrival date and time of the product they purchased.
[1134] "Campaign suggestion" is the process of suggesting relevant campaigns and discount information to users based on their purchase history and search history.
[1135] A "generative AI model" is a model that uses artificial intelligence to generate appropriate prompt sentences in response to user questions.
[1136] A "prompt sentence" is a sentence that is generated to provide an appropriate answer to a user's question and is presented to the user by the system.
[1137] The following system configuration is exemplified as an embodiment of the present invention.
[1138] System Configuration
[1139] The system includes a dialogue system that allows users to ask questions, a means for providing answers to user questions based on stored data, a means for receiving additional fees to enable use by the user, a means for checking product inventory, checking product arrival dates and times, and proposing campaigns, and a means for generating prompt sentences in response to user questions using a generative AI model.
[1140] Hardware and software used
[1141] Hardware: Smartphones, servers
[1142] Software: SQLite (database management system), Python (programming language)
[1143] Data processing and calculation
[1144] When the server receives a question from a user, it performs the following process.
[1145] 1. Dialogue system: A user inputs a question through a smartphone app. For example, a question such as "Please tell me the stock status of product ID 101" is input.
[1146] 2. Searching for available data: The server uses the SQLite database to search for the relevant information from the available data. For example, to check the stock status of product ID 101, it retrieves stock information from the database.
[1147] 3. Generative AI model: A generative AI model is used to generate appropriate prompts in response to user questions. For example, in response to the question "What is the stock status of product ID 101?", a prompt such as "Product ID 101 is currently in stock at store A" is generated.
[1148] 4. Providing an answer: The generated prompt is provided to the user, who receives the answer via a smartphone app.
[1149] Specific examples
[1150] Stock Check: When the user types "Please tell me the stock status of product ID 101," the server retrieves stock information from the database and replies "Product ID 101 is currently in stock at store A."
[1151] Arrival date and time confirmation: When the user enters, "Please tell me the expected arrival date and time for order number 202," the server retrieves the expected arrival date and time from the database and replies, "Order number 202 is expected to arrive on October 15, 2023."
[1152] Campaign suggestions: When a user types, "Tell me about campaigns that are relevant to me," the server responds, based on the user's purchase and search history, with, "Currently, the campaign recommended for you is a 10% off coupon."
[1153] Prompt Sentence Examples
[1154] "Please tell me the stock status of product ID 101."
[1155] "Please let me know the estimated arrival date for order number 202."
[1156] "Please tell me the campaign information related to user ID 303."
[1157] In this way, users can quickly and accurately obtain information such as product inventory, product arrival dates and times, campaign suggestions, etc. This improves the user experience and increases the convenience of the system.
[1158] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[1159] Step 1:
[1160] The user enters a question through a smartphone app.
[1161] Input: User question (e.g. "What is the stock status of product ID 101?")
[1162] Output: The user's question is sent to the server.
[1163] Specific operation: The user enters a question into the input field of the smartphone app and presses the submit button.
[1164] Step 2:
[1165] The server receives the user's query.
[1166] Input: User question (e.g. "What is the stock status of product ID 101?")
[1167] Output: The question is processed on the server.
[1168] Specific operation: The server receives the HTTP request and analyzes the question.
[1169] Step 3:
[1170] The server searches for the relevant information from its stored data.
[1171] Input: Question (e.g. "Stock status of product ID 101")
[1172] Output: Applicable information (e.g. "Store A has stock")
[1173] What happens: The server queries the SQLite database to get stock information for product ID 101.
[1174] Step 4:
[1175] The server generates a prompt using a generative AI model.
[1176] Input: relevant information (e.g. "Store A has stock")
[1177] Output: The generated prompt statement (e.g., "Product ID 101 is currently in stock at store A.")
[1178] Specific operation: The server provides input data to the generative AI model and generates an appropriate prompt sentence.
[1179] Step 5:
[1180] The server provides the generated prompt to the user.
[1181] Input: Generated prompt statement (e.g. "Product ID 101 is currently in stock at store A.")
[1182] Output: Answers displayed on the user's smartphone app
[1183] Specific operation: The server generates an HTTP response and sends it to the user's smartphone app.
[1184] Step 6:
[1185] The user checks the answer on the smartphone app.
[1186] Input: Response from the server (e.g. "Product ID 101 is currently in stock at store A.")
[1187] Output: User reviews answer and decides next action.
[1188] Specific operation: The user checks the answer displayed on the smartphone app screen.
[1189] In this way, users can quickly and accurately obtain information such as product inventory, product arrival dates and times, and campaign proposals.
[1190] Example 3
[1191] Next, a description will be given of Example 3 of Form Example 3. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."
[1192] In conventional interactive systems, the payment process for users to use the system was complicated, resulting in a poor user experience. Furthermore, there was a lack of a mechanism for automating monthly payments, requiring users to make payments manually, which was inconvenient. Furthermore, there were cases where secure processing and verification of payment information was not adequately performed, posing a security risk.
[1193] The specific processing by the specific processing unit 290 of the data processing device 12 in the third embodiment is realized by the following means.
[1194] In this invention, the server includes a means for a user to create an account, a means for the user to input payment information, a means for the server to send the payment information to the payment system, a means for the payment system to verify the payment information, a means for the server to receive the verification result and activate the user's account, and a means for the server to automatically debit the monthly additional fee. This allows the user to easily and safely pay the fee for using the system, and the monthly fee payment is also automated, improving convenience.
[1195] A "dialogue system" is a system that allows users to ask questions and provides answers based on the information held.
[1196] "Retained information" refers to data and knowledge held by the system that is used to generate appropriate answers to questions from users.
[1197] "Additional Fee" means a fee that a User must pay to use the System, and is set in addition to the Basic Fee.
[1198] "Account creation means" refers to a function that allows a user to access the system, enter the necessary information, and create an account.
[1199] "Payment Information" means financial information, such as credit or debit card information, that you provide to pay a fee.
[1200] "Payment System" means a system for receiving, verifying, and processing User payment information.
[1201] "Verification means" refers to the functionality that a payment system uses to verify a user's payment information and determine its validity.
[1202] "Account Validation Means" refers to a function that validates a user's account and allows them to use the system after successful verification of payment information.
[1203] "Automatic Debit Method" is a function that allows the server to automatically deduct the monthly additional fee from the user's payment information.
[1204] The present invention is a system for safely and efficiently receiving additional fees for users to use the system. A specific embodiment of this system is described below.
[1205] System configuration
[1206] The system consists of the following main components:
[1207] 1. Dialogue Systems
[1208] 2. How to create an account
[1209] 3. Payment information input method
[1210] 4. Payment System
[1211] 5. Verification Methods
[1212] 6. Account Activation Methods
[1213] 7. Automatic Debit Methods
[1214] Hardware and software used
[1215] Server: Manages the entire system and processes requests from users.
[1216] Device: The device from which the user accesses the site (PC, smartphone, tablet, etc.).
[1217] Payment system: Online payment service.
[1218] Database: A database system for storing user and payment information.
[1219] Program processing
[1220] The server performs a series of processes to collect additional fees for the user's use of the system, including the following:
[1221] 1. Account Creation: A user accesses the system and enters the required information (name, email address, password, etc.) into the account creation form. The server receives this information and stores it in a database.
[1222] 2. Enter payment information: After creating an account, the user proceeds to a screen where they can enter their credit card information (card number, expiration date, security code). The server receives this information and sends it using the payment system's API.
[1223] 3. Validate payment information: The payment system validates the received credit card information to ensure that the card is valid and has available funds. If the validation is successful, the payment system returns a success response to the server.
[1224] 4. Account Activation: The server receives a successful response from the payment system and activates the user's account, allowing the user to use the full functionality of the system.
[1225] 5. Monthly Automatic Debit: The server sets up a schedule for automatic debit of the monthly additional fee, and debits the user's credit card 100 yen each month through the payment system.
[1226] Specific examples
[1227] Consider the scenario where a user creates a new account and enters credit card information, in which case the server does the following:
[1228] 1. The user enters the required information into the account creation form and presses the "Register" button.
[1229] 2. The server stores the entered information in a database and displays a screen for the user to enter their credit card information.
[1230] 3. The user enters their credit card information and presses the "Submit" button.
[1231] 4. The server sends the credit card information to the payment system API and waits for the verification result.
[1232] 5. The payment system verifies the information and returns a success response to the server.
[1233] 6. The server activates the user's account and sets up a monthly automatic debit schedule.
[1234] Prompt Sentence Examples
[1235] "Describe a scenario where a user creates a new account and enters their credit card information. Include the process by which your server uses a payment system API to debit the additional monthly fee."
[1236] In this way, the user can easily and safely pay the fee for using the system, and monthly fee payments are also automated, improving convenience. The flow of the identification process in the third embodiment will be described with reference to FIG.
[1237] Step 1:
[1238] The user enters the required information into the account creation form and presses the "Register" button.
[1239] Input: Name, Email Address, Password
[1240] Data processing: The server receives the entered information and formats it for storage in a database.
[1241] Output: The new user information is saved in the database.
[1242] What happens: The server takes the information entered by the user and creates a new record in the database.
[1243] Step 2:
[1244] The user proceeds to the credit card information input screen, enters the necessary information, and presses the "Submit" button.
[1245] Input: Card number, expiration date, security code
[1246] Data processing: The server receives the entered credit card information and formats it to send to the payment system's API.
[1247] Output: Credit card information sent to the payment system
[1248] What happens: The server receives the credit card information entered by the user and sends it to the payment system's API using an HTTPS request.
[1249] Step 3:
[1250] The payment system validates the credit card information.
[1251] Input: Credit card information sent from the server
[1252] Data Processing: The payment system verifies the credit card information and checks validity and balance.
[1253] Output: Verification result (success or failure)
[1254] What it does: The payment system receives the credit card information and goes through an internal validation process to verify the card's validity and balance.
[1255] Step 4:
[1256] The server receives the verification result and activates the user's account.
[1257] Input: Verification results from the payment system
[1258] Data processing: The server analyzes the verification result and, if successful, activates the user's account.
[1259] Output: Enabled user accounts
[1260] Specific behavior: The server receives a success response from the payment system and updates the status of the user account in the database to "valid."
[1261] Step 5:
[1262] Set up a schedule for the server to automatically deduct the additional monthly fee.
[1263] Input: Activated user account information
[1264] Data Processing: The server schedules and prepares the monthly debit requests for transmission to the payment system.
[1265] Output: Monthly withdrawal schedule
[1266] Specific operation: Based on the user account information, the server calls the payment system API on the first day of each month to set a schedule for debiting 100 yen.
[1267] In this way, users can easily and safely pay for using the system, and monthly payment is also automated, improving convenience.
[1268] (Application example 3)
[1269] Next, a description will be given of Application Example 3 of Form Example 3. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."
[1270] It is common for modern users to use multiple subscription services, but managing and paying for each service individually can be cumbersome, leading to late or missed payments. Furthermore, there is a lack of a centralized way to check the payment history of each service, making it difficult for users to understand their spending.
[1271] The specific processing by the specific processing unit 290 of the data processing device 12 in Application Example 3 is realized by the following means. In this invention, the server includes a dialogue system to which the user can pose questions, means for providing answers to questions from the user based on stored data, means for receiving optional fees for services that the user can use, means for centrally managing multiple subscription services, means for managing payments for the optional fees for each service, means for checking payment history, means for providing payment reminder notifications, and means for making payments by credit card or debit card. This allows the user to centrally manage multiple subscription services, prevent late or missed payments, and easily check payment history.
[1272] A "dialogue system" is a system that allows users to ask questions and provides information through interaction with the user.
[1273] "Retained Data" refers to information and data held by the system that is used to provide answers to user questions.
[1274] "Optional Fee" means an additional fee paid by the User to use the System, which is received through a credit or debit card payment system.
[1275] A "subscription service" is a service that can be used continuously by paying a regular fee, and allows users to centrally manage multiple services.
[1276] "Centralized management" means managing multiple subscription services in a single system, allowing users to view and manage information for each service in one place.
[1277] "Payment Management" means managing the payment of optional fees for each subscription service and is a measure to prevent late or non-payment of payments.
[1278] "Payment History" means a record of past payments that a User may use to track their spending.
[1279] "Reminders" means a feature that notifies users of payment due dates and other important information to help prevent late payments.
[1280] "Payment method" refers to a means of paying fees using a credit card or debit card, and is used when a user pays an option fee.
[1281] A system for implementing this invention includes an interactive system that allows a user to ask questions, a means for providing answers to questions from users based on stored data, a means for receiving optional fees that users can use, a means for centrally managing multiple subscription services, a means for managing payment of optional fees for each service, a means for checking payment history, a means for providing payment reminder notifications, and a means for making payments by credit card or debit card.
[1282] System configuration
[1283] Hardware
[1284] Server: A server for hosting the database and the dialogue system.
[1285] User terminal: A device through which a user accesses an interactive system, such as a smartphone or tablet.
[1286] software
[1287] Flask: A Python web framework that provides an API for dialogue systems.
[1288] SQLite: A lightweight database system for storing subscription information.
[1289] Online payment service: API service for processing payments.
[1290] Data processing and calculation
[1291] 1. Dialogue system: When a user asks a question, the server generates an answer based on the data it holds. For example, if a user asks, "When is my next payment?", the server retrieves the next payment date from the database and provides the answer.
[1292] 2. Receiving optional fees: When a user pays an optional fee to use the system, the server uses an online payment service API to process credit or debit card payments.
[1293] 3. Subscription Management: Users can manage multiple subscription services in one place. The server stores information about each service in a database, allowing users to view and manage it.
[1294] 4. Payment Management: The server manages the payment of optional fees for each subscription service and prevents late or missed payments.
[1295] 5. Check payment history: The user can check the past payment history. The server retrieves the payment history from the database and provides it to the user.
[1296] 6. Reminder notification: The server will send a reminder notification to the user when the next payment date is approaching.
[1297] Specific examples
[1298] Users sign up for a subscription to the "video streaming service" and pay an optional monthly fee of 1,000 yen.
[1299] A payment reminder will be sent one day before your next payment date.
[1300] Prompt Sentence Examples
[1301] "Please register a subscription to the video streaming service and set a payment reminder to pay the optional monthly fee of 1,000 yen."
[1302] In this way, the system allows users to centrally manage multiple subscription services, prevent late or missed payments, and easily check payment history.
[1303] The flow of the specific processing in Application Example 3 will be described with reference to FIG.
[1304] Step 1:
[1305] A user registers for a subscription service. Using a terminal, the user enters information such as the service name, amount, and next payment date. The entered information is sent to the server, which stores the received information in a database. This allows for centralized management of user subscription information.
[1306] Step 2:
[1307] The user asks a question. Using a terminal, the user inputs the question into the dialogue system. For example, "When is my next payment?" The input question is sent to the server. The server analyzes the question and retrieves relevant data from a database. An answer is generated based on the retrieved data and provided to the user.
[1308] Step 3:
[1309] The user pays the optional fee. The user uses the terminal to enter payment information. The entered payment information is sent to the server. The server uses the online payment service API to process the credit card or debit card payment. If the payment is successful, the server saves the payment information in the database. This updates the user's payment history.
[1310] Step 4:
[1311] The server sends a payment reminder. The server retrieves the next payment date from the database and generates a reminder when the payment date approaches. The generated reminder is sent to the user's device. This allows the user to avoid late payments.
[1312] Step 5:
[1313] The user checks their payment history. Using their terminal, the user sends a request to check their payment history. The request is sent to the server. The server retrieves the payment history from the database and provides it to the user. This allows the user to understand their spending situation.
[1314] Step 6:
[1315] The server manages the subscription services. The server periodically checks the database to confirm the status of each subscription service. If necessary, it sends notifications to the user. This allows the user to always be aware of the status of each service.
[1316] Furthermore, an emotion engine that estimates the user's emotion may be further combined. That is, the identification processing unit 290 may estimate the user's emotion using the emotion identification model 59, and perform identification processing using the user's emotion.
[1317] "Example 1"
[1318] In one embodiment of the present invention, a chat system is provided that allows users to ask questions, a means for providing answers to questions from users based on stored data, and a means for receiving optional fees for users to use the system. Furthermore, this system incorporates an emotion engine that recognizes the emotions of the user. This emotion engine analyzes emotions from the user's text input or voice input, and adjusts the system's response according to the emotions. For example, if the user uses words that indicate anger or dissatisfaction, the emotion engine recognizes this, and the system adjusts to provide a more polite response. "Example 2"
[1319] In another embodiment of the present invention, the emotion engine tailors campaign suggestions based on the user's emotions. For example, if the user uses words that indicate joy or excitement, the emotion engine recognizes this and the system suggests campaigns to the user that are likely to maintain or increase their excitement, such as information about new product releases or special discounts.
[1320] "Example 3"
[1321] In one embodiment of the present invention, a chat system is provided that allows a user to ask a question, includes a means for providing answers to the user's questions based on stored data, and a means for receiving an optional fee for the user to use the system. The system further includes an emotion engine that recognizes the user's emotions. The emotion engine analyzes emotions from the user's text input or voice input and adjusts the system's response according to the emotions. For example, if the user uses words that indicate anger or frustration, the emotion engine recognizes this and adjusts the system to provide a more polite response.
[1322] The processing flow of each embodiment will be described below.
[1323] "Example 1"
[1324] Step 1: A user posts a question to the chat system.
[1325] Step 2: The emotion engine analyzes emotions from the user's text or voice input.
[1326] Step 3: Based on the emotion engine's analysis, the system adjusts its response. For example, if the user uses words that indicate anger or frustration, the system will adjust to provide a more polite response.
[1327] "Example 2"
[1328] Step 1: A user posts a question to the chat system.
[1329] Step 2: The emotion engine analyzes emotions from the user's text or voice input.
[1330] Step 3: Based on the analysis results of the emotion engine, the system tailors campaign suggestions. For example, if a user uses words that express joy or excitement, the system will suggest campaigns that may maintain or increase the user's excitement, such as information about new product launches or special discounts.
[1331] Example 1
[1332] Next, a description will be given of Example 1 of Form Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."
[1333] Conventional chat systems provide uniform responses without considering the user's feelings, which can lead to low user satisfaction. Furthermore, there were insufficient methods for receiving optional fees, and the process for users to use additional features was cumbersome. Furthermore, it was difficult to provide appropriate answers to users' questions quickly.
[1334] The specific processing by the specific processing unit 290 of the data processing device 12 in the first embodiment is realized by the following means. In this invention, the server includes a chat system that allows users to ask questions, a means for providing answers to questions from users based on stored data, a means for receiving an optional fee for users to use the system, and a means for analyzing emotions from text input by the user and adjusting the system's response according to the emotions. This makes it possible to provide appropriate answers according to the user's emotions and improve user satisfaction. Furthermore, by integrating the means for receiving the optional fee, the procedure for users to use additional functions can be simplified.
[1335] "User" refers to any individual or entity that uses the System to ask a question.
[1336] A "chat system" refers to an interactive system in which a user inputs a question in text format and the system provides an answer to that question.
[1337] "Retained data" refers to information that the system holds internally or information obtained from external databases.
[1338] "Means for providing answers" refers to the function for generating appropriate answers to questions from users and responding to them.
[1339] "Means for receiving optional fees" refers to a function for receiving fees paid by users to use additional features.
[1340] "Means for analyzing emotions" refers to the functionality for identifying emotions from a user's text input and adjusting the system's response based on those emotions.
[1341] "Means to adjust the system's response" refers to the ability to change the content and tone of responses to users based on the results of sentiment analysis.
[1342] The present invention provides a chat system that allows users to ask questions. The system runs on a website or application, and allows users to ask questions by entering text.
[1343] The server uses a high-performance server (e.g., cloud computing service) and performs data processing and calculations using a chatbot framework (e.g., natural language processing framework), a sentiment analysis engine (e.g., sentiment analysis service), and a database (e.g., relational database).
[1344] When a user asks a question by text input, the device sends the question to the server. The server analyzes the received text using a natural language processing framework to identify the intent of the user's question. The server then uses a sentiment analysis service to analyze the emotion from the user's text input. For example, if the user types "Why is it so slow?", the sentiment analysis service will recognize "anger."
[1345] The server generates an appropriate response based on the results of intent analysis and emotion analysis. For example, if the user is requesting weather information, it retrieves the current weather information from a weather information service and responds to the user. If the emotion is "anger," it generates a more polite response.
[1346] Additionally, the server may provide a means for accepting optional fees for user activation, for example, processing payments using an online payment service.
[1347] As a concrete example, if a user asks "What's the weather like today?", the server performs the following process:
[1348] 1. Receive a user question.
[1349] 2. Use a natural language processing framework to analyze the intent of the question and determine that the user is asking for "weather information."
[1350] 3. Refer to the weather information service to obtain current weather information.
[1351] 4. Analyze the user's emotions using an emotion analysis service (in this case, it is determined that there is no particular change in emotion).
[1352] 5. Respond to the user with appropriate weather information.
[1353] Example prompt sentence:
[1354] User: What's the weather like today?
[1355] Server: The weather is currently sunny and the temperature is 25 degrees.
[1356] As another example, if a user asks "Why is it so slow?" the server does the following:
[1357] 1. Receive a user question.
[1358] 2. Use a natural language processing framework to analyze the intent of the question and determine that the question asks for the reason for the delay.
[1359] 3. Analyze user emotions using an emotion analysis service and recognize "anger."
[1360] 4. Adjust the system's response to generate more polite responses.
[1361] 5. Respond to the user with an appropriate answer.
[1362] Example prompt sentence:
[1363] User: Why is it so slow?
[1364] Server: We apologize. Our servers are currently experiencing high loads, which is causing delays. Thank you for your understanding.
[1365] The flow of the identification process in the first embodiment will be described with reference to FIG.
[1366] Step 1:
[1367] A user types a question. A user types a question in text format into a chat box on a website or application. For example, "What's the weather like today?" The input data is a text question.
[1368] Step 2:
[1369] The terminal sends a question to the server. The terminal (user's device) sends the entered text to the server. This time, the data is sent securely using the HTTPS protocol. The input data is the user's question text, and the output data is the text data sent to the server.
[1370] Step 3:
[1371] The server receives the question and performs intent analysis. The server analyzes the received text using a natural language processing framework. Specifically, the natural language processing framework analyzes the text and identifies the intent of the user's question. For example, from the question "What's the weather like today?", it determines that the user is looking for weather information. The input data is the user's question text, and the output data is the analyzed intent information.
[1372] Step 4:
[1373] The server performs emotion analysis. The server uses the emotion analysis service to analyze emotions from the user's text input. For example, it recognizes "anger" from the question "Why is it so slow?". The input data is the user's question text, and the output data is the analyzed emotion information.
[1374] Step 5:
[1375] The server generates an appropriate response. The server generates an appropriate response based on the results of intent analysis and emotion analysis. For example, if weather information is requested, the server obtains current weather information from a weather information service and responds to the user. If the emotion is "anger," a more polite response is generated. The input data is the analyzed intent information and emotion information, and the output data is the generated answer text.
[1376] Step 6:
[1377] The server sends the answer to the terminal. The server sends the generated answer to the terminal. Again, the data is sent securely using the HTTPS protocol. The input data is the generated answer text, and the output data is the answer data sent to the terminal.
[1378] Step 7:
[1379] The terminal displays the answer to the user. The terminal displays the answer received from the server to the user. For example, it displays "The current weather is sunny. The temperature is 25 degrees." The input data is the answer data received from the server, and the output data is the answer text displayed to the user.
[1380] (Application example 1)
[1381] Next, a description will be given of Application Example 1 of Form Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."
[1382] Customer support on traditional online shopping sites has had problems with responding to user questions quickly and appropriately, particularly lacking in response to user emotions. Furthermore, the method of collecting optional fees when users use premium services is also inefficient. This has led to issues such as a poor user experience and a lack of improvement in customer satisfaction.
[1383] The specific processing by the specific processing unit 290 of the data processing device 12 in Application Example 1 is realized by the following means. In this invention, the server includes means for providing a chat system to which users can ask questions, means for providing answers to questions from users based on stored data, means for receiving optional fees for users to use the system, means including an emotion engine that recognizes users' emotions and adjusting responses according to the emotions, and means for providing customer support for the online shopping site. This makes it possible to quickly and appropriately answer users' questions and respond in accordance with their emotions. It also makes it possible to efficiently receive optional fees for premium services, improving the user experience.
[1384] "User" means any person or entity that uses the system to ask a question.
[1385] A "chat system" is a system that provides an interface that allows users to ask questions by entering text.
[1386] "Retained data" refers to the information or knowledge base held by the system and is data used to generate answers to user questions.
[1387] A "means for providing an answer" is a means that has the function of generating an appropriate answer to a question from a user based on the data held and responding to the user.
[1388] A "means for receiving optional fees" is a means that has the function of receiving fees when a user uses a specific premium service.
[1389] An "emotion engine" is an engine that has the ability to analyze emotions from the user's text or voice input and adjust the system's response according to those emotions.
[1390] The "means for adjusting responses according to emotions" refers to a means that has the function of adjusting the content and tone of the system's response based on the user's emotions analyzed by the emotion engine.
[1391] An "online shopping site" is a website that sells products and services over the Internet.
[1392] "Customer Support" means assistance services provided to users to resolve questions or problems regarding products or services.
[1393] As an embodiment of the present invention, a system for providing customer support at an online shopping site will be specifically described.
[1394] System Configuration
[1395] This system is configured using the following hardware and software.
[1396] Hardware: Smartphone
[1397] software:
[1398] Chatbot Framework
[1399] Sentiment analysis engine (e.g. IBM Watson Tone Analyzer)
[1400] Database (e.g. MySQL)
[1401] Payment systems (e.g., online payment services)
[1402] Program processing explanation
[1403] User Interface
[1404] Users ask questions by entering text through a smartphone application, and the entered text is sent to the chatbot framework.
[1405] Question analysis and answer generation
[1406] The chatbot framework analyzes the user's question, searches for an appropriate answer from its database, generates an answer, and returns it to the user.
[1407] Emotion analysis
[1408] The user's text input is sent to the sentiment analysis engine, which analyzes the user's sentiment and returns the results to the chatbot framework.
[1409] Response adjustment
[1410] Based on the sentiment analysis results, the chatbot framework will adjust the response, for example, generating a more polite response if the user is dissatisfied.
[1411] Receipt of option fee
[1412] When a user uses a specific premium service, an optional fee is collected through the payment system.
[1413] Specific examples
[1414] Below are some examples of specific interactions between users and the system.
[1415] User: "Tell me more about this product."
[1416] System: "This product uses the latest technology and has the following features..."
[1417] User: "My order is late, what's going on?"
[1418] System: "Sorry, we'll check the current status of your order. Please wait a moment."
[1419] Prompt Sentence Examples
[1420] Below are some example prompts to input to the generative AI model:
[1421] When users ask questions by text input, the system will provide answers based on the data it has. It also analyzes the user's emotions and provides responses according to their emotions. For example, if the user expresses dissatisfaction, the system will respond more politely and quickly.
[1422] In this way, customer support on online shopping sites can be made more efficient and user-friendly.
[1423] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[1424] Step 1:
[1425] The user asks a question by entering text through a smartphone application. The entered text is sent to the chatbot framework. The input data is the user's question, and the output data is text data sent to the chatbot framework.
[1426] Step 2:
[1427] The chatbot framework on the server analyzes the user's question. The input data is the user's question text, and the output data is the analyzed intent of the question. Specifically, it uses natural language processing technology to extract the intent of the question.
[1428] Step 3:
[1429] The chatbot framework on the server searches its database for an appropriate answer. The input data is the parsed intent of the question, and the output data is the answer text. Specifically, it executes a database query to retrieve relevant information.
[1430] Step 4:
[1431] The server's emotion analysis engine analyzes the user's text input and recognizes emotions. The input data is the user's question text, and the output data is the emotion analysis result. Specifically, the emotion is extracted from the text using an emotion analysis algorithm.
[1432] Step 5:
[1433] The chatbot framework on the server adjusts the response based on the emotion analysis results. The input data is the emotion analysis results and the answer text, and the output data is the adjusted response text. Specifically, it changes the tone and content of the response depending on the emotion.
[1434] Step 6:
[1435] The server returns the adjusted response text to the user. The input data is the adjusted response text, and the output data is the text displayed on the user's smartphone. Specifically, the server sends the text to the user interface.
[1436] Step 7:
[1437] When a user uses a specific premium service, the server's payment system receives the optional fee. The input data is the user's payment information, and the output data is a confirmation of payment completion. The specific operation is to process the fee through the payment system.
[1438] In this way, it is possible to quickly and appropriately answer the user's questions and respond in accordance with their feelings. Also, it is possible to efficiently collect optional fees for premium services.
[1439] Example 2
[1440] Next, a description will be given of Example 2 of Form Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."
[1441] Conventional dialogue systems have difficulty in providing quick and accurate answers to user questions. They also have difficulty in proposing appropriate campaigns based on user sentiment. Furthermore, there is a problem in that the system cannot be operated efficiently due to insufficient means for receiving payment for users' use of the system.
[1442] The specific processing by the specific processing unit 290 of the data processing device 12 in the second embodiment is realized by the following means.
[1443] In this invention, the server includes a dialogue system means that allows users to ask questions, a means for providing answers to user questions based on stored data, a means including a natural language processing engine that analyzes user input text, a means for querying a database based on the analysis results, a means for processing acquired data and generating answers, a means for providing the generated answers to the user, a means including a sentiment analysis engine that analyzes user emotions, a means for adjusting campaign proposals based on the sentiment analysis results, and a means for receiving optional fees that allow users to use the system. This makes it possible to provide quick and accurate answers to user questions and to propose appropriate campaigns based on the user's emotions. Furthermore, by providing a means for receiving fees for users to use the system, the system can be operated efficiently.
[1444] A "dialogue system" refers to an interface through which a user can enter a question and the system can provide an answer to that question.
[1445] "Retained data" refers to information held internally by the system or stored in a database.
[1446] A "natural language processing engine" refers to a software component that analyzes text entered by a user and understands its meaning.
[1447] A "database" refers to a data storage system that stores information systematically and allows it to be searched and retrieved as needed.
[1448] "Sentiment Analysis Engine" refers to a software component that analyzes and identifies emotions from user input text.
[1449] "Campaign Offer" refers to providing users with promotional information about specific products or services.
[1450] "Means for receiving optional fees" refers to the mechanism for receiving fees paid by users to use the system.
[1451] The system of the present invention is a dialogue system that provides answers to questions from users based on stored data. In this system, the user inputs a question, and the system performs a series of processes to provide a quick and accurate answer to the question.
[1452] Hardware and software used
[1453] 1. Server
[1454] The server plays a central role in receiving user questions, analyzing them, and generating answers.
[1455] Software used: Natural language processing engines (e.g., SpaCy, NLTK), database management systems (e.g., MySQL), sentiment analysis engines (e.g., IBM Watson Tone Analyzer, Google Cloud Natural Language API).
[1456] 2. Terminal
[1457] A terminal is a device through which a user enters questions and displays answers from the system.
[1458] The hardware you use: computers, smartphones, tablets, etc.
[1459] 3. Users
[1460] A user is an entity that inputs questions into the system through a terminal and receives answers.
[1461] Data processing and calculation
[1462] 1. Receiving and analyzing questions
[1463] The user enters a question into an input field on the terminal, and the server receives the question.
[1464] The server uses a natural language processing engine to analyze the question and extract keywords.
[1465] 2. Querying the database
[1466] The server sends a query to the database based on the analysis results to retrieve relevant data.
[1467] Example: In response to the question "What items are in stock at nearby stores?" the server executes the SQL query "SELECT FROM inventory WHERE location='nearby stores'".
[1468] 3. Data extraction and processing
[1469] The server processes the information retrieved from the database and generates answers to the user's questions.
[1470] For example: "The following items are in stock at your local store: Item A, Item B."
[1471] 4. Providing answers
[1472] The server generates a response and sends it to the terminal, which displays it to the user.
[1473] 5. Sentiment analysis and campaign proposals
[1474] The server analyzes the emotions from the user's input text and identifies the user's emotions using an emotion analysis engine.
[1475] Based on the sentiment analysis results, the server tailors and provides appropriate campaign suggestions to the user.
[1476] Example: If a user types "I'm excited about the new products!", the server detects the "excitement" and suggests information about new product releases and special discounts.
[1477] Examples of concrete examples and prompts
[1478] Specific examples
[1479] User Question: "What items are in stock at stores near me?"
[1480] The system responds: "The following items are in stock at your local store: Item A, Item B."
[1481] User emote: "I'm excited for the new product!"
[1482] System suggestion: "We'll keep you updated on new product launches and special discounts."
[1483] Prompt Sentence Examples
[1484] Question prompt: "Please analyze the question entered by the user and generate an appropriate answer. The question is, 'What items are in stock at stores near me?'"
[1485] Sentiment analysis prompt: "Analyze the sentiment from the user's input text and suggest appropriate campaigns. The input text is 'I'm excited about your new product!'"
[1486] In this way, the system of the present invention provides answers to user questions based on the data it holds, and also has the ability to adjust campaign proposals based on the user's emotions, making it possible to provide more personalized information to users.
[1487] The flow of the identification process in the second embodiment will be described with reference to FIG.
[1488] Step 1:
[1489] The user enters a question
[1490] Input: The user types a question into an input field on the device.
[1491] What happens: A user types, "What items are in stock at stores near me?"
[1492] Output: The entered question is sent from the terminal to the server.
[1493] Step 2:
[1494] The server receives the query
[1495] Input: The user's question sent from the terminal.
[1496] Specific operation: The server receives the HTTP request and extracts the question.
[1497] Output: The extracted questions are stored on the server.
[1498] Step 3:
[1499] The server parses the question
[1500] Input: The extracted question content.
[1501] Specific operation: The server uses a natural language processing engine (e.g., SpaCy) to analyze the question and extract keywords such as "nearby stores," "inventory," and "products."
[1502] Output: The extracted keywords are stored in the server.
[1503] Step 4:
[1504] The server queries the database
[1505] Input: Extracted keywords.
[1506] Specific behavior: The server generates an SQL query and executes "SELECT FROM inventory WHERE location="nearby stores"" against the database management system (e.g. MySQL).
[1507] Output: Inventory information retrieved from the database.
[1508] Step 5:
[1509] The server extracts and processes the data
[1510] Input: Inventory information retrieved from the database.
[1511] Specific operation: The server converts the product list it retrieves into JSON format.
[1512] Output: The processed data is stored on the server.
[1513] Step 6:
[1514] The server generates the answer
[1515] Input: Processed data.
[1516] Specific behavior: The server generates the text "The following items are in stock at nearby stores: Item A, Item B."
[1517] Output: The generated answer text.
[1518] Step 7:
[1519] The server sends the answer to the device
[1520] Input: The generated answer text.
[1521] Specific behavior: The server sends the answer as an HTTP response.
[1522] Output: The answer text sent to the terminal.
[1523] Step 8:
[1524] The device displays the answer
[1525] Input: The answer text sent to the terminal.
[1526] Specific behavior: The device will display "The following items are in stock at nearby stores: Item A, Item B."
[1527] Output: The answer displayed to the user.
[1528] Step 9:
[1529] Analyzing user sentiment
[1530] Input: The text entered by the user.
[1531] What happens: The server uses a sentiment analysis engine (e.g., IBM Watson Tone Analyzer) to detect "excitement" from the text "I'm excited about the new product!"
[1532] Output: Detected emotion information.
[1533] Step 10:
[1534] The server coordinates the campaign
[1535] Input: Detected emotion information.
[1536] Specific behavior: If the server detects "excitement," it will select information about new product releases and special discounts.
[1537] Output: Selected campaign information.
[1538] Step 11:
[1539] The server sends the campaign information to the device.
[1540] Input: Selected campaign information.
[1541] Specific operation: The server sends the campaign information as an HTTP response.
[1542] Output: Campaign information sent to the device.
[1543] Step 12:
[1544] The device displays campaign information
[1545] Input: Campaign information sent to the device.
[1546] Specific operation: The device will display "We will inform you about new product releases and special discounts" on the screen.
[1547] Output: The campaign information displayed to the user.
[1548] (Application example 2)
[1549] Next, a description will be given of Application Example 2 of Form Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."
[1550] Conventional chat systems could provide answers to user questions based on stored data, but they were unable to make appropriate campaign suggestions based on the user's emotions. Furthermore, they lacked a means to analyze user emotions and adjust campaign suggestions based on those emotions, which meant it was not possible to improve the user experience. This made it difficult to maximize user satisfaction and purchase motivation.
[1551] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 2 is realized by the following means.
[1552] In this invention, the server includes a chat system that allows users to ask questions, a means for providing answers to questions from users based on stored data, a means for analyzing user emotions, a means for adjusting campaign proposals based on the analyzed emotions, and a means for receiving optional fees that become available to users. This makes it possible to propose appropriate campaigns based on the user's emotions, improving the user experience and maximizing purchasing motivation.
[1553] A "chat system" is a communication method that allows users to exchange questions and information via text messages.
[1554] "Retained Data" refers to information and records held by the system that are used to provide answers to user questions.
[1555] "Means for analyzing emotions" refers to technology that identifies emotions from user input and behavior and processes those emotions as data.
[1556] The "means for adjusting campaign proposals" is a technology that selects appropriate campaigns and promotions and adjusts the proposal content based on the analyzed user emotions.
[1557] "Means for receiving optional fees" refers to a system for receiving additional fees that users pay to use specific functions or services.
[1558] To implement this invention, the following system configuration and program are required. The server provides a chat system that allows users to ask questions and provides answers to the questions based on stored data. It also has an emotion analysis engine for analyzing users' emotions and has the function of adjusting campaign proposals based on the analyzed emotions. It also includes a mechanism for receiving optional fees for users to use specific functions and services.
[1559] Hardware and software used
[1560] Hardware: Smartphones, servers
[1561] Software: Python, requests library, emotion recognition library
[1562] Processing flow
[1563] 1. User input: The user uses their smartphone to enter a product ID and ask a question through the chat system.
[1564] 2. Data retrieval: The server retrieves product information and expected arrival dates from the database.
[1565] 3. Information provision: The server provides the user with the retrieved product information and expected arrival date.
[1566] 4. Sentiment analysis: When the user inputs their emotion, the emotion analysis engine analyzes that emotion.
[1567] 5. Campaign suggestion: Based on the analyzed sentiment, the server selects appropriate campaigns and suggests them to the user.
[1568] Specific examples
[1569] For example, if a user enters "Product ID: 12345" and the emotion "happy," the system will operate as follows:
[1570] 1. Get product information and expected arrival date for product ID "12345" and display them to the user.
[1571] 2. The emotion engine analyzes the emotion of "happy" and suggests campaigns that will maintain or amplify the excitement.
[1572] 3. Display the proposed campaign information to the user.
[1573] Prompt Sentence Examples
[1574] Enter product ID: 12345
[1575] How do you feel right now?: Happy
[1576] After entering this prompt, the system will display product information and estimated delivery dates, and suggest campaigns based on sentiment.
[1577] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[1578] Step 1:
[1579] The user uses a smartphone to enter a product ID and ask a question through the chat system.
[1580] Input: Product ID
[1581] Output: Product ID sent to server
[1582] Specific behavior: The user enters a product ID into the chat system's input field and presses the send button.
[1583] Step 2:
[1584] The server receives the product ID and retrieves the corresponding product information from the database.
[1585] Input: Product ID
[1586] Output: Product information (product name, availability, price, etc.)
[1587] Specific operation: The server sends a query to the database using the product ID as a key and retrieves the corresponding product information.
[1588] Step 3:
[1589] The server provides product information to the user.
[1590] Input: Product information
[1591] Output: Product information is displayed on the user's smartphone.
[1592] Specific operation: The product information acquired by the server is sent to the user via the chat system and displayed on the smartphone screen.
[1593] Step 4:
[1594] The user enters a question to confirm the expected arrival date of the product.
[1595] Enter: Question to confirm expected arrival date
[1596] Output: The question is sent to the server
[1597] Specific behavior: The user enters a question to confirm the expected arrival date into the chat system's input field and presses the send button.
[1598] Step 5:
[1599] The server retrieves information about the expected arrival date from a database.
[1600] Input: Product ID
[1601] Output: Estimated arrival date information
[1602] Specific operation: The server sends a query to the database using the product ID as a key to obtain the corresponding estimated arrival date information.
[1603] Step 6:
[1604] The server provides the estimated arrival date information to the user.
[1605] Input: Estimated arrival date information
[1606] Output: The estimated arrival date information is displayed on the user's smartphone.
[1607] Specific operation: The server sends the estimated arrival date information obtained to the user via the chat system and displays it on the smartphone screen.
[1608] Step 7:
[1609] The user inputs the emotion.
[1610] Input: Emotion (e.g. happy, sad)
[1611] Output: Emotions are sent to the server
[1612] Specific action: The user enters an emotion into the chat system's input field and presses the send button.
[1613] Step 8:
[1614] The server uses a sentiment analysis engine to analyze the user's sentiment.
[1615] Input: Emotion
[1616] Output: Parsed emotion data
[1617] Specific operation: The server calls the emotion analysis engine, analyzes the input emotion, and generates emotion data.
[1618] Step 9:
[1619] The server selects appropriate campaigns based on the analyzed emotional data and adjusts the proposals.
[1620] Input: Parsed emotion data
[1621] Output: Campaign proposal information
[1622] Specific operation: Based on the analyzed emotional data, the server retrieves appropriate campaign information from the database and adjusts the proposal content.
[1623] Step 10:
[1624] The server provides campaign proposal information to the user.
[1625] Input: Campaign proposal information
[1626] Output: Campaign proposal information is displayed on the user's smartphone.
[1627] Specific operation: The server sends the adjusted campaign proposal information to the user through the chat system and displays it on the smartphone screen.
[1628] Example 3
[1629] Next, a description will be given of Example 3 of Form Example 3. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."
[1630] Conventional dialogue systems provide uniform responses without considering the user's feelings, resulting in a poor user experience. Furthermore, the methods for receiving fees for system usage are limited, making them difficult for users to use. Furthermore, the accuracy of answers to specific questions is low, making it difficult to improve user satisfaction.
[1631] The specific processing by the specific processing unit 290 of the data processing device 12 in the third embodiment is realized by the following means.
[1632] In this invention, the server includes a dialogue system means that allows a user to ask questions, a means for providing answers to questions from the user based on stored information, a means for receiving an additional fee for use by the user, an emotion analysis means for recognizing the user's emotions, and a means for adjusting responses based on the emotion analysis results. This makes it possible to provide appropriate responses according to the user's emotions and improve the user experience. Furthermore, by providing a flexible fee collection method, user convenience can be improved. Furthermore, by improving the accuracy of answers to specific questions, user satisfaction can be improved.
[1633] A "dialogue system" is a system that allows a user to input questions or instructions through text or voice, and the system then responds.
[1634] "Retained information" refers to information stored in a database internally by the system or information that can be obtained from external sources, and is used to generate answers to user questions.
[1635] "Additional Charges" means charges that a User must pay to use certain features or services of the System.
[1636] "Sentiment analysis method" refers to the technology or algorithms used to analyze and identify emotions from a user's text or voice input.
[1637] "Means for adjusting responses" refers to a function for appropriately changing the content and tone of the system's responses based on the user's emotions identified by the emotion analysis means.
[1638] This invention is a system that includes a dialogue system that allows a user to ask questions, a means for providing answers to questions from the user based on information held by the system, a means for receiving an additional fee for use by the user, an emotion analysis means for recognizing the emotions of the user, and a means for adjusting responses based on the emotion analysis results.
[1639] System configuration
[1640] The server is equipped with the hardware and software necessary to realize the dialogue system. Specifically, the server has a high-performance processor, sufficient memory, and a large amount of storage. The server is also connected to the Internet and has a network interface for receiving requests from users and returning responses.
[1641] Software used
[1642] The server uses the following software to implement the system:
[1643] Natural language processing engine (e.g. Google Cloud Natural Language API)
[1644] Payment gateways (e.g., online payment services)
[1645] Sentiment analysis engine (e.g. IBM Watson Tone Analyzer)
[1646] Database management systems (e.g., MySQL, PostgreSQL)
[1647] Data processing and calculation
[1648] The server receives input from the user and performs data processing and calculations such as:
[1649] 1. Analyze the user's question using a natural language processing engine to understand their intent.
[1650] 2. Generate appropriate answers based on the information held (information obtained from databases or external APIs).
[1651] 3. Use a sentiment analysis engine to analyze emotions from user input.
[1652] 4. Adjust the tone and content of your responses based on sentiment analysis.
[1653] 5. Receive additional payment from the User through the payment gateway.
[1654] Specific examples
[1655] Consider a case where a user accesses the system and types "What's the weather like today?" into the chat window. The server receives this input and uses a natural language processing engine to analyze it as "a request for weather information." The server then retrieves current weather information from a weather database (e.g., weather forecast API) and generates a response such as "Today's weather is sunny."
[1656] Furthermore, if a user types "Why is it so slow?", the server will use its emotion analysis engine to detect the emotion of "anger." Based on this, the server will adjust the response to "Sorry, we'll get back to you soon" and return it to the user.
[1657] Prompt Sentence Examples
[1658] Examples of prompts to input to a generative AI model might include:
[1659] 1. Please explain in detail the processing steps of the payment system for users to pay the optional fee of 100 yen per month.
[1660] 2. "Please explain the steps in the process for a user to ask a question through the chat system."
[1661] 3. "Please explain in detail the processing steps how the emotion engine analyzes the user's emotions and tailors the response."
[1662] This enables the system to provide appropriate responses according to the user's emotions, improving the user experience. Also, by providing flexible payment methods, it is possible to enhance user convenience. Furthermore, by improving the accuracy of answers to specific questions, it is possible to improve user satisfaction. The flow of the identification process in Example 3 will be described with reference to FIG. 21.
[1663] Step 1:
[1664] A user accesses the system.
[1665] Specific behavior: A user accesses the system through a web browser or app and a login screen appears.
[1666] Input: User's access request
[1667] Output: Login screen displayed
[1668] Step 2:
[1669] The server displays a payment screen for the option fee to the user.
[1670] Specific operation: The server generates a payment screen using HTML or an API and displays it on the user's device.
[1671] Input: User login information
[1672] Output: Payment screen displayed
[1673] Step 3:
[1674] The user enters their credit card information.
[1675] What happens: The user enters their credit card number, expiration date, and security code.
[1676] Input: Credit card information
[1677] Output: Entered credit card information
[1678] Step 4:
[1679] The server receives the fee through a payment system.
[1680] Specific operation: The server calls a payment gateway (e.g., an online payment service) to process the fee.
[1681] Input: Credit card information
[1682] Output: Payment success or failure response
[1683] Step 5:
[1684] After the server confirms the payment, it grants the user the right to use the system.
[1685] Specific operation: The server receives a successful payment response and grants the user's account permission to use the system.
[1686] Input: Payment successful response
[1687] Output: System entitlement granted
[1688] Step 6:
[1689] A user types a question into the chat system.
[1690] Specific behavior: The user types a question in the chat window and presses the send button.
[1691] Input: User question
[1692] Output: A query request to the server
[1693] Step 7:
[1694] The server receives the user's query.
[1695] Specific operation: The server receives a query via WebSocket or HTTP request.
[1696] Input: User's question request
[1697] Output: Received questions
[1698] Step 8:
[1699] The server analyzes the question using a natural language processing engine.
[1700] Specific operation: The server calls a natural language processing engine (e.g., Google Cloud Natural Language API) to analyze the question.
[1701] Input: Received question
[1702] Output: Analysis result (user intent)
[1703] Step 9:
[1704] The server searches for the appropriate answer from the information it holds.
[1705] Specific operation: The server retrieves information from a database or external API (e.g., weather forecast API) and generates an appropriate answer.
[1706] Input: Analysis result (user intent)
[1707] Output: The generated answer
[1708] Step 10:
[1709] The server analyzes the sentiment of the message using a sentiment analysis engine.
[1710] Specific operation: The server calls a sentiment analysis engine (e.g., IBM Watson Tone Analyzer) to analyze the sentiment of the message.
[1711] Input: User question
[1712] Output: Emotion analysis results
[1713] Step 11:
[1714] The server adjusts the response based on the analysis results.
[1715] What it does: The server adjusts the tone and content of the response based on the results of sentiment analysis.
[1716] Input: Sentiment analysis results
[1717] Output: Adjusted response
[1718] Step 12:
[1719] The server returns the answer to the user.
[1720] What happens: The server generates a response and displays it in the user's chat window.
[1721] Input: Adjusted response
[1722] Output: Display the answer to the user
[1723] (Application example 3)
[1724] Next, a description will be given of Application Example 3 of Form Example 3. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."
[1725] Conventional content distribution services lacked a dialogue system that allowed users to ask questions or share their thoughts in real time while watching, limiting the user experience. Furthermore, there was a lack of a system that could analyze user emotions and provide appropriate responses or content recommendations, making it difficult to improve user satisfaction. Furthermore, there was no integrated method for receiving optional fees, making the process for users to use the system cumbersome.
[1726] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 3 is realized by the following means.
[1727] In this invention, the server includes a dialogue system that allows users to ask questions, a means for providing answers to questions from users based on stored data, a means for receiving optional fees for user use, an emotion analysis means for analyzing the user's emotions and adjusting responses according to those emotions, and a means for recommending content based on the user's emotions and past usage history. This allows users to ask questions and give their impressions in real time while watching content, and receive appropriate responses and content recommendations according to their emotions. Furthermore, the integrated means for receiving optional fees simplifies the process for users to use the system.
[1728] A "dialogue system" is a system that allows users to ask questions and give their opinions in real time.
[1729] "Retained Data" refers to information and data held by the system and used to provide answers to user questions.
[1730] "Means for receiving optional fees" refers to the means by which the user receives the fees required to use the system via credit card, debit card, etc.
[1731] An "emotion analysis means" is a means for analyzing emotions from a user's text or voice input and adjusting the system's response according to those emotions.
[1732] "Means for recommending content" refers to a means for recommending appropriate content based on the user's emotions and past usage history.
[1733] A system for carrying out this invention has the following configuration: A server includes a dialogue system that allows a user to ask questions, means for providing answers to questions from users based on stored data, means for receiving optional fees that allow users to use the service, emotion analysis means for analyzing the user's emotions and adjusting responses in accordance with those emotions, and means for recommending content based on the user's emotions and past usage history.
[1734] Program processing explanation
[1735] Hardware and Software
[1736] The server uses the following hardware and software:
[1737] Hardware: Cloud or on-premise servers
[1738] software:
[1739] Flask: A Python micro-web framework that provides API endpoints.
[1740] Online payment service: A payment system for receiving optional fees.
[1741] TextBlob: A natural language processing library for analyzing user sentiment.
[1742] Data processing and calculation
[1743] 1. Sentiment Analysis: The server uses TextBlob to calculate a sentiment score from the user's text input, which categorizes the user's sentiment as positive, negative, or neutral.
[1744] 2. Payment Processing: The server uses an online payment service API to process credit card information and create subscriptions, which allow users to collect optional fees for using the system.
[1745] 3. Dialogue system: The server provides a dialogue system that allows users to ask questions and share their thoughts in real time while watching. The system generates appropriate responses based on the user's emotions.
[1746] 4. Content recommendation: The server recommends appropriate content based on the user's emotions and past usage history.
[1747] Specific examples
[1748] If a user types "This scene is really moving!" into the chat while watching a movie, the server will analyze the positive emotion using emotion analysis and respond with "That's great!". It will also recommend other movies with many moving scenes based on the user's past viewing history.
[1749] Prompt Sentence Examples
[1750] If a user types into chat while watching a movie, "This scene is really moving!", the emotion engine will analyze the positive emotion and respond with "That's amazing!"
[1751] The flow of the specific processing in Application Example 3 will be described with reference to FIG.
[1752] Step 1:
[1753] A user accesses the dialogue system using a terminal and inputs questions and comments.
[1754] Input: User text input (e.g., "This scene is truly moving!")
[1755] Output: User's text input data
[1756] Step 2:
[1757] The server receives the user's text input data and calculates an emotion score using an emotion analysis means.
[1758] Input: User text input data
[1759] Data processing: Calculate sentiment scores using TextBlob (classify into positive, negative, neutral)
[1760] Output: Sentiment score (e.g., positive)
[1761] Step 3:
[1762] The server generates an appropriate response based on the sentiment score.
[1763] Input: Sentiment score
[1764] Data calculation: Select a response sentence based on the emotion score (e.g., "That's great!" for positive emotions)
[1765] Output: Response (e.g. "That's great!")
[1766] Step 4:
[1767] The server sends the generated response to the user's terminal.
[1768] Input: Response
[1769] Output: The response text displayed on the user's terminal
[1770] Step 5:
[1771] The server recommends appropriate content based on the user's emotional score and past usage history.
[1772] Input: sentiment score, past usage history
[1773] Data calculation: Executes content recommendation algorithms based on sentiment scores and usage history
[1774] Output: Recommended content list (e.g. other movies with many moving scenes)
[1775] Step 6:
[1776] The server transmits the recommended content list to the user's terminal.
[1777] Input: Recommended content list
[1778] Output: A list of recommended content displayed on the user's device
[1779] Step 7:
[1780] If the user pays an optional fee to use the system, the server processes the payment using an online payment service API.
[1781] Input: User's credit card information, fee information
[1782] Data calculation: Execute payment processing using online payment service API
[1783] Output: Payment completion notification (e.g., subscription creation)
[1784] Step 8:
[1785] The server sends a payment completion notification to the user's terminal.
[1786] Input: Payment completion notification
[1787] Output: Payment completion notification displayed on the user's device
[1788] The specific processing unit 290 transmits the result of the specific processing to the smart glasses 214. In the smart glasses 214, the control unit 46A causes the speaker 240 to output the result of the specific processing. The microphone 238 acquires audio indicating a user input regarding the result of the specific processing. The control unit 46A transmits audio data indicating the user input acquired by the microphone 238 to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the audio data.
[1789] The data generation model 58 is a so-called generative AI (Artificial Intelligence). An example of the data generation model 58 is ChatGPT (Internet Search<URL: https: / / openai.com / blog / chatgpt> ) and other generation AIs. The data generation model 58 is obtained by performing deep learning on a neural network. A prompt including an instruction is input to the data generation model 58, and inference data such as voice data indicating voice, text data indicating text, and image data indicating an image is also input. The data generation model 58 performs inference on the input inference data in accordance with the instruction indicated by the prompt, and outputs the inference result in a data format such as voice data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization.
[1790] Another example of generative AI is Gemini (internet search engine). <url: https: gemini.google.com ?hl="ja">) are mentioned.
[1791] In the above embodiment, an example in which the specific processing is performed by the data processing device 12 has been given, but the technology of the present disclosure is not limited to this, and the specific processing may be performed by the smart glasses 214.
[1792] [Third embodiment]
[1793] FIG. 5 shows an example of the configuration of a data processing system 310 according to the third embodiment.
[1794] 5, the data processing system 310 includes the data processing device 12 and a headset type terminal 314. An example of the data processing device 12 is a server.
[1795] The data processing device 12 includes a computer 22, a database 24, and a communication I / F 26. The computer 22 is an example of a "computer" according to the technology of the present disclosure. The computer 22 includes a processor 28, a RAM 30, and a storage 32. The processor 28, the RAM 30, and the storage 32 are connected to a bus 34. The database 24 and the communication I / F 26 are also connected to the bus 34. The communication I / F 26 is connected to a network 54. Examples of the network 54 include a WAN (Wide Area Network) and / or a LAN (Local Area Network).
[1796] The headset type terminal 314 includes a computer 36, a microphone 238, a speaker 240, a camera 42, a communication I / F 44, and a display 343. The computer 36 includes a processor 46, a RAM 48, and a storage 50. The processor 46, the RAM 48, and the storage 50 are connected to a bus 52. The microphone 238, the speaker 240, the camera 42, and the display 343 are also connected to the bus 52.
[1797] The microphone 238 receives instructions and the like from the user 20 by receiving voice uttered by the user 20. The microphone 238 captures the voice uttered by the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio in accordance with instructions from the processor 46.
[1798] Camera 42 is a small digital camera equipped with an optical system including a lens, aperture, and shutter, and an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor, and captures images of the surroundings of user 20 (for example, an imaging range defined by an angle of view equivalent to the field of vision of a typical healthy person).
[1799] The communication I / F 44 is connected to a network 54. The communication I / Fs 44 and 26 are responsible for the exchange of various information between the processor 46 and the processor 28 via the network 54. The exchange of various information between the processor 46 and the processor 28 using the communication I / Fs 44 and 26 is carried out in a secure state.
[1800] Fig. 6 shows an example of the main functions of the data processing device 12 and the headset type terminal 314. As shown in Fig. 6, in the data processing device 12, a specific process is performed by the processor 28. A specific process program 56 is stored in the storage 32.
[1801] The specific processing program 56 is an example of a "program" according to the technology of the present disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as a specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30.
[1802] The storage 32 stores a data generation model 58 and an emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290.
[1803] In the headset type terminal 314, a reception output process is performed by the processor 46. A reception output program 60 is stored in the storage 50. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output process is realized by the processor 46 operating as the control unit 46A in accordance with the reception output program 60 executed on the RAM 48.
[1804] Next, the specific processing by the specific processing unit 290 of the data processing device 12 will be described.
[1805] "Example 1"
[1806] The system of the present invention provides a chat system that allows users to ask questions. This chat system is installed on, for example, a website or an application, and allows users to ask questions by entering text.
[1807] "Example 2"
[1808] The system of the present invention has a means for providing answers to questions from users based on stored data. Specifically, information such as identifying stores that have product stock, confirming product arrival dates, and suggesting campaign participation is extracted from the stored data and provided to the user as an answer. This means is realized, for example, using a database management system or a search engine.
[1809] "Example 3"
[1810] The system of the present invention has a means for receiving an option fee to enable the user to use the system. Specifically, to use the system, the user must pay an option fee of, for example, 100 yen per month. This means can be realized, for example, using a credit card payment system or a debit card payment system.
[1811] The processing flow of each embodiment will be described below.
[1812] "Example 1"
[1813] Step 1: A user accesses the chat system on your website or application.
[1814] Step 2: The user asks a question to the chat system, for example by typing a question like "Is this item in stock at my local store?"
[1815] Step 3: The system analyzes the user's question and generates an appropriate answer based on the data it possesses.
[1816] Step 4: The system generates a response and provides it to the user, which is displayed to the user in the chat system.
[1817] "Example 2"
[1818] Step 1: The user registers with the system, providing necessary information (e.g., name, address, credit card information, etc.).
[1819] Step 2: The user pays for the system. Payment is made, for example, through a credit card or debit card payment system.
[1820] Step 3: The system verifies the user's payment and grants the user permission to use the system.
[1821] Example 1
[1822] Next, a description will be given of Example 1 of Form Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."
[1823] Conventional chat systems have had the problem of being difficult to provide prompt and appropriate answers to user questions. They also have the problem of requiring users to go through multiple steps to obtain specific information, resulting in low convenience. Furthermore, the method of receiving fees for user use is often unclear, which can cause problems in system operation.
[1824] The specific processing by the specific processing unit 290 of the data processing device 12 in the first embodiment is realized by the following means.
[1825] In this invention, the server includes a dialogue system that allows users to ask questions, a means for receiving questions from users, a means for analyzing the received questions and sending them as prompts to the generative AI model, a means for receiving answers from the generative AI model and providing them to the user, and a means for receiving optional fees that allow users to use the system. This allows users to receive prompt and appropriate answers, improving the convenience of the system. Furthermore, by clarifying the means for receiving fees, the system can be operated smoothly.
[1826] A "dialogue system" is a system that allows users to pose questions by entering text.
[1827] The "means for receiving questions from users" is a function for sending questions entered by users to the server.
[1828] "Means for analyzing received questions and sending them as prompt sentences to the generative AI model" refers to a function that analyzes questions received from users, generates prompt sentences to enable the generative AI model to understand the questions, and sends them.
[1829] "Means for receiving answers from a generative AI model and providing them to a user" refers to a function for receiving answers generated from a generative AI model and displaying those answers to a user.
[1830] "Means for receiving optional fees" refers to a function that allows users to receive the fees required to use the system.
[1831] The present invention provides a dialogue system that allows users to ask questions. This dialogue system is installed on a website or application, and allows users to ask questions by inputting text.
[1832] System configuration
[1833] The system consists of the following main components:
[1834] 1. User Device
[1835] Hardware: PC, smartphone
[1836] Software: Web browser, mobile app
[1837] 2. Server
[1838] Hardware: Server machine
[1839] Software: Server-side scripts (e.g., Python, Node.js), API
[1840] 3. Generative AI Models
[1841] Example: GPT-4
[1842] Program processing
[1843] 1. User inputs a question
[1844] A user types a question into a chat window on a website or application.
[1845] Example: User types "What's the weather like today?"
[1846] 2. Submit your question
[1847] The terminal receives the user's input and sends it to the server.
[1848] The device uses an HTTP POST request to send the user's question to the server.
[1849] 3. Question analysis and prompt generation
[1850] The server analyzes the received question and generates an appropriate prompt.
[1851] Example: The server generates a prompt sentence: "The user asked 'What's the weather like today?' Please generate an answer."
[1852] 4. Answer generation using generative AI models
[1853] The server sends a prompt to the generative AI model, which then generates an appropriate response.
[1854] Example: A generative AI model generates the answer "The weather is sunny today."
[1855] 5. Submit your response
[1856] The server receives the generated response and sends it to the terminal.
[1857] The server sends the generated answer to the terminal as an HTTP response.
[1858] 6. View Answers
[1859] The device displays the response received from the server to the user.
[1860] Example: The device responds in the chat window with "The weather is sunny today."
[1861] Specific examples
[1862] Let's explain what happens when a user asks, "What is the stock price forecast for tomorrow?"
[1863] 1. User inputs a question
[1864] A user types into the chat window, "What's the stock price forecast for tomorrow?"
[1865] 2. Submit your question
[1866] The terminal sends this input to the server.
[1867] 3. Question analysis and prompt generation
[1868] The server generates a prompt saying, "The user asked, 'What is tomorrow's stock price prediction?' Please generate an answer."
[1869] 4. Answer generation using generative AI models
[1870] The generative AI model generates the answer, "It is difficult to predict tomorrow's stock price, but given the current market trend, it is likely to rise."
[1871] 5. Submit your response
[1872] The server sends this response to the terminal.
[1873] 6. View Answers
[1874] The device displays the answer to the user: "It is difficult to predict tomorrow's stock prices, but given current market trends, they may rise."
[1875] The above is a specific embodiment of the system of the present invention. This system allows users to receive prompt and appropriate answers, improving the convenience of the system. In addition, by clarifying the means of receiving fees, the system can be operated smoothly.
[1876] The flow of the identification process in the first embodiment will be described with reference to FIG.
[1877] Step 1:
[1878] The user types a question.
[1879] What happens: A user types a question into a chat window on a website or application and clicks the send button.
[1880] Input: Text entered by the user (e.g., "What's the weather like today?").
[1881] Output: The user's question is sent to the terminal.
[1882] Step 2:
[1883] The device sends the user's question to the server.
[1884] How it works: The device takes user input and sends it to the server using an HTTP POST request.
[1885] Input: The user's question text (e.g., "What's the weather like today?").
[1886] Output: The user's question is sent to the server.
[1887] Step 3:
[1888] The server analyzes the received question and sends it to the generative AI model as a prompt.
[1889] How it works: The server analyzes the received question, generates an appropriate prompt, and sends the generated prompt to the generative AI model.
[1890] Input: The user's question text (e.g., "What's the weather like today?").
[1891] Data processing: Analyze the question text and generate a prompt (e.g., "The user asked 'What's the weather like today?' Please generate an answer.").
[1892] Output: The generated prompt sentence is sent to the generative AI model.
[1893] Step 4:
[1894] A generative AI model generates an answer based on the prompt.
[1895] How it works: A generative AI model receives a prompt and generates an appropriate response.
[1896] Input: Prompt statement (e.g., "The user asked 'What's the weather today?' Please generate an answer.").
[1897] Data computation: A generative AI model analyzes the prompt and generates an answer (e.g., "The weather is sunny today.").
[1898] Output: The generated answer is returned to the server.
[1899] Step 5:
[1900] The server receives the generated response and sends it to the terminal.
[1901] How it works: The server receives the answer from the generative AI model and sends it to the device as an HTTP response.
[1902] Input: Answer text from the generative AI model (e.g., "The weather is sunny today.").
[1903] Output: The answer text is sent to the terminal.
[1904] Step 6:
[1905] The device displays the response received from the server to the user.
[1906] Behavior: The device displays the reply it receives from the server in the chat window.
[1907] Input: Answer text from the server (e.g. "The weather is sunny today.").
[1908] Output: The answer text is displayed to the user.
[1909] (Application example 1)
[1910] Next, a description will be given of Application Example 1 of Form Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."
[1911] Conventional chat systems have the problem of making it difficult for users to get quick and accurate answers when asking questions about products in physical stores. Furthermore, there is a lack of systems that utilize generative AI models to provide answers in real time when users ask questions. Furthermore, there was a need to improve the convenience of users when asking questions about products in physical stores through smartphone applications.
[1912] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 1 is realized by the following means.
[1913] In this invention, the server includes a means for providing a chat system to which users can ask questions, a means for providing answers to user questions based on stored data, a means for receiving an option fee for user use, a means for generating answers to user questions using a generative AI model, and a means for accepting questions about products in a physical store via a smartphone application. This allows users to quickly and accurately ask questions about products in a physical store, and real-time answers are provided using the generative AI model. It also improves the convenience of asking questions via a smartphone application.
[1914] A "chat system" is an interactive system that allows users to pose questions by entering text.
[1915] "Held data" refers to information held by the system or stored in a database.
[1916] "Optional Fee" means an additional fee paid by a User to use a particular function or service.
[1917] A "generative AI model" is an algorithm or system that uses artificial intelligence technology to generate answers to user questions.
[1918] A "smartphone application" is a software program that runs on a smartphone.
[1919] "Brick and mortar store" means a retail outlet that is located in a physical location.
[1920] A "question" is an inquiry or question that a user poses to the system.
[1921] An "answer" is information or a response provided by the system in response to a user's question.
[1922] A system for implementing this invention includes a chat system that allows users to ask questions, a means for providing answers to questions from users based on stored data, a means for receiving optional fees that users can use, a means for generating answers to user questions using a generative AI model, and a means for accepting questions about products in a physical store via a smartphone application.
[1923] The server receives questions entered by users through a smartphone application and sends them to the generative AI model. The generative AI model generates an appropriate answer to the question and returns the answer to the server. The server then provides the generated answer to the user through the smartphone application.
[1924] In this system, the hardware used is a smartphone, and the software used is Python and the OpenAI API. The server receives the user's question and generates an answer using OpenAI's generative AI model (e.g., GPT-3). The generated answer is then provided to the user from the server via a smartphone application.
[1925] As a concrete example, if a user asks "How do I use this product?" in a physical store, the system works as follows: The user opens a smartphone application and enters the question. The server receives the question and sends it to the generative AI model using OpenAI's API. The generative AI model generates an answer to the question and returns it to the server. The server provides the generated answer to the user through the smartphone application.
[1926] An example of a prompt to input to a generative AI model is as follows:
[1927] User Question: "How do I use this product?"
[1928] By sending this prompt to a generative AI model, the model generates an appropriate answer.
[1929] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[1930] Step 1:
[1931] The user opens the smartphone application and enters a question.
[1932] Input: User question (e.g., "How do I use this product?")
[1933] Output: The user's question is entered into the smartphone application.
[1934] Step 2:
[1935] The terminal (smartphone application) sends the user's question to the server.
[1936] Input: User question
[1937] Output: The user's question is sent to the server.
[1938] Step 3:
[1939] The server receives the user's question and generates a prompt to send to the generative AI model.
[1940] Input: User question
[1941] Output: The prompt to send to the generative AI model (e.g., "User question: 'How do I use this product?'")
[1942] Step 4:
[1943] The server sends a prompt to a generative AI model (e.g., OpenAI's GPT-3) to generate an answer.
[1944] Input: prompt statement
[1945] Output: Answer from the generative AI model (e.g., "First, turn on this product, then...")
[1946] Step 5:
[1947] The server sends the answer received from the generative AI model to the smartphone application.
[1948] Input: Answer from a generative AI model
[1949] Output: The answer is sent to the smartphone application.
[1950] Step 6:
[1951] The terminal (smartphone application) displays the answer received from the server to the user.
[1952] Input: Response from the server
[1953] Output: The answer is displayed on the user's smartphone screen.
[1954] Example 2
[1955] Next, a description will be given of Example 2 of Form Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."
[1956] Conventional dialogue systems have difficulty providing quick and accurate answers to user questions. They also lack the system to provide specific information, such as product inventory, product arrival dates, and sales promotion suggestions. Furthermore, there is no integrated payment method for users to use the system, which reduces the user experience.
[1957] The specific processing by the specific processing unit 290 of the data processing device 12 in the second embodiment is realized by the following means.
[1958] In this invention, the server includes a dialogue system that allows users to ask questions, a means for analyzing the questions from the users, a means for performing searches based on stored data, a means for generating answers based on the search results, a means for providing the generated answers to the users, and a means for receiving additional fees for use by the users. This makes it possible to provide quick and accurate answers to questions from users, and to provide specific information such as product inventory confirmation, product arrival dates and times, and sales promotion activity suggestions. In addition, the integrated fee receiving means improves the user experience.
[1959] A "dialogue system" is a system that has an interface through which a user can input a question and the system can provide an answer to that question.
[1960] "Means for analyzing questions" refers to a function that uses natural language processing technology to analyze questions entered by users and extract the intent and keywords of the questions.
[1961] "Means for searching based on held data" refers to a function for searching for relevant information from databases and other data storages based on an analyzed question.
[1962] "Means for generating answers based on search results" is a function for generating appropriate answers to users' questions based on data obtained through searches.
[1963] The "means for providing the generated answer to the user" is a function for displaying or transmitting the generated answer to the user.
[1964] "Means for receiving additional fees" refers to the function that allows users to receive the fees required to use the system.
[1965] "Point of Sale" means a physical or online location where products are stocked.
[1966] "Sales promotion activities" are campaigns and promotional activities aimed at promoting the sale of specific products or services.
[1967] The present invention provides a dialogue system that allows a user to ask questions. A specific embodiment of this system will be described below.
[1968] System configuration
[1969] server
[1970] The server receives questions from users, analyzes them, searches the data it holds, generates answers based on the search results, and provides the answers to users. The server uses the following hardware and software:
[1971] Hardware: A server machine with a powerful processor, sufficient memory, and ample storage.
[1972] Software: Database management systems (e.g., MySQL or PostgreSQL), search engines (e.g., Elasticsearch), natural language processing libraries (e.g., SpaCy or NLTK), template engines.
[1973] Terminal
[1974] The terminal provides an interface for users to input questions and receive and display answers from the server. The terminal uses the following hardware and software:
[1975] Hardware: Personal computers, smartphones, tablets, etc.
[1976] Software: web browser, mobile application.
[1977] user
[1978] Users access the system using a terminal, input questions, and receive and use the answers provided by the system.
[1979] Specific examples
[1980] Example 1: Checking product inventory
[1981] The user types "What products are in stock at nearby stores?" into the terminal. The terminal sends this question to the server. The server analyzes the question and extracts the keywords "nearby stores" and "products in stock." The server executes the query "SELECT FROM inventory WHERE store_location='nearby' AND stock > 0" against the MySQL database. The server retrieves "product A, product B, product C" as the search results and generates the answer "The products in stock at nearby stores are product A, product B, and product C." The server sends this answer to the terminal, which displays it to the user.
[1982] Example 2: Checking the arrival date and time of the product
[1983] The user types "When will the product arrive?" into the terminal. The terminal sends this question to the server. The server analyzes the question and extracts the keyword "arrival date and time." The server uses Elasticsearch to search for information about the product's arrival date and time. The server obtains the search result "The arrival date and time of product X is October 10, 2023," and generates an answer based on this information. The server sends this answer to the terminal, which displays it to the user.
[1984] Prompt Sentence Examples
[1985] Below are some example prompts to input to a generative AI model:
[1986] When a user asks, "What items are in stock at my local store?", explain the specific steps your server takes to generate the answer.
[1987]
[1988] When a user asks, "When will my item arrive?", what are the specific steps the server takes to generate the answer?
[1989]
[1990] When a user asks, "How do I sign up for a promotion?", describe the specific steps your server takes to generate the answer.
[1991] The flow of the identification process in the second embodiment will be described with reference to FIG.
[1992] Step 1:
[1993] The user enters a question.
[1994] A user uses the device's interface to input a question, for example, "What items are in stock at nearby stores?" This input is done through the device's text box or voice input function. The input data is the user's question text.
[1995] Step 2:
[1996] The terminal sends a question to the server.
[1997] The device sends the question entered by the user to the server. This transmission is performed using a communication protocol such as an HTTP request or WebSocket. For example, the device sends a request to the server: "GET / search?query=What products are in stock at nearby stores?" The input data is the user's question text, and the output data is the request sent to the server.
[1998] Step 3:
[1999] The server parses the question.
[2000] The server analyzes the received question. Natural language processing (NLP) techniques are used for the analysis. For example, the server tokenizes the question and extracts keywords to understand the intent of the question. NLP libraries such as SpaCy and NLTK are used for this process. The input data is the user's question text, and the output data is the analyzed keywords and intent.
[2001] Step 4:
[2002] The server searches the database.
[2003] The server searches the database based on the analysis results. For example, if the server is using a MySQL database, it executes the query "SELECT FROM inventory WHERE store_location='nearby' AND stock > 0". This query searches for products that are in stock at nearby stores. The input data are the analyzed keywords and intent, and the output data are the search results obtained from the database.
[2004] Step 5:
[2005] The server generates an answer based on the search results.
[2006] The server generates an answer based on the search results obtained from the database. For example, if the search results are "Product A, Product B, Product C," the server generates an answer such as "Products A, B, and C are in stock at nearby stores." A template engine may be used to generate this answer. The input data are the search results obtained from the database, and the output data is the generated answer text.
[2007] Step 6:
[2008] The server sends the response to the terminal.
[2009] The server sends the generated answer to the terminal. This transmission is also performed using an HTTP response or a WebSocket message. For example, the server sends the answer to the terminal in JSON format along with a "200 OK" status code. The input data is the generated answer text, and the output data is the response sent to the terminal.
[2010] Step 7:
[2011] The terminal displays the answer to the user.
[2012] The terminal displays the answer received from the server to the user. To display the answer, HTML and CSS are used to render the answer in a format that is easy for the user to view. For example, the terminal displays the text "Products in stock at nearby stores are product A, product B, and product C" on the screen. The input data is the answer text received from the server, and the output data is the answer displayed to the user.
[2013] (Application example 2)
[2014] Next, a description will be given of Application Example 2 of Form Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."
[2015] Conventional chat systems have the problem that it is difficult for users to quickly and accurately obtain information such as product inventory, product arrival dates, and campaign suggestions. Furthermore, there is a lack of a way to generate prompts to provide appropriate answers to user questions, which hinders the user experience.
[2016] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 2 is realized by the following means.
[2017] In this invention, the server includes a dialogue system that allows a user to ask questions, means for providing answers to questions from the user based on stored data, means for receiving additional fees to enable use by the user, means for checking product inventory, product arrival dates and times, and campaign suggestions, and means for generating prompt sentences in response to user questions using a generative AI model. This allows the user to quickly and accurately obtain information such as product inventory, product arrival dates and times, and campaign suggestions, improving the user experience.
[2018] A "dialogue system" is a system that allows users to ask questions and provides information through interaction with the user.
[2019] "Retained data" is a collection of information held by the system, and is data used to provide answers to questions from users.
[2020] "Additional Fees" means fees that a User must pay to use certain features or services.
[2021] "Checking product inventory" is the process of checking whether a particular product is in stock at which sales location.
[2022] "Confirming the arrival date and time of the product" is the process by which the user confirms the expected arrival date and time of the product they purchased.
[2023] "Campaign suggestion" is the process of suggesting relevant campaigns and discount information to users based on their purchase history and search history.
[2024] A "generative AI model" is a model that uses artificial intelligence to generate appropriate prompt sentences in response to user questions.
[2025] A "prompt sentence" is a sentence that is generated to provide an appropriate answer to a user's question and is presented to the user by the system.
[2026] The following system configuration is exemplified as an embodiment of the present invention.
[2027] System Configuration
[2028] The system includes a dialogue system that allows users to ask questions, a means for providing answers to user questions based on stored data, a means for receiving additional fees to enable use by the user, a means for checking product inventory, checking product arrival dates and times, and proposing campaigns, and a means for generating prompt sentences in response to user questions using a generative AI model.
[2029] Hardware and software used
[2030] Hardware: Smartphones, servers
[2031] Software: SQLite (database management system), Python (programming language)
[2032] Data processing and calculation
[2033] When the server receives a question from a user, it performs the following process.
[2034] 1. Dialogue system: A user inputs a question through a smartphone app. For example, a question such as "Please tell me the stock status of product ID 101" is input.
[2035] 2. Searching for available data: The server uses the SQLite database to search for the relevant information from the available data. For example, to check the stock status of product ID 101, it retrieves stock information from the database.
[2036] 3. Generative AI model: A generative AI model is used to generate appropriate prompts in response to user questions. For example, in response to the question "What is the stock status of product ID 101?", a prompt such as "Product ID 101 is currently in stock at store A" is generated.
[2037] 4. Providing an answer: The generated prompt is provided to the user, who receives the answer via a smartphone app.
[2038] Specific examples
[2039] Stock Check: When the user types "Please tell me the stock status of product ID 101," the server retrieves stock information from the database and replies "Product ID 101 is currently in stock at store A."
[2040] Arrival date and time confirmation: When the user enters, "Please tell me the expected arrival date and time for order number 202," the server retrieves the expected arrival date and time from the database and replies, "Order number 202 is expected to arrive on October 15, 2023."
[2041] Campaign suggestions: When a user types, "Tell me about campaigns that are relevant to me," the server responds, based on the user's purchase and search history, with, "Currently, the campaign recommended for you is a 10% off coupon."
[2042] Prompt Sentence Examples
[2043] "Please tell me the stock status of product ID 101."
[2044] "Please let me know the estimated arrival date for order number 202."
[2045] "Please tell me the campaign information related to user ID 303."
[2046] In this way, users can quickly and accurately obtain information such as product inventory, product arrival dates and times, campaign suggestions, etc. This improves the user experience and increases the convenience of the system.
[2047] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[2048] Step 1:
[2049] The user enters a question through a smartphone app.
[2050] Input: User question (e.g. "What is the stock status of product ID 101?")
[2051] Output: The user's question is sent to the server.
[2052] Specific operation: The user enters a question into the input field of the smartphone app and presses the submit button.
[2053] Step 2:
[2054] The server receives the user's query.
[2055] Input: User question (e.g. "What is the stock status of product ID 101?")
[2056] Output: The question is processed on the server.
[2057] Specific operation: The server receives the HTTP request and analyzes the question.
[2058] Step 3:
[2059] The server searches for the relevant information from its stored data.
[2060] Input: Question (e.g. "Stock status of product ID 101")
[2061] Output: Applicable information (e.g. "Store A has stock")
[2062] What happens: The server queries the SQLite database to get stock information for product ID 101.
[2063] Step 4:
[2064] The server generates a prompt using a generative AI model.
[2065] Input: relevant information (e.g. "Store A has stock")
[2066] Output: The generated prompt statement (e.g., "Product ID 101 is currently in stock at store A.")
[2067] Specific operation: The server provides input data to the generative AI model and generates an appropriate prompt sentence.
[2068] Step 5:
[2069] The server provides the generated prompt to the user.
[2070] Input: Generated prompt statement (e.g. "Product ID 101 is currently in stock at store A.")
[2071] Output: Answers displayed on the user's smartphone app
[2072] Specific operation: The server generates an HTTP response and sends it to the user's smartphone app.
[2073] Step 6:
[2074] The user checks the answer on the smartphone app.
[2075] Input: Response from the server (e.g. "Product ID 101 is currently in stock at store A.")
[2076] Output: User reviews answer and decides next action.
[2077] Specific operation: The user checks the answer displayed on the smartphone app screen.
[2078] In this way, users can quickly and accurately obtain information such as product inventory, product arrival dates and times, and campaign proposals.
[2079] Example 3
[2080] Next, a third embodiment of the third embodiment will be described. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."
[2081] In conventional interactive systems, the payment process for users to use the system was complicated, resulting in a poor user experience. Furthermore, there was a lack of a mechanism for automating monthly payments, requiring users to make payments manually, which was inconvenient. Furthermore, there were cases where secure processing and verification of payment information was not adequately performed, posing a security risk.
[2082] The specific processing by the specific processing unit 290 of the data processing device 12 in the third embodiment is realized by the following means.
[2083] In this invention, the server includes a means for a user to create an account, a means for the user to input payment information, a means for the server to send the payment information to the payment system, a means for the payment system to verify the payment information, a means for the server to receive the verification result and activate the user's account, and a means for the server to automatically debit the monthly additional fee. This allows the user to easily and safely pay the fee for using the system, and the monthly fee payment is also automated, improving convenience.
[2084] A "dialogue system" is a system that allows users to ask questions and provides answers based on the information held.
[2085] "Retained information" refers to data and knowledge held by the system that is used to generate appropriate answers to questions from users.
[2086] "Additional Fee" means a fee that a User must pay to use the System, and is set in addition to the Basic Fee.
[2087] "Account creation means" refers to a function that allows a user to access the system, enter the necessary information, and create an account.
[2088] "Payment Information" means financial information, such as credit or debit card information, that you provide to pay a fee.
[2089] "Payment System" means a system for receiving, verifying, and processing User payment information.
[2090] "Verification means" refers to the functionality that a payment system uses to verify a user's payment information and determine its validity.
[2091] "Account Validation Means" refers to a function that validates a user's account and allows them to use the system after successful verification of payment information.
[2092] "Automatic Debit Method" is a function that allows the server to automatically deduct the monthly additional fee from the user's payment information.
[2093] The present invention is a system for safely and efficiently receiving additional fees for users to use the system. A specific embodiment of this system is described below.
[2094] System configuration
[2095] The system consists of the following main components:
[2096] 1. Dialogue Systems
[2097] 2. How to create an account
[2098] 3. Payment information input method
[2099] 4. Payment System
[2100] 5. Verification Methods
[2101] 6. Account Activation Methods
[2102] 7. Automatic Debit Methods
[2103] Hardware and software used
[2104] Server: Manages the entire system and processes requests from users.
[2105] Device: The device from which the user accesses the site (PC, smartphone, tablet, etc.).
[2106] Payment system: Online payment service.
[2107] Database: A database system for storing user and payment information.
[2108] Program processing
[2109] The server performs a series of processes to collect additional fees for the user's use of the system, including the following:
[2110] 1. Account Creation: A user accesses the system and enters the required information (name, email address, password, etc.) into the account creation form. The server receives this information and stores it in a database.
[2111] 2. Enter payment information: After creating an account, the user proceeds to a screen where they can enter their credit card information (card number, expiration date, security code). The server receives this information and sends it using the payment system's API.
[2112] 3. Validate payment information: The payment system validates the received credit card information to ensure that the card is valid and has available funds. If the validation is successful, the payment system returns a success response to the server.
[2113] 4. Account Activation: The server receives a successful response from the payment system and activates the user's account, allowing the user to use the full functionality of the system.
[2114] 5. Monthly Automatic Debit: The server sets up a schedule for automatic debit of the monthly additional fee, and debits the user's credit card 100 yen each month through the payment system.
[2115] Specific examples
[2116] Consider the scenario where a user creates a new account and enters credit card information, in which case the server does the following:
[2117] 1. The user enters the required information into the account creation form and presses the "Register" button.
[2118] 2. The server stores the entered information in a database and displays a screen for the user to enter their credit card information.
[2119] 3. The user enters their credit card information and presses the "Submit" button.
[2120] 4. The server sends the credit card information to the payment system API and waits for the verification result.
[2121] 5. The payment system verifies the information and returns a success response to the server.
[2122] 6. The server activates the user's account and sets up a monthly automatic debit schedule.
[2123] Prompt Sentence Examples
[2124] "Describe a scenario where a user creates a new account and enters their credit card information. Include the process by which your server uses a payment system API to debit the additional monthly fee."
[2125] In this way, the user can easily and safely pay the fee for using the system, and monthly fee payments are also automated, improving convenience. The flow of the identification process in the third embodiment will be described with reference to FIG.
[2126] Step 1:
[2127] The user enters the required information into the account creation form and presses the "Register" button.
[2128] Input: Name, Email Address, Password
[2129] Data processing: The server receives the entered information and formats it for storage in a database.
[2130] Output: The new user information is saved in the database.
[2131] What happens: The server takes the information entered by the user and creates a new record in the database.
[2132] Step 2:
[2133] The user proceeds to the credit card information input screen, enters the necessary information, and presses the "Submit" button.
[2134] Input: Card number, expiration date, security code
[2135] Data processing: The server receives the entered credit card information and formats it to send to the payment system's API.
[2136] Output: Credit card information sent to the payment system
[2137] What happens: The server receives the credit card information entered by the user and sends it to the payment system's API using an HTTPS request.
[2138] Step 3:
[2139] The payment system validates the credit card information.
[2140] Input: Credit card information sent from the server
[2141] Data Processing: The payment system verifies the credit card information and checks validity and balance.
[2142] Output: Verification result (success or failure)
[2143] What it does: The payment system receives the credit card information and goes through an internal validation process to verify the card's validity and balance.
[2144] Step 4:
[2145] The server receives the verification result and activates the user's account.
[2146] Input: Verification results from the payment system
[2147] Data processing: The server analyzes the verification result and, if successful, activates the user's account.
[2148] Output: Enabled user accounts
[2149] Specific behavior: The server receives a success response from the payment system and updates the status of the user account in the database to "valid."
[2150] Step 5:
[2151] Set up a schedule for the server to automatically deduct the additional monthly fee.
[2152] Input: Activated user account information
[2153] Data Processing: The server schedules and prepares the monthly debit requests for transmission to the payment system.
[2154] Output: Monthly withdrawal schedule
[2155] Specific operation: Based on the user account information, the server calls the payment system API on the first day of each month to set a schedule for debiting 100 yen.
[2156] In this way, users can easily and safely pay for using the system, and monthly payment is also automated, improving convenience.
[2157] (Application example 3)
[2158] Next, a description will be given of Application Example 3 of Form Example 3. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."
[2159] It is common for modern users to use multiple subscription services, but managing and paying for each service individually can be cumbersome, leading to late or missed payments. Furthermore, there is a lack of a centralized way to check the payment history of each service, making it difficult for users to understand their spending.
[2160] The specific processing by the specific processing unit 290 of the data processing device 12 in Application Example 3 is realized by the following means. In this invention, the server includes a dialogue system to which the user can pose questions, means for providing answers to questions from the user based on stored data, means for receiving optional fees for services that the user can use, means for centrally managing multiple subscription services, means for managing payments for the optional fees for each service, means for checking payment history, means for providing payment reminder notifications, and means for making payments by credit card or debit card. This allows the user to centrally manage multiple subscription services, prevent late or missed payments, and easily check payment history.
[2161] A "dialogue system" is a system that allows users to ask questions and provides information through interaction with the user.
[2162] "Retained Data" refers to information and data held by the system that is used to provide answers to user questions.
[2163] "Optional Fee" means an additional fee paid by the User to use the System, which is received through a credit or debit card payment system.
[2164] A "subscription service" is a service that can be used continuously by paying a regular fee, and allows users to centrally manage multiple services.
[2165] "Centralized management" means managing multiple subscription services in a single system, allowing users to view and manage information for each service in one place.
[2166] "Payment Management" means managing the payment of optional fees for each subscription service and is a measure to prevent late or non-payment of payments.
[2167] "Payment History" means a record of past payments that a User may use to track their spending.
[2168] "Reminders" means a feature that notifies users of payment due dates and other important information to help prevent late payments.
[2169] "Payment method" refers to a means of paying fees using a credit card or debit card, and is used when a user pays an option fee.
[2170] A system for implementing this invention includes an interactive system that allows a user to ask questions, a means for providing answers to questions from users based on stored data, a means for receiving optional fees that users can use, a means for centrally managing multiple subscription services, a means for managing payment of optional fees for each service, a means for checking payment history, a means for providing payment reminder notifications, and a means for making payments by credit card or debit card.
[2171] System configuration
[2172] Hardware
[2173] Server: A server for hosting the database and the dialogue system.
[2174] User terminal: A device through which a user accesses an interactive system, such as a smartphone or tablet.
[2175] software
[2176] Flask: A Python web framework that provides an API for dialogue systems.
[2177] SQLite: A lightweight database system for storing subscription information.
[2178] Online payment service: API service for processing payments.
[2179] Data processing and calculation
[2180] 1. Dialogue system: When a user asks a question, the server generates an answer based on the data it holds. For example, if a user asks, "When is my next payment?", the server retrieves the next payment date from the database and provides the answer.
[2181] 2. Receiving optional fees: When a user pays an optional fee to use the system, the server uses an online payment service API to process credit or debit card payments.
[2182] 3. Subscription Management: Users can manage multiple subscription services in one place. The server stores information about each service in a database, allowing users to view and manage it.
[2183] 4. Payment Management: The server manages the payment of optional fees for each subscription service and prevents late or missed payments.
[2184] 5. Check payment history: The user can check the past payment history. The server retrieves the payment history from the database and provides it to the user.
[2185] 6. Reminder notification: The server will send a reminder notification to the user when the next payment date is approaching.
[2186] Specific examples
[2187] Users sign up for a subscription to the "video streaming service" and pay an optional monthly fee of 1,000 yen.
[2188] A payment reminder will be sent one day before your next payment date.
[2189] Prompt Sentence Examples
[2190] "Please register a subscription to the video streaming service and set a payment reminder to pay the optional monthly fee of 1,000 yen."
[2191] In this way, the system allows users to centrally manage multiple subscription services, prevent late or missed payments, and easily check payment history.
[2192] The flow of the specific processing in Application Example 3 will be described with reference to FIG.
[2193] Step 1:
[2194] A user registers for a subscription service. Using a terminal, the user enters information such as the service name, amount, and next payment date. The entered information is sent to the server, which stores the received information in a database. This allows for centralized management of user subscription information.
[2195] Step 2:
[2196] The user asks a question. Using a terminal, the user inputs the question into the dialogue system. For example, "When is my next payment?" The input question is sent to the server. The server analyzes the question and retrieves relevant data from a database. An answer is generated based on the retrieved data and provided to the user.
[2197] Step 3:
[2198] The user pays the optional fee. The user uses the terminal to enter payment information. The entered payment information is sent to the server. The server uses the online payment service API to process the credit card or debit card payment. If the payment is successful, the server saves the payment information in the database. This updates the user's payment history.
[2199] Step 4:
[2200] The server sends a payment reminder. The server retrieves the next payment date from the database and generates a reminder when the payment date approaches. The generated reminder is sent to the user's device. This allows the user to avoid late payments.
[2201] Step 5:
[2202] The user checks their payment history. Using their terminal, the user sends a request to check their payment history. The request is sent to the server. The server retrieves the payment history from the database and provides it to the user. This allows the user to understand their spending situation.
[2203] Step 6:
[2204] The server manages the subscription services. The server periodically checks the database to confirm the status of each subscription service. If necessary, it sends notifications to the user. This allows the user to always be aware of the status of each service.
[2205] Furthermore, an emotion engine that estimates the user's emotion may be further combined. That is, the identification processing unit 290 may estimate the user's emotion using the emotion identification model 59, and perform identification processing using the user's emotion.
[2206] "Example 1"
[2207] In one embodiment of the present invention, a chat system is provided that allows users to ask questions, a means for providing answers to questions from users based on stored data, and a means for receiving optional fees for users to use the system. Furthermore, this system incorporates an emotion engine that recognizes the emotions of the user. This emotion engine analyzes emotions from the user's text input or voice input, and adjusts the system's response according to the emotions. For example, if the user uses words that indicate anger or dissatisfaction, the emotion engine recognizes this, and the system adjusts to provide a more polite response. "Example 2"
[2208] In another embodiment of the present invention, the emotion engine tailors campaign suggestions based on the user's emotions. For example, if the user uses words that indicate joy or excitement, the emotion engine recognizes this and the system suggests campaigns to the user that are likely to maintain or increase their excitement, such as information about new product releases or special discounts.
[2209] "Example 3"
[2210] In one embodiment of the present invention, a chat system is provided that allows a user to ask a question, includes a means for providing answers to the user's questions based on stored data, and a means for receiving an optional fee for the user to use the system. The system further includes an emotion engine that recognizes the user's emotions. The emotion engine analyzes emotions from the user's text input or voice input and adjusts the system's response according to the emotions. For example, if the user uses words that indicate anger or frustration, the emotion engine recognizes this and adjusts the system to provide a more polite response.
[2211] The processing flow of each embodiment will be described below.
[2212] "Example 1"
[2213] Step 1: A user posts a question to the chat system.
[2214] Step 2: The emotion engine analyzes emotions from the user's text or voice input.
[2215] Step 3: Based on the emotion engine's analysis, the system adjusts its response. For example, if the user uses words that indicate anger or frustration, the system will adjust to provide a more polite response.
[2216] "Example 2"
[2217] Step 1: A user posts a question to the chat system.
[2218] Step 2: The emotion engine analyzes emotions from the user's text or voice input.
[2219] Step 3: Based on the analysis results of the emotion engine, the system tailors campaign suggestions. For example, if a user uses words that express joy or excitement, the system will suggest campaigns that may maintain or increase the user's excitement, such as information about new product launches or special discounts.
[2220] Example 1
[2221] Next, a description will be given of Example 1 of Form Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."
[2222] Conventional chat systems provide uniform responses without considering the user's feelings, which can lead to low user satisfaction. Furthermore, there were insufficient methods for receiving optional fees, and the process for users to use additional features was cumbersome. Furthermore, it was difficult to provide appropriate answers to users' questions quickly.
[2223] The specific processing by the specific processing unit 290 of the data processing device 12 in the first embodiment is realized by the following means. In this invention, the server includes a chat system that allows users to ask questions, a means for providing answers to questions from users based on stored data, a means for receiving an optional fee for users to use the system, and a means for analyzing emotions from text input by the user and adjusting the system's response according to the emotions. This makes it possible to provide appropriate answers according to the user's emotions and improve user satisfaction. Furthermore, by integrating the means for receiving the optional fee, the procedure for users to use additional functions can be simplified.
[2224] "User" refers to any individual or entity that uses the System to ask a question.
[2225] A "chat system" refers to an interactive system in which a user inputs a question in text format and the system provides an answer to that question.
[2226] "Retained data" refers to information that the system holds internally or information obtained from external databases.
[2227] "Means for providing answers" refers to the function for generating appropriate answers to questions from users and responding to them.
[2228] "Means for receiving optional fees" refers to a function for receiving fees paid by users to use additional features.
[2229] "Means for analyzing emotions" refers to the functionality for identifying emotions from a user's text input and adjusting the system's response based on those emotions.
[2230] "Means to adjust the system's response" refers to the ability to change the content and tone of responses to users based on the results of sentiment analysis.
[2231] The present invention provides a chat system that allows users to ask questions. The system runs on a website or application, and allows users to ask questions by entering text.
[2232] The server uses a high-performance server (e.g., cloud computing service) and performs data processing and calculations using a chatbot framework (e.g., natural language processing framework), a sentiment analysis engine (e.g., sentiment analysis service), and a database (e.g., relational database).
[2233] When a user asks a question by text input, the device sends the question to the server. The server analyzes the received text using a natural language processing framework to identify the intent of the user's question. The server then uses a sentiment analysis service to analyze the emotion from the user's text input. For example, if the user types "Why is it so slow?", the sentiment analysis service will recognize "anger."
[2234] The server generates an appropriate response based on the results of intent analysis and emotion analysis. For example, if the user is requesting weather information, it retrieves the current weather information from a weather information service and responds to the user. If the emotion is "anger," it generates a more polite response.
[2235] Additionally, the server may provide a means for accepting optional fees for user activation, for example, processing payments using an online payment service.
[2236] As a concrete example, if a user asks "What's the weather like today?", the server performs the following process:
[2237] 1. Receive a user question.
[2238] 2. Use a natural language processing framework to analyze the intent of the question and determine that the user is asking for "weather information."
[2239] 3. Refer to the weather information service to obtain current weather information.
[2240] 4. Analyze the user's emotions using an emotion analysis service (in this case, it is determined that there is no particular change in emotion).
[2241] 5. Respond to the user with appropriate weather information.
[2242] Example prompt sentence:
[2243] User: What's the weather like today?
[2244] Server: The weather is currently sunny and the temperature is 25 degrees.
[2245] As another example, if a user asks "Why is it so slow?" the server does the following:
[2246] 1. Receive a user question.
[2247] 2. Use a natural language processing framework to analyze the intent of the question and determine that the question asks for the reason for the delay.
[2248] 3. Analyze user emotions using an emotion analysis service and recognize "anger."
[2249] 4. Adjust the system's response to generate more polite responses.
[2250] 5. Respond to the user with an appropriate answer.
[2251] Example prompt sentence:
[2252] User: Why is it so slow?
[2253] Server: We apologize. Our servers are currently experiencing high loads, which is causing delays. Thank you for your understanding.
[2254] The flow of the identification process in the first embodiment will be described with reference to FIG.
[2255] Step 1:
[2256] A user types a question. A user types a question in text format into a chat box on a website or application. For example, "What's the weather like today?" The input data is a text question.
[2257] Step 2:
[2258] The terminal sends a question to the server. The terminal (user's device) sends the entered text to the server. This time, the data is sent securely using the HTTPS protocol. The input data is the user's question text, and the output data is the text data sent to the server.
[2259] Step 3:
[2260] The server receives the question and performs intent analysis. The server analyzes the received text using a natural language processing framework. Specifically, the natural language processing framework analyzes the text and identifies the intent of the user's question. For example, from the question "What's the weather like today?", it determines that the user is looking for weather information. The input data is the user's question text, and the output data is the analyzed intent information.
[2261] Step 4:
[2262] The server performs emotion analysis. The server uses the emotion analysis service to analyze emotions from the user's text input. For example, it recognizes "anger" from the question "Why is it so slow?". The input data is the user's question text, and the output data is the analyzed emotion information.
[2263] Step 5:
[2264] The server generates an appropriate response. The server generates an appropriate response based on the results of intent analysis and emotion analysis. For example, if weather information is requested, the server obtains current weather information from a weather information service and responds to the user. If the emotion is "anger," a more polite response is generated. The input data is the analyzed intent information and emotion information, and the output data is the generated answer text.
[2265] Step 6:
[2266] The server sends the answer to the terminal. The server sends the generated answer to the terminal. Again, the data is sent securely using the HTTPS protocol. The input data is the generated answer text, and the output data is the answer data sent to the terminal.
[2267] Step 7:
[2268] The terminal displays the answer to the user. The terminal displays the answer received from the server to the user. For example, it displays "The current weather is sunny. The temperature is 25 degrees." The input data is the answer data received from the server, and the output data is the answer text displayed to the user.
[2269] (Application example 1)
[2270] Next, a description will be given of Application Example 1 of Form Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."
[2271] Customer support on traditional online shopping sites has had problems with responding to user questions quickly and appropriately, particularly lacking in response to user emotions. Furthermore, the method of collecting optional fees when users use premium services is also inefficient. This has led to issues such as a poor user experience and a lack of improvement in customer satisfaction.
[2272] The specific processing by the specific processing unit 290 of the data processing device 12 in Application Example 1 is realized by the following means. In this invention, the server includes means for providing a chat system to which users can ask questions, means for providing answers to questions from users based on stored data, means for receiving optional fees for users to use the system, means including an emotion engine that recognizes users' emotions and adjusting responses according to the emotions, and means for providing customer support for the online shopping site. This makes it possible to quickly and appropriately answer users' questions and respond in accordance with their emotions. It also makes it possible to efficiently receive optional fees for premium services, improving the user experience.
[2273] "User" means any person or entity that uses the system to ask a question.
[2274] A "chat system" is a system that provides an interface that allows users to ask questions by entering text.
[2275] "Retained data" refers to the information or knowledge base held by the system and is data used to generate answers to user questions.
[2276] A "means for providing an answer" i...
Claims
1. A system in which a user can pose a question, comprising: A means for analyzing the user's question regarding identifying stores that have the product in stock using a natural language processing engine; means for querying a database based on the analysis of said query; means for processing data obtained by querying said database to generate an answer corresponding to said question; means for analyzing the user's emotions using an emotion analysis engine; means for adjusting campaign offers related to said queries in response to the analyzed user sentiment; means for providing the generated answers and the adjusted campaign offers to the user; A system including:
2. The adjusting means adjusts the campaign proposal using a generative AI model based on a prompt sentence corresponding to the user's emotion. The system of claim 1 .
3. The adjusting means selects the campaign proposal for the user based on a prompt sentence corresponding to the emotion of the user. The system of claim 1 .
Citation Information
Patent Citations
Inventory information processing device and program
JP2021149371A
Information processing device, information processing system, information processing method, and non-transitory computer-readable medium
WO2022249354A1
Persona chatbot control method and system
JP2022180282A