System
The system addresses the inefficiencies in generating invoices and statements by automating the process using AI, reducing administrative burdens and enhancing customer satisfaction through customizable and rapid invoice generation.
Patent Information
- Application Number
- JP2024163679
- 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
Existing systems face challenges in efficiently generating various types of invoices and statements, requiring significant labor hours for manual or RPA-based work, and struggle to customize formats according to customer requests, leading to increased administrative workload and decreased customer satisfaction.
A system that automatically generates invoice and statement formats based on customer requests, includes an interface for accepting customer inputs, uses a generated AI model to create optimal invoices, and provides them via email or website, reducing manual work and improving delivery speed.
The system significantly reduces internal administrative workload, improves customer satisfaction by providing customized invoices quickly, and enhances flexibility in responding to customer requests.
Smart Images

Figure 2025049057000001_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 a description and related instruction sentence regarding 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] JP 2022-180282 A Summary of the Invention [Problem to be solved by the invention]
[0004] Each corporate client requests invoices and statements in various formats, and there is an issue of increasing man-hours required for the monthly manual and RPA work required to create and provide them. [Means for solving the problem]
[0005] To reduce in-house administrative man-hours and improve customer satisfaction by providing a system including a means for automatically generating formats for invoices and statements in accordance with customer requests, a means for providing the generated invoices and statements, and a means for accepting customer requests. [Brief description 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. [Diagram 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. FIG. [Diagram 3] FIG. 11 is a conceptual diagram showing an example of the configuration of a data processing system according to a second embodiment. [Figure 4] FIG. 11 is a conceptual diagram showing an example of main functions of a data processing device and smart glasses according to a second embodiment. [Diagram 5] FIG. 13 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. 13 is a conceptual diagram showing an example of the configuration of a data processing system according to a fourth embodiment. [Figure 8] FIG. 13 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 process flow of the data processing system in the first embodiment of the first form example. [Figure 12] FIG. 11 is a sequence diagram showing a process flow of the data processing system in the application example 1 of the first embodiment. [Figure 13] FIG. 11 is a sequence diagram showing a process flow of the data processing system in the second embodiment of the second embodiment. [Figure 14] FIG. 13 is a sequence diagram showing a process flow of the data processing system in application example 2 of embodiment 2. [Figure 15] FIG. 13 is a sequence diagram showing a process flow of a data processing system in a third embodiment of the present invention. [Figure 16] FIG. 13 is a sequence diagram showing a process flow of the data processing system in the third application example of the third embodiment. [Figure 17] FIG. 13 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. 13 is a sequence diagram showing the flow of processing in the data processing system in Application Example 1 of Form Example 1 when combined with an emotion engine. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0007] Hereinafter, an example of an embodiment of a system according to the technology of the present disclosure will be described with reference to the accompanying drawings.
[0008] First, the terms used in the following description will be explained.
[0009] In the following embodiments, a signed processor (hereinafter simply referred to as a "processor") may be one arithmetic device or a combination of multiple arithmetic devices. Furthermore, a processor may be one 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 signed RAM (Random Access Memory) is a memory in which information is temporarily stored and is used as a working memory by the 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 code is an interface including a communication processor and an antenna. The communication I / F controls communication between multiple computers. An example of a communication standard applied to the communication I / F is a wireless communication standard 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. In addition, in this specification, the same idea as "A and / or B" is also applied when three or more things are expressed by connecting them with "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 wide area network (WAN) and / or a local area network (LAN).
[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 and a microphone 38B, and receives user input. The touch panel 38A detects contact with a pointer (e.g., a pen or a finger) to receive user input by the touch of the pointer. 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 (e.g., voice and / or text). The display 40A displays visible information such as text and images according to instructions from the processor 46. The speaker 40B outputs voice according to instructions from the processor 46. The camera 42 is a compact digital camera equipped with an optical system including a lens, an aperture, and a shutter, and an imaging element such as a Complementary Metal-Oxide-Semiconductor (CMOS) image sensor or a Charge Coupled Device (CCD) image sensor.
[0021] The communication I / F 44 is connected to a network 54. The communication I / Fs 44 and 26 are responsible for transmitting and receiving various types of information between the processor 46 and the processor 28 via the network 54.
[0022] FIG. 2 shows an example of main functions of the data processing device 12 and the smart device 14.
[0023] As shown in Fig. 2, 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. The specific process program 56 is an example of a "program" according to the technology of the present disclosure. The processor 28 reads the specific process program 56 from the storage 32, and executes the read specific process 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 process 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 processing. The storage 50 stores a reception output program 60. The reception output program 60 is used together with the specific processing program 56 by the data processing system 10. The processor 46 reads out the reception output program 60 from the storage 50, and executes the read reception output program 60 on the RAM 48. The reception output processing 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] One embodiment of the present invention is a system for automatically generating invoice and statement formats according to customer requests. The system has an interface for receiving requests from a customer, and the interface receives the customer's request using a selection prompt. For example, the customer selects the format and content of the invoice through the prompt, and the system automatically generates the invoice based on the selection. The generated invoice is provided to the customer via email or a website.
[0029] "Example 2"
[0030] Furthermore, as another embodiment of the present invention, the system has a function of reducing in-house administrative man-hours and improving customer satisfaction. Specifically, the system reduces the number of manual and RPA-based work hours by automatically generating invoices and statements. In addition, the system improves customer satisfaction by improving the speed at which automatically generated invoices and statements are provided.
[0031] The process flow of each embodiment will be described below.
[0032] "Example 1"
[0033] Step 1: The customer selects the format and content of the invoice or statement through the system interface.
[0034] Step 2: The system auto-generates invoice and statement formats based on customer selection.
[0035] Step 3: Provide the generated invoice or statement to the customer via email or website.
[0036] "Example 2"
[0037] Step 1: The system will start generating invoices and statements automatically, reducing the number of manual and RPA-assisted tasks.
[0038] Step 2: Improve the speed at which the system delivers automatically generated invoices and statements.
[0039] Step 3: Increased speed of delivery leads to increased customer satisfaction.
[0040] Example 1
[0041] Next, a description will be given of Example 1 of the embodiment 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".
[0042] The traditional process of creating invoices and statements required a lot of manual work, which was time-consuming and labor-intensive, leading to problems such as increased in-house administrative workload and reduced customer satisfaction. Another issue was the difficulty in customizing the system to meet customer requests, and the lack of flexibility. To solve these problems, a system that can automatically generate invoices and statements efficiently and flexibly and provide them quickly is needed.
[0043] 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.
[0044] In this invention, the server includes a means for automatically generating a format of an invoice or statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for accepting a customer's request using a multiple-choice prompt, a means for automatically generating an invoice or statement using a generative AI model, and a means for providing the generated invoice or statement via email or a website. This enables the automatic generation of invoices and statements according to customer requests, thereby reducing in-house administrative man-hours and improving customer satisfaction.
[0045] "Means for automatically generating invoice and statement formats in accordance with customer requests" refers to a function that automatically creates the layout and design of invoices and statements based on the format and content specified by the customer.
[0046] "Means for providing generated invoices and statements" refers to a function for delivering generated invoices and statements to customers, which is provided via email or a website.
[0047] "Means for accepting customer requests" is a function that provides an interface for customers to input or select the format and content of their desired invoices or statements.
[0048] The "means for accepting customer requests using multiple-choice prompts" is a function that allows a customer to input requests in the form of selecting a desired item from multiple options.
[0049] "Means of automatically generating invoices and statements using generative AI models" refers to a function that uses artificial intelligence technology to automatically generate optimal invoices and statements based on customer selections.
[0050] "Means of providing generated invoices and statements via email or website" refers to the function of sending generated invoices and statements by email or making them available for download on a website.
[0051] The present invention is a system for automatically generating formats for invoices and statements in accordance with customer requests and providing the generated invoices and statements. A specific embodiment of this system will be described below.
[0052] System Configuration
[0053] The server has the following features:
[0054] 1. The ability to automatically generate invoice and statement formats according to customer requests.
[0055] 2. Ability to provide generated invoices and statements.
[0056] 3. Ability to provide an interface to accept customer requests.
[0057] 4. Ability to accept customer requests using multiple choice prompts.
[0058] 5. The ability to auto-generate invoices and statements using generative AI models.
[0059] 6. Ability to provide generated invoices and statements via email and / or website.
[0060] Hardware and Software Used
[0061] Hardware:
[0062] Server: A server with a powerful processor and sufficient memory.
[0063] Device: A user device such as a PC, smartphone, or tablet.
[0064] software:
[0065] Front-end technologies: HTML, CSS, JavaScript, React.
[0066] Backend Technologies: Python, Django, Flask.
[0067] AI model library: TENSORFLOW(registered trademark), PyTorch.
[0068] Data format: JSON.
[0069] Sending mail: SMTP server.
[0070] Web Server: Apache (registered trademark).
[0071] PDF Generation: A PDF generation library.
[0072] System Operation
[0073] Users access the system's interface through a web browser or mobile app. The interface displays multiple-choice prompts that allow users to select from the following options:
[0074] Templates:Simple, Business, Creative.
[0075] Fonts: Font A, Font B, Font C.
[0076] Color:Blue,Red,Green.
[0077] Item alignment: left, center, right.
[0078] Examples:
[0079] A user opens a web browser and accesses the bill generation system interface. The user selects the following options:
[0080] Template:Simple
[0081] Font: Font A
[0082] Color: Blue
[0083] Item Alignment: Left
[0084] Once the user has completed their selections, the terminal converts these selections into JSON format and sends them to the server using an HTTP POST request. The server uses the received data and a generative AI model to automatically generate an invoice that best suits the selections. The generated invoice is saved in PDF format and sent to the user's email address using an SMTP server. Users can also download the invoice from the website.
[0085] Example prompt:
[0086] "Choose an invoice template (e.g. Simple, Business, Creative)."
[0087] "Please select a font (ex: Font A, Font B, Font C)."
[0088] "Choose a color (e.g. blue, red, green)."
[0089] "Choose the alignment for the item (e.g. left, center, right)."
[0090] In this way, it becomes possible to automatically generate invoices and statements in response to customer requests, reducing in-house administrative workload and improving customer satisfaction.
[0091] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0092] Step 1:
[0093] View the interface
[0094] The server displays an interface on a device, such as a web browser or a mobile app, where the interface includes multiple-choice prompts.
[0095] Input: The server generates the interface using HTML, CSS, JavaScript, React, or other front-end technologies.
[0096] Output: The interface displayed on the terminal.
[0097] What it does: The server generates the HTML code for the webpage, applies styles with CSS, and displays dynamic prompts with JavaScript and React.
[0098] Step 2:
[0099] Accept the customer's selection
[0100] The user selects the format and content of the invoice on the interface, including the invoice template, fonts, colors, and item placement.
[0101] Input: What the user selects on the interface.
[0102] Output: The user's selections are saved to the device.
[0103] Specific behavior: The user selects each item using the drop-down menus and / or radio buttons and clicks the "Submit" button.
[0104] Step 3:
[0105] Sending Data
[0106] The terminal transmits the user's selection to the server.
[0107] Input: User selections are converted to JSON format.
[0108] Output: The JSON data to be sent to the server.
[0109] Specific behavior: The device converts the selection into JSON format and sends it to the server using an HTTP POST request.
[0110] Step 4:
[0111] Data processing and invoice generation
[0112] The server generates an invoice format based on the received data, using a generative AI model to automatically generate the best format for the selections made.
[0113] Input: The JSON data sent to the server.
[0114] Output: A PDF or HTML file of the generated invoice.
[0115] How it works: The server uses AI model libraries such as Python, TensorFlow, and PyTorch to generate an invoice based on the user's selections, and saves the invoice in PDF or HTML format.
[0116] Step 5:
[0117] Providing invoices
[0118] The server provides the generated invoice to the customer via email or a website.
[0119] Input: The generated invoice PDF or HTML file.
[0120] Output: The invoice provided to the customer.
[0121] What it does: The server uses an SMTP server to send the generated invoice to the user's email address, and also uses a web server (such as Apache) to allow the user to download the invoice from the website.
[0122] (Application example 1)
[0123] 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 device 14 will be referred to as a "terminal."
[0124] Conventional invoice and statement generation systems had the problem that it was difficult to customize them to meet customer requests and required a lot of manual work, which increased administrative work hours and reduced customer satisfaction. In addition, there was a lack of convenient systems that used smartphone applications.
[0125] 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. In this invention, the server includes a means for automatically generating a format of an invoice or a statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for being installed in a smartphone application, a means for accepting a customer's request using a selection prompt, and a means for providing the generated invoice by email or within the app. This makes it easy to customize according to customer's request, reducing administrative man-hours and improving customer satisfaction.
[0126] "Means for automatically generating invoice or statement formats in accordance with customer requests" refers to a device or software that has the function of automatically creating invoices or statements based on the format and content specified by the customer.
[0127] The "means for providing generated invoices and statements" refers to a device or software having a function for providing automatically generated invoices and statements to customers.
[0128] The "means for accepting customer requests" refers to a device or software having an interface for receiving requests or instructions from customers.
[0129] "Means to be installed in a smartphone application" refers to a device or software having a function that is incorporated into an application that runs on a smartphone.
[0130] A "means for accepting a customer request using a multiple-choice prompt" is a device or software having an interface that allows a customer to input a request in the form of selecting an option.
[0131] "Means for providing a generated invoice by email or within an app" means a device or software that has the function of sending an automatically generated invoice by email or displaying it within an application.
[0132] A system for implementing the present invention is for automatically generating a format of an invoice or statement according to a customer's request and providing the generated invoice or statement. The system includes a means for accepting the customer's request, a means for being installed in a smartphone application, a means for accepting the customer's request using a selection prompt, and a means for providing the generated invoice by email or within the app.
[0133] Hardware and Software Used
[0134] Server: Uses the Flask framework to provide the web interface.
[0135] Smartphone: A device for running applications.
[0136] software:
[0137] Flask (registered trademark) (Python web framework)
[0138] PDF generation library (library for converting HTML to PDF)
[0139] Template engine (Flask template engine)
[0140] Data processing and calculation
[0141] 1. Data entry: The user selects the invoice format and content via a smartphone app. Options are provided using multiple-choice prompts.
[0142] 2. Data processing: The server receives the user selection using the Flask application and generates the invoice in HTML format using a template engine.
[0143] 3. Data Conversion: The server converts the generated HTML to PDF using a PDF generation library.
[0144] 4. Data output: The generated PDF can be sent via email or viewed within the app.
[0145] Examples
[0146] A user opens a smartphone app and selects the following options:
[0147] Customer Name: Taro Yamada
[0148] Purchased products: Product A, Product B
[0149] Total amount: 5000 yen
[0150] Examples of prompt statements
[0151] Please enter customer name: Taro Yamada
[0152] Please select the product you wish to purchase: Product A, Product B
[0153] Please enter the total amount: 5000 yen
[0154] When the user enters information according to these prompts, the server automatically generates a customized invoice and provides it in PDF format. This makes it easy to customize invoices according to customer requests, reducing administrative workload and improving customer satisfaction.
[0155] The flow of the specific process in the application example 1 will be described with reference to FIG.
[0156] Step 1:
[0157] A user starts the smartphone app and accesses the interface for generating an invoice. The user inputs the necessary information according to the prompts. Specifically, the user inputs information such as the customer name, purchased items, and the total amount. The input data is temporarily stored in the application.
[0158] Step 2:
[0159] The terminal transmits the information entered by the user to the server, including the customer name, the purchased item, the total price, etc. The server analyzes the received data and stores it in the appropriate format.
[0160] Step 3:
[0161] The server processes the received data using a Flask application, using a template engine to generate an HTML invoice based on the information entered by the user, by embedding the data in a template file.
[0162] Step 4:
[0163] The server converts the generated HTML to PDF using a PDF generation library, which takes HTML content and converts it to PDF format. The converted PDF is temporarily stored on the server.
[0164] Step 5:
[0165] The server provides the generated PDF to the user, either by sending it via email or displaying it within the smartphone app. The user can then download the PDF within the app or receive it via email.
[0166] Step 6:
[0167] The user can review the generated PDF and save or print it as needed, resulting in a customized invoice in front of their eyes.
[0168] Example 2
[0169] Next, a second embodiment of the second 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."
[0170] Traditionally, the process of creating invoices and statements was often done manually or using RPA, which required a lot of man-hours and slow delivery speed. This could lead to a decrease in customer satisfaction. Furthermore, invoice and statement formats were often not flexible enough to meet customer requests.
[0171] 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.
[0172] In this invention, the server includes a means for acquiring billing information and customer information from a database, a means for formatting the acquired data and converting it into an invoice or statement format, a means for automatically generating invoices and statements using a generative AI model, and a means for converting the generated invoices and statements into PDF format and sending them to customers by email. This automates the process of creating invoices and statements, reducing labor hours and improving the speed of providing them. In addition, it is possible to provide invoices and statements in a flexible format according to customer requests, which is expected to improve customer satisfaction.
[0173] A "database" is a system for systematically organizing information and efficiently searching and managing it.
[0174] "Billing information" is data regarding the amount and items to be billed to a customer.
[0175] "Customer information" is data that includes basic information such as a customer's name, address, and contact details.
[0176] "Formatting" is the process of converting acquired data into a particular format.
[0177] "Format" refers to the form or structure of data or a document.
[0178] A "generative AI model" is an algorithm or system that uses artificial intelligence to generate text or data.
[0179] A "prompt" is an instruction or question that is input into a generative AI model.
[0180] "PDF format" is an abbreviation for Portable Document Format, a file format for electronically storing and displaying documents.
[0181] An "SMTP server" is a server for sending and receiving e-mail using the Simple Mail Transfer Protocol.
[0182] "Man-hours" is a unit of time or effort required for a task or project.
[0183] "Customer satisfaction" is an indicator of the level of satisfaction a customer feels toward a service or product provided.
[0184] The present invention is a system for reducing in-house administrative man-hours and improving customer satisfaction through the automatic generation of invoices and statements. A specific embodiment of this system will be described below.
[0185] The server first retrieves billing and customer information from a database, for example MySQL (registered trademark), and executes SQL queries to extract the required data.
[0186] The server then formats the data and converts it into an invoice or statement format using a Python script, converts the data into JSON format, and creates prompts to feed into the generative AI model.
[0187] The server uses a generative AI model (e.g., GPT-4 (registered trademark) by OpenAI (registered trademark)) to automatically generate invoices and statements based on the formatted data. An example of a prompt sentence to be input to the generative AI model is as follows:
[0188] Example prompt:
[0189] Customer Name: Taro Yamada
[0190] Billing date: October 1, 2023
[0191] Charge details:
[0192] Product A: 10,000 yen
[0193] Product B: 5,000 yen
[0194] Total price: 15,000 yen
[0195] Please use the above information to generate your invoice.
[0196] The generative AI model generates an invoice based on this prompt. The generated invoice is converted to PDF format by the server. For example, a Python PDF conversion library is used to convert to PDF format.
[0197] Finally, the server will email the generated invoice to the customer using an SMTP server. The server will create an email with a PDF invoice as an attachment and send it to the customer via the SMTP server.
[0198] The system automates the invoice and statement creation process, reducing the number of manual and RPA-based tasks, and improves customer satisfaction by increasing the speed of delivery. In addition, the system uses generative AI models to provide invoices and statements in flexible formats according to customer requests.
[0199] The flow of the identification process in the second embodiment will be described with reference to FIG.
[0200] Step 1:
[0201] The server retrieves billing and customer information from a database.
[0202] Input: Database connection information, SQL query
[0203] What happens: The server connects to a database (e.g. MySQL) and runs SQL queries to extract billing and customer information.
[0204] Output: A dataset of extracted billing and customer information
[0205] Step 2:
[0206] The server formats the retrieved data and converts it into an invoice or statement format.
[0207] Input: Extracted billing and customer information dataset
[0208] What it does: The server uses a Python script to convert the data into JSON format and format it appropriately for invoices and statements.
[0209] Output: Pretty-printed JSON data
[0210] Step 3:
[0211] The server automatically generates invoices and statements using generative AI models.
[0212] Input: Formatted JSON data, prompt text
[0213] How it works: The server inputs prompt text into a generative AI model (e.g., OpenAI's GPT-4) to generate invoices and statements.
[0214] Output: Generated invoice or statement text data
[0215] Step 4:
[0216] The server converts the generated invoices and statements into PDF format.
[0217] Input: Text data of generated invoices and statements
[0218] Specific operation: The server uses a Python library to convert text data into PDF format.
[0219] Output: PDF invoices and statements
[0220] Step 5:
[0221] The server then emails the generated invoices and statements to the customer.
[0222] Input: PDF invoice or statement, customer email address
[0223] What happens: The server uses an SMTP server to create an email with a PDF invoice as the body and attachment, and sends it to the customer.
[0224] Output: Email sent to customer with attached PDF invoice
[0225] (Application example 2)
[0226] 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."
[0227] Conventional methods for generating invoices and statements involve a lot of manual work or RPA, which increases in-house administrative man-hours and slows down the speed at which they are provided to customers. It is also difficult to quickly provide invoices and statements in the format requested by customers, making it difficult to improve customer satisfaction. To solve these issues, there is a need for a more efficient and faster method for generating and providing invoices and statements.
[0228] 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.
[0229] In this invention, the server includes a means for automatically generating formats for invoices and statements according to customer requests, a means for providing the generated invoices and statements, a means for accepting customer requests, a means for automatically generating invoices and statements from order data using a generative AI model, and a means for providing invoices and statements via an application installed on a smartphone. This makes it possible to reduce in-house administrative man-hours and improve customer satisfaction.
[0230] "Means for automatically generating invoice and statement formats in accordance with customer requests" refers to a device or program that has the function of automatically creating the format and content of invoices and statements based on customer requests and conditions.
[0231] A "means for providing a generated invoice or statement" is a device or program having the function of transmitting or displaying an automatically generated invoice or statement to a customer.
[0232] The "means for accepting customer requests" refers to a device or program that provides an interface for inputting or selecting requests or conditions from the customer.
[0233] A "means for automatically generating invoices and statements from order data using a generative AI model" refers to a device or program that has the function of utilizing a generative AI model to automatically create invoices and statements based on input order data.
[0234] "Means for providing invoices and statements via an application installed on a smartphone" refers to a device or program that has the function of sending or displaying generated invoices and statements to customers via an application installed on a smartphone.
[0235] "Reducing internal administrative workload" refers to reducing the time and effort spent on administrative work carried out within a company.
[0236] "Improving customer satisfaction" refers to increasing the level of satisfaction that customers feel toward the services and products provided.
[0237] In order to implement the present invention, the following system configuration and program are required.
[0238] System Configuration
[0239] 1. Hardware
[0240] Smartphone: A device that allows users to check bills and statements.
[0241] Server: A computer system that runs generative AI models and automatically generates invoices and statements.
[0242] 2. Software
[0243] Generative AI model: An AI model for automatically generating invoices and statements from order data (e.g., OpenAI's GPT-3 (registered trademark)).
[0244] Smartphone application: An application that allows users to check invoices and statements and take necessary actions.
[0245] Server-side program: A program that calls the generative AI model and provides the generated invoices and statements to a smartphone application.
[0246] Program processing explanation
[0247] The server receives the order data and automatically generates invoices and statements using a generative AI model. Specifically, it performs the following processes:
[0248] 1. Data Entry
[0249] The server receives the order data sent by the user, which includes the order number, customer name, product details, total amount, etc.
[0250] 2. Prompt Generation
[0251] The server creates a prompt for the generative AI model based on the received order data. An example of the prompt is as follows:
[0252] Order data: {"order_id": "12345", "customer_name": "Yamada Taro", "items": [{"name": "Product A", "quantity": 2, "price": 1000}, {"name": "Product B", "quantity": 1, "price": 2000}], "total": 4000}
[0253] Generate an invoice based on this order data.
[0254] 3. AI model invocation
[0255] The server calls a generative AI model (e.g., OpenAI's GPT-3) and sends the prompts, which then generate invoices or statements based on the prompts.
[0256] 4. Output
[0257] The server receives the generated invoice or statement and sends it to a smartphone application, through which the user can check the invoice or statement.
[0258] Examples
[0259] For example, if the following order data is entered:
[0260] Order data: {"order_id": "12345", "customer_name": "Yamada Taro", "items": [{"name": "Product A", "quantity": 2, "price": 1000}, {"name": "Product B", "quantity": 1, "price": 2000}], "total": 4000}
[0261] The generative AI model will generate an invoice that looks like this:
[0262] invoice
[0263] Order number: 12345
[0264] Customer Name: Taro Yamada
[0265] Product details:
[0266] 1. Product A - Quantity: 2, Unit price: 1000 yen, Subtotal: 2000 yen
[0267] 2. Product B - Quantity: 1, Unit price: 2000 yen, Subtotal: 2000 yen
[0268] Total price: 4000 yen
[0269] In this way, the server can use the generative AI model to quickly and accurately generate invoices and statements from order data and provide them to users via smartphone applications, reducing in-house administrative workload and improving customer satisfaction.
[0270] The flow of the specific process in the application example 2 will be described with reference to FIG.
[0271] Step 1:
[0272] The server receives the order data sent by the user. The order data includes the order number, customer name, product details, total price, etc. The input data is in JSON format, which the server parses and converts into its internal data structure. The output is the parsed order data.
[0273] Step 2:
[0274] The server creates a prompt for the generative AI model based on the parsed order data. Specifically, it converts the order data into text format and formats it in a format that the generative AI model can understand. The input is the parsed order data, and the output is the prompt text to send to the generative AI model.
[0275] Step 3:
[0276] The server calls a generative AI model (e.g., OpenAI's GPT-3) and sends a prompt. The generative AI model generates an invoice or statement based on the prompt. The input is the prompt, and the output is the text of the generated invoice or statement.
[0277] Step 4:
[0278] The server receives the generated invoice or statement and sends it to the smartphone application, specifically converting the generated text into an appropriate format so that it can be viewed by the user. The input is the generated invoice or statement text and the output is the data sent to the smartphone application.
[0279] Step 5:
[0280] The user checks the invoice or statement through a smartphone application. The application displays the data received from the server and allows the user to perform the necessary operations. The input is the invoice or statement data sent from the server, and the output is the invoice or statement displayed on the user's screen.
[0281] Furthermore, an emotion engine that estimates the emotion of the user may be combined. That is, the identification processing unit 290 may estimate the emotion of the user using the emotion identification model 59, and perform identification processing using the emotion of the user.
[0282] "Example 1"
[0283] As an embodiment of the present invention, a system incorporating an emotion engine is provided. The system includes an emotion engine that recognizes emotions from a user's tone of voice, facial expression, behavioral patterns, etc. Specifically, when a user selects the format and content of an invoice or statement through the system's interface, the emotion engine analyzes the user's tone of voice, facial expression, behavioral patterns, etc. to recognize the user's emotion. The system then adjusts the format of the invoice or statement based on the recognized emotion. For example, if the user shows anger or dissatisfaction, the system resolves the user's dissatisfaction by providing a more detailed statement. Also, if the user shows joy or satisfaction, the system maintains the current format. In this way, the system can provide optimal services according to the user's emotions and improve customer satisfaction.
[0284] "Example 2"
[0285] As an embodiment of the present invention, a system incorporating an emotion engine is provided. The system includes an emotion engine that recognizes emotions from a user's tone of voice, facial expression, behavioral patterns, etc. Specifically, when a user selects the format and content of an invoice or statement through the system's interface, the emotion engine analyzes the user's tone of voice, facial expression, behavioral patterns, etc. to recognize the user's emotion. The system then adjusts the format of the invoice or statement based on the recognized emotion. For example, if the user shows anger or dissatisfaction, the system resolves the user's dissatisfaction by providing a more detailed statement. Also, if the user shows joy or satisfaction, the system maintains the current format. In this way, the system can provide optimal services according to the user's emotions and improve customer satisfaction.
[0286] The process flow of each embodiment will be described below.
[0287] "Example 1"
[0288] Step 1: The user selects the format and content of the invoice or statement through the system interface.
[0289] Step 2: The emotion engine analyzes the user's tone of voice, facial expressions, behavioral patterns, etc. to recognize the user's emotions.
[0290] Step 3: The system adjusts the format of the bill or statement based on the recognized emotion. For example, if the user indicates anger or frustration, the system will resolve the user's frustration by providing a more detailed statement. If the user indicates happiness or satisfaction, the system will maintain the current format.
[0291] Example 1
[0292] Next, a description will be given of Example 1 of the embodiment 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".
[0293] Conventional invoice and statement generation systems can automatically generate formats according to customer requests, but they do not take into account customer feelings, so customer satisfaction is not sufficiently improved. In addition, there are limited options when accepting customer requests, making it difficult to respond flexibly. Furthermore, the reduction of in-house administrative man-hours has not been sufficiently achieved.
[0294] 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.
[0295] In this invention, the server includes a means for automatically generating a format of an invoice or statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for recognizing a user's emotion, and a means for adjusting the format of the invoice or statement based on the recognized emotion. This makes it possible to provide an optimal invoice or statement according to the customer's emotion, thereby improving customer satisfaction and reducing in-house administrative man-hours.
[0296] "A means for automatically generating invoice and statement formats in accordance with customer requests" refers to a function for automatically creating invoices and statements based on the format and content specified by the customer.
[0297] "Means of providing generated invoices and statements" refers to the ability to send or display generated invoices and statements to customers via email or a website.
[0298] "Means for accepting customer requests" refers to a function that provides an interface for customers to input or select the format and content of their desired invoices or statements.
[0299] "Means for recognizing the user's emotions" refers to a function for analyzing the user's tone of voice, facial expressions, behavioral patterns, etc., and determining the user's emotional state.
[0300] "Means for adjusting the format of a bill or statement based on the recognized emotion" refers to a function for changing the content or format of a bill or statement depending on the user's emotional state.
[0301] This invention is a system that automatically generates formats for bills and statements according to customer requests, and further adjusts the formats by recognizing the user's emotions. This system operates in cooperation with a server, a terminal, and a user.
[0302] The server executes a program for automatically generating a format of an invoice or statement according to a customer's request. This program includes an interface for accepting a customer's request, an emotion engine, and a function for providing the generated invoice or statement. Specifically, the server displays a selection prompt and receives the user's selection. Furthermore, the emotion engine is used to analyze the user's tone of voice, facial expression, and behavioral patterns to recognize the user's emotion.
[0303] A terminal is a device through which a user accesses an interface. For example, a PC or a smartphone. The user uses the terminal to access the system through a web browser or a dedicated application and makes selections in response to prompts.
[0304] The user selects the format and content of the invoice or statement through the system interface. For example, if the user selects "detailed statement," the server automatically generates an invoice based on that selection. In addition, as the user makes a selection, the emotion engine analyzes the user's tone of voice and facial expressions in real time to recognize the user's emotions.
[0305] As a concrete example, consider a scenario where a user selects the format of an invoice: If the user selects "detailed statement" through the interface and the emotion engine detects dissatisfaction in the user's tone of voice, the server will generate a detailed statement and send it to the user via email.
[0306] Example prompt:
[0307] "Choose your invoice format: 1. Simple 2. Detailed"
[0308] "Please select the invoice content: 1. Product name only 2. Product name and price 3. Product name, price and quantity"
[0309] In this way, the server can provide optimal bills and statements based on the user's choices and emotions, improving customer satisfaction and reducing in-house administrative workload.
[0310] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0311] Step 1:
[0312] The user accesses the interface.
[0313] A user uses a terminal to access the system interface through a web browser or a dedicated application. For example, the user opens a web browser such as GOOGLE CHROME (registered trademark) and accesses a specified URL. The input is the user's access request, and the output is the display of the interface.
[0314] Step 2:
[0315] The server displays the prompt.
[0316] The server displays a prompt in the interface accessed by the user. The prompt contains options for selecting the format and content of the invoice or statement. For example, a prompt such as "Please select the format of your invoice: 1. Simple 2. Detailed" is displayed. The input is the user's access information, and the output is the display of the prompt.
[0317] Step 3:
[0318] The user makes a choice in response to a prompt.
[0319] The user makes a choice in response to a displayed prompt, for example clicking "2" to select "Details." The input is the user's choice in response to the prompt, and the output is the submission of the choice.
[0320] Step 4:
[0321] The server receives the selection and activates the emotion engine.
[0322] The server receives the user's selection and activates the emotion engine based on that information. The emotion engine starts to collect the data necessary to analyze the user's tone of voice, facial expressions, and behavioral patterns. The input is the user's selection, and the output is the activation of the emotion engine.
[0323] Step 5:
[0324] The emotion engine analyzes the user's emotions.
[0325] The emotion engine analyzes the user's tone of voice, facial expressions, and behavioral patterns in real time. For example, if the user's tone of voice when selecting "Details" indicates anger, the emotion engine sends that information to the server as the analysis result. The input is the user's tone of voice and facial expression data, and the output is the emotion analysis result.
[0326] Step 6:
[0327] The server generates invoice and statement formats based on the analysis results.
[0328] The server receives the analysis results from the emotion engine and generates the invoice or statement format based on it. For example, if the user is angry, the server generates a more detailed statement. The input is the emotion analysis result and the user's selection, and the output is the generated invoice or statement.
[0329] Step 7:
[0330] The server provides generated bills and statements to the user.
[0331] The server provides the generated invoice or statement to the user via email or a website. For example, it sends the generated detailed statement in PDF format to the user's email address. It also provides a link for the user to download it on the website. The input is the generated invoice or statement and the output is the presentation to the user.
[0332] (Application example 1)
[0333] 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 device 14 will be referred to as a "terminal."
[0334] Conventional invoice and statement generation systems can provide formats according to customer requests, but do not adjust the format to take into account the customer's emotions. As a result, it is not possible to respond appropriately when a customer feels dissatisfied or anxious, which can lead to a decrease in customer satisfaction. In addition, in physical stores, there is a demand for efficient customer service, and flexible responses that respond to emotions are necessary.
[0335] 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.
[0336] In this invention, the server includes a means for automatically generating a format of an invoice or statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for recognizing the customer's emotion, and a means for adjusting the format of the invoice or statement based on the recognized emotion. This makes it possible to provide an optimal invoice or statement according to the customer's emotion, thereby improving customer satisfaction and making it possible to efficiently handle customer inquiries in physical stores.
[0337] "Means for automatically generating invoice and statement formats in accordance with customer requests" refers to a device or program that has the function of automatically creating invoices and statements based on the format and content specified by the customer.
[0338] A "means for providing a generated invoice or statement" is a device or program that has the functionality for displaying, transmitting, or printing a generated invoice or statement to a customer.
[0339] The "means for accepting customer requests" refers to an interface or device for receiving requests or wishes from customers as input.
[0340] The "means for recognizing customer emotions" refers to a device or program for determining the emotional state of a customer by analyzing the customer's tone of voice, facial expression, behavioral patterns, etc.
[0341] A "means for adjusting the format of a bill or statement based on recognized emotions" is a device or program that has the function of changing the content or format of a bill or statement depending on the customer's emotional state.
[0342] As an embodiment of the present invention, we will explain a "smart invoice generation system" that supports customer service in brick-and-mortar stores. This system has the function of automatically generating formats for invoices and statements according to customer requests and adjusting the format by recognizing the customer's emotions.
[0343] System Configuration
[0344] The system consists of the following main components:
[0345] 1. Interface to receive customer requests:
[0346] The company provides an interface for customers to select the format and content of their invoices and statements using a smartphone application.
[0347] The interface uses multiple choice prompts to efficiently gather customer requirements.
[0348] 2. Emotion Recognition Engine:
[0349] The smartphone camera is used to capture the customer's facial expressions and an emotion recognition library is used to recognize the customer's emotions.
[0350] It also analyzes the customer's tone of voice and behavioral patterns to determine their overall emotions.
[0351] 3. Invoice generation engine:
[0352] Use the invoice generation library to auto-generate optimal invoices and statements based on customer desires and perceived sentiment.
[0353] The generated invoices and statements can be displayed on a smartphone screen or sent to the customer via email.
[0354] Processing flow
[0355] 1. Accepting customer requests:
[0356] The customer launches a smartphone application and selects the format and content of the invoice or statement.
[0357] Use multiple choice prompts to gather details about your customer's needs.
[0358] 2. Emotion Recognition:
[0359] The smartphone camera is used to capture the customer's facial expressions and recognize their emotions using an emotion recognition library.
[0360] It also analyzes the customer's tone of voice and behavioral patterns to determine their overall emotions.
[0361] 3. Invoice generation and provision:
[0362] Use the invoice generation library to generate optimal invoices and statements based on customer desires and perceived sentiment.
[0363] The generated invoices and statements can be displayed on a smartphone screen or sent to the customer via email.
[0364] Hardware and Software Used
[0365] Hardware: Smartphone camera
[0366] Software: OpenCV (image processing library), emotion recognition library, invoice generation library
[0367] Examples
[0368] For example, if a customer requests a "detailed invoice" and the emotion engine recognizes "dissatisfied," the system will generate an invoice with more detailed items and explanations.
[0369] Examples of prompt statements
[0370] “If a customer asks for a detailed invoice and the sentiment engine recognises dissatisfaction, what kind of invoice do you generate?”
[0371] In this way, customer service in physical stores can be made more personalized, improving customer satisfaction.
[0372] The flow of the specific process in the application example 1 will be described with reference to FIG.
[0373] Step 1:
[0374] The user launches a smartphone application and selects the format and content of the invoice or statement.
[0375] Input: User's choice (invoice format and content)
[0376] Output: Selected desired data
[0377] What happens: The user interacts with the application interface and selects the format and content of the invoice through multiple-choice prompts. The selected data is then stored within the application.
[0378] Step 2:
[0379] The device uses the smartphone camera to capture the customer's facial expressions and recognizes the emotions using an emotion recognition library.
[0380] Input: Customer facial expression image
[0381] Output: Recognized emotion data
[0382] Specific operation: The device camera captures the customer's facial expression and sends the image data to the emotion recognition library. The library analyzes the image data and recognizes the customer's emotion (e.g., joy, dissatisfaction, anger, etc.).
[0383] Step 3:
[0384] The server receives customer request data and recognized emotion data and uses an invoice generation library to generate optimal invoices and statements.
[0385] Input: Customer request data, recognized emotion data
[0386] Output: Generated invoice and statement data
[0387] Specific operation: The server calls the invoice generation library to generate invoices and statements based on the customer's request data and emotion data. For example, if the customer wants a detailed invoice and the emotion is dissatisfaction, the library will generate an invoice with more detailed items and descriptions.
[0388] Step 4:
[0389] The server then displays the generated invoice or statement on the smartphone screen or sends it to the customer via email.
[0390] Input: Generated invoice and statement data
[0391] Output: Invoice displayed and email sent
[0392] Specific operation: The server sends the generated invoice or statement data to the smartphone application, which displays it on the screen, or the server sends the invoice or statement to the customer as an email.
[0393] In this way, the system can provide optimal invoices and statements based on customer needs and emotions, improving customer satisfaction.
[0394] Example 2
[0395] Next, a second embodiment of the second 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."
[0396] Conventional systems require manual work or RPA to generate invoices and statements, which is time-consuming and inefficient. In addition, they are unable to provide services that reflect the emotions of customers, making it difficult to improve customer satisfaction.
[0397] 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.
[0398] In this invention, the server includes a means for automatically generating a format of an invoice or statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for recognizing a user's emotion, and a means for adjusting the format of the invoice or statement based on the recognized emotion, thereby making it possible to reduce in-house administrative man-hours and improve customer satisfaction.
[0399] "A means for automatically generating invoice and statement formats in accordance with customer requests" refers to a function for automatically creating invoices and statements based on the format and content specified by the customer.
[0400] "Means for providing generated invoices and statements" refers to a function for providing automatically generated invoices and statements to customers.
[0401] "Means for accepting customer requests" means an interface that enables a customer to input or select the format and content of the invoice or statement that he or she desires.
[0402] "Means for recognizing the user's emotions" refers to a function for analyzing the user's tone of voice, facial expressions, behavioral patterns, etc. to determine the user's emotional state.
[0403] "Means for adjusting the format of a bill or statement based on recognized emotions" refers to a function for dynamically changing the content or format of a bill or statement depending on the user's emotional state.
[0404] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0405] This invention is a system aimed at reducing in-house administrative man-hours and improving customer satisfaction. Specifically, it has the function of automatically generating invoices and statements, and the function of recognizing the user's emotions to optimize services.
[0406] Hardware and Software Used
[0407] Hardware: Servers, user devices (PCs, smartphones, tablets, etc.)
[0408] Software: Emotion engine, invoice and statement automatic generation program, user interface (UI)
[0409] System Overview
[0410] 1. User Input
[0411] A user accesses the system's interface using a terminal.
[0412] The user selects the format and content of the invoice or statement.
[0413] 2. Emotion Recognition
[0414] The server uses an emotion engine to analyze the user's tone of voice, facial expressions, and behavioral patterns.
[0415] The emotion engine recognizes the user's emotions.
[0416] 3. Data processing and calculation
[0417] The server then adjusts the formatting of invoices and statements based on the recognized emotions.
[0418] For example, if the user indicates anger or frustration, the server will generate a more detailed statement.
[0419] If the user indicates happiness or satisfaction, the server maintains the current format.
[0420] 4. Providing results
[0421] The server provides automatically generated bills and statements to the user.
[0422] The increased speed of delivery also leads to increased user satisfaction.
[0423] Examples
[0424] Example 1: An angry tone of voice when the user is selecting an invoice format
[0425] The server uses an emotion engine to recognize anger from the user's tone of voice.
[0426] The server automatically generates a more detailed bill and provides it to the user.
[0427] Example 2: Facial expression showing satisfaction as the user selects the invoice content
[0428] The server uses an emotion engine to recognize the satisfaction from the user's facial expression.
[0429] The server automatically generates a statement that maintains the current format and provides it to the user.
[0430] Examples of prompt statements
[0431] Prompt 1: "How would the system respond if the user's tone of voice indicates anger when selecting an invoice format?"
[0432] Prompt 2: "If the user's facial expression indicates satisfaction while selecting the item on the statement, how should the system respond?"
[0433] In this way, the system provides optimal services according to the user's emotions, reducing in-house administrative workload and improving customer satisfaction.
[0434] The flow of the identification process in the second embodiment will be described with reference to FIG.
[0435] Step 1:
[0436] A user accesses the system's interface using a terminal.
[0437] Specifically, the user opens a browser or a dedicated app and enters their user ID and password on the login screen.
[0438] Input: User ID, Password
[0439] Output: User authentication success or failure.
[0440] Step 2:
[0441] The user selects the format and content of the invoice or statement.
[0442] As a specific operation, the user selects the required item using a drop-down menu or check boxes.
[0443] Input: Select the format and content of your invoice or statement
[0444] Output: Data in the selected format and content
[0445] Step 3:
[0446] The server uses an emotion engine to analyze the user's tone of voice, facial expressions, and behavioral patterns.
[0447] Specifically, the server analyzes the audio data and camera footage sent from the terminal in real time.
[0448] Input: Audio data, camera footage
[0449] Output: The user's emotional state (anger, happiness, frustration, etc.)
[0450] Step 4:
[0451] The emotion engine recognizes the user's emotions.
[0452] Specifically, the emotion engine uses voice analysis algorithms and facial recognition technology to determine the user's emotional state.
[0453] Input: Audio data, camera footage
[0454] Output: Recognized emotion data
[0455] Step 5:
[0456] The server then adjusts the formatting of bills and statements based on the recognized emotions.
[0457] Specifically, the server dynamically changes the contents of the invoice or statement using a template engine based on the emotion data obtained from the emotion engine.
[0458] Input: Recognized emotion data, selected format and content data
[0459] Output: Reconciled invoice and statement data
[0460] Step 6:
[0461] The server provides automatically generated bills and statements to the user.
[0462] Specifically, the server generates the generated invoice or statement in PDF format and provides a download link to the user's device.
[0463] Input: Reconciled invoice or statement data
[0464] Output: PDF invoices and statements, download links
[0465] Step 7:
[0466] The user can review the invoices and statements provided and download them if necessary.
[0467] As a specific operation, the user clicks on the provided download link and downloads the PDF file.
[0468] Input:Download link
[0469] Output: Downloaded invoices and statements in PDF format
[0470] (Application example 2)
[0471] 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."
[0472] Conventional invoice and statement generation systems were unable to take into account customer emotions, making it difficult to improve customer satisfaction. In addition, manual or RPA-based operations required a lot of in-house administrative work, making efficient operation difficult. Furthermore, it was difficult to resolve customer dissatisfaction because the systems were unable to respond flexibly to customer emotions.
[0473] 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.
[0474] In this invention, the server includes a means for automatically generating a format of an invoice or statement in accordance with a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for recognizing the customer's emotion, and a means for adjusting the format of the invoice or statement based on the recognized emotion. This makes it possible to provide an optimal invoice or statement in accordance with the customer's emotion, thereby improving customer satisfaction and reducing in-house administrative man-hours.
[0475] "Means for automatically generating invoice and statement formats in accordance with customer requests" refers to a function for automatically creating invoices and statements based on the format and content specified by the customer.
[0476] The "means for providing generated invoices and statements" is a function for providing automatically generated invoices and statements to customers.
[0477] "Means for accepting customer requests" refers to a function for receiving requests or instructions from customers and carrying out processing based on them.
[0478] "Means for recognizing customer emotions" refers to a function for analyzing the customer's tone of voice, facial expressions, behavioral patterns, etc. to identify the customer's emotions.
[0479] The "means for adjusting the format of an invoice or statement based on the recognized emotions" is a function for changing the content or format of an invoice or statement according to the emotions of a customer.
[0480] The system for implementing the present invention uses the following hardware and software: smart glasses (with a camera) are used as the hardware, and OpenCV, a face recognition framework, and PDF generation software are used as the software.
[0481] The server captures the customer's face through the camera of the smart glasses. The captured frames are processed using OpenCV and analyze the customer's emotions using a facial recognition framework. Based on the results of the sentiment analysis, a PDF generation software is used to generate the invoice or statement.
[0482] Specifically, the server performs the process in the following procedure.
[0483] 1. Capture the customer's face with the smart glasses camera.
[0484] 2. Take the captured frames using OpenCV and analyze the emotions using a facial recognition framework.
[0485] 3. Use PDF generation software to generate receipts or statements based on the analysis.
[0486] 4. Generate a detailed statement if the customer is dissatisfied or a concise receipt if the customer is satisfied.
[0487] For example, if the customer is dissatisfied, generate a detailed invoice with detailed items such as Item A: 1000 yen, Item B: 2000 yen, Item C: 1500 yen. On the other hand, if the customer is satisfied, generate a concise receipt with concise information such as Total: 4500 yen.
[0488] An example of a prompt is as follows:
[0489] "If the customer is unhappy, generate a detailed bill. For example, product A: 1000 yen, product B: 2000 yen, product C: 1500 yen."
[0490] “If the customer is satisfied, generate a simple receipt, e.g. Total: 4500 yen.”
[0491] This makes it possible to provide optimal invoices and statements that reflect customer sentiment, thereby improving customer satisfaction and reducing in-house administrative workload.
[0492] The flow of the specific process in the application example 2 will be described with reference to FIG.
[0493] Step 1:
[0494] The server captures the customer's face through the camera of the smart glasses. The input is the video data from the camera, and the output is the captured frame. In concrete terms, the camera captures the video in real time and transmits the video data to the server.
[0495] Step 2:
[0496] The server uses OpenCV to take the captured frames and perform image processing. The input is the captured frame and the output is the processed image data. Specifically, OpenCV analyzes the frame and identifies the face region.
[0497] Step 3:
[0498] The server analyzes the customer's emotions from the processed image data using a facial recognition framework. The input is the processed image data, and the output is the result of the emotion analysis. In particular, the facial recognition framework extracts facial features and classifies emotions.
[0499] Step 4:
[0500] The server generates invoices and statements using PDF generation software based on the results of the sentiment analysis. The inputs are the results of the sentiment analysis and the customer's purchase data, and the output is the generated PDF file. In concrete terms, the PDF generation software creates invoices and statements in a format that corresponds to the sentiment.
[0501] Step 5:
[0502] The server provides the generated PDF file to the customer. The input is the generated PDF file, and the output is the invoice or statement provided to the customer. The specific action is to send the PDF file to the customer via email or printer.
[0503] This makes it possible to provide optimal invoices and statements that reflect customer sentiment, thereby improving customer satisfaction and reducing in-house administrative workload.
[0504] 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.
[0505] The microphone 38B acquires a voice indicating a user input for a result of the specific processing. The control unit 46A transmits the voice 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 voice data.
[0506] 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<URL: https: / / openai.com / blog / chatgpt> ) and other generation AIs. The data generation model 58 is obtained by making a neural network perform deep learning. A prompt including an instruction is input to the data generation model 58, and inference data such as voice data indicating a voice, text data indicating a text, and image data indicating an image is input. The data generation model 58 performs inference on the input inference data according to 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.
[0507] Another example of generative AI is Gemini (registered trademark) (Internet search <url: https: gemini.google.com ?hl="ja">) are mentioned.
[0508] In the above embodiment, an example was given in which the specific process was performed by the data processing device 12, but the technology of the present disclosure is not limited to this, and the specific process may be performed by the smart device 14.
[0509] [Second embodiment]
[0510] FIG. 3 shows an example of the configuration of a data processing system 210 according to the second embodiment.
[0511] 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.
[0512] 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 wide area network (WAN) and / or a local area network (LAN).
[0513] 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.
[0514] 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 the voice according to instructions from the processor 46.
[0515] Camera 42 is a small digital camera equipped with an optical system including a lens, an aperture, and a 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 (e.g., an imaging range defined by an angle of view equivalent to the width of the field of vision of an average healthy person).
[0516] The communication I / F 44 is connected to a network 54. The communication I / Fs 44 and 26 are responsible for transmitting and receiving various types of information between the processor 46 and the processor 28 via the network 54. The transmission and reception of various types of information between the processor 46 and the processor 28 using the communication I / Fs 44 and 26 is performed in a secure state.
[0517] Fig. 4 shows an example of 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.
[0518] 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.
[0519] 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.
[0520] 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.
[0521] Next, the specific processing by the specific processing unit 290 of the data processing device 12 will be described.
[0522] "Example 1"
[0523] One embodiment of the present invention is a system for automatically generating invoice and statement formats according to customer requests. The system has an interface for receiving requests from a customer, and the interface receives the customer's request using a selection prompt. For example, the customer selects the format and content of the invoice through the prompt, and the system automatically generates the invoice based on the selection. The generated invoice is provided to the customer via email or a website.
[0524] "Example 2"
[0525] Furthermore, as another embodiment of the present invention, the system has a function of reducing in-house administrative man-hours and improving customer satisfaction. Specifically, the system reduces the number of manual and RPA-based work hours by automatically generating invoices and statements. In addition, the system improves customer satisfaction by improving the speed at which automatically generated invoices and statements are provided.
[0526] The process flow of each embodiment will be described below.
[0527] "Example 1"
[0528] Step 1: The customer selects the format and content of the invoice or statement through the system interface.
[0529] Step 2: The system auto-generates invoice and statement formats based on customer selection.
[0530] Step 3: Provide the generated invoice or statement to the customer via email or website.
[0531] "Example 2"
[0532] Step 1: The system will start generating invoices and statements automatically, reducing the number of manual and RPA-assisted tasks.
[0533] Step 2: Improve the speed at which the system delivers automatically generated invoices and statements.
[0534] Step 3: Increased speed of delivery leads to increased customer satisfaction.
[0535] Example 1
[0536] 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".
[0537] The traditional process of creating invoices and statements required a lot of manual work, which was time-consuming and labor-intensive, leading to problems such as increased in-house administrative workload and reduced customer satisfaction. Another issue was the difficulty in customizing the system to meet customer requests, and the lack of flexibility. To solve these problems, a system that can automatically generate invoices and statements efficiently and flexibly and provide them quickly is needed.
[0538] 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.
[0539] In this invention, the server includes a means for automatically generating a format of an invoice or statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for accepting a customer's request using a multiple-choice prompt, a means for automatically generating an invoice or statement using a generative AI model, and a means for providing the generated invoice or statement via email or a website. This enables the automatic generation of invoices and statements according to customer requests, thereby reducing in-house administrative man-hours and improving customer satisfaction.
[0540] "Means for automatically generating invoice and statement formats in accordance with customer requests" refers to a function that automatically creates the layout and design of invoices and statements based on the format and content specified by the customer.
[0541] "Means for providing generated invoices and statements" refers to a function for delivering generated invoices and statements to customers, which is provided via email or a website.
[0542] "Means for accepting customer requests" is a function that provides an interface for customers to input or select the format and content of their desired invoices or statements.
[0543] The "means for accepting customer requests using multiple-choice prompts" is a function that allows a customer to input requests in the form of selecting a desired item from multiple options.
[0544] "Means of automatically generating invoices and statements using generative AI models" refers to a function that uses artificial intelligence technology to automatically generate optimal invoices and statements based on customer selections.
[0545] "Means of providing generated invoices and statements via email or website" refers to the function of sending generated invoices and statements by email or making them available for download on a website.
[0546] The present invention is a system for automatically generating formats for invoices and statements in accordance with customer requests and providing the generated invoices and statements. A specific embodiment of this system will be described below.
[0547] System Configuration
[0548] The server has the following features:
[0549] 1. The ability to automatically generate invoice and statement formats according to customer requests.
[0550] 2. Ability to provide generated invoices and statements.
[0551] 3. Ability to provide an interface to accept customer requests.
[0552] 4. Ability to accept customer requests using multiple choice prompts.
[0553] 5. The ability to auto-generate invoices and statements using generative AI models.
[0554] 6. Ability to provide generated invoices and statements via email and / or website.
[0555] Hardware and Software Used
[0556] Hardware:
[0557] Server: A server with a powerful processor and sufficient memory.
[0558] Device: A user device such as a PC, smartphone, or tablet.
[0559] software:
[0560] Front-end technologies: HTML, CSS, JavaScript, React.
[0561] Backend Technologies: Python, Django, Flask.
[0562] AI model libraries: TensorFlow, PyTorch.
[0563] Data format: JSON.
[0564] Sending mail: SMTP server.
[0565] Web server: Apache.
[0566] PDF Generation: A PDF generation library.
[0567] System Operation
[0568] Users access the system's interface through a web browser or mobile app. The interface displays multiple-choice prompts that allow users to select from the following options:
[0569] Templates:Simple, Business, Creative.
[0570] Fonts: Font A, Font B, Font C.
[0571] Color:Blue,Red,Green.
[0572] Item alignment: left, center, right.
[0573] Examples:
[0574] A user opens a web browser and accesses the bill generation system interface. The user selects the following options:
[0575] Template:Simple
[0576] Font: Font A
[0577] Color: Blue
[0578] Item Alignment: Left
[0579] Once the user has completed their selections, the terminal converts these selections into JSON format and sends them to the server using an HTTP POST request. The server uses the received data and a generative AI model to automatically generate an invoice that best suits the selections. The generated invoice is saved in PDF format and sent to the user's email address using an SMTP server. Users can also download the invoice from the website.
[0580] Example prompt:
[0581] "Choose an invoice template (e.g. Simple, Business, Creative)."
[0582] "Please select a font (ex: Font A, Font B, Font C)."
[0583] "Choose a color (e.g. blue, red, green)."
[0584] "Choose the alignment for the item (e.g. left, center, right)."
[0585] In this way, it becomes possible to automatically generate invoices and statements in response to customer requests, reducing in-house administrative workload and improving customer satisfaction.
[0586] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0587] Step 1:
[0588] View the interface
[0589] The server displays an interface on a device, such as a web browser or a mobile app, where the interface includes multiple-choice prompts.
[0590] Input: The server generates the interface using HTML, CSS, JavaScript, React, or other front-end technologies.
[0591] Output: The interface displayed on the terminal.
[0592] What it does: The server generates the HTML code for the webpage, applies styles with CSS, and displays dynamic prompts with JavaScript and React.
[0593] Step 2:
[0594] Accept the customer's selection
[0595] The user selects the format and content of the invoice on the interface, including the invoice template, fonts, colors, and item placement.
[0596] Input: What the user selects on the interface.
[0597] Output: The user's selections are saved to the device.
[0598] Specific behavior: The user selects each item using the drop-down menus and / or radio buttons and clicks the "Submit" button.
[0599] Step 3:
[0600] Sending Data
[0601] The terminal transmits the user's selection to the server.
[0602] Input: User selections are converted to JSON format.
[0603] Output: The JSON data to be sent to the server.
[0604] Specific behavior: The device converts the selection into JSON format and sends it to the server using an HTTP POST request.
[0605] Step 4:
[0606] Data processing and invoice generation
[0607] The server generates an invoice format based on the received data, using a generative AI model to automatically generate the best format for the selections made.
[0608] Input: The JSON data sent to the server.
[0609] Output: A PDF or HTML file of the generated invoice.
[0610] How it works: The server uses AI model libraries such as Python, TensorFlow, and PyTorch to generate an invoice based on the user's selections, and saves the invoice in PDF or HTML format.
[0611] Step 5:
[0612] Providing invoices
[0613] The server provides the generated invoice to the customer via email or a website.
[0614] Input: The generated invoice PDF or HTML file.
[0615] Output: The invoice provided to the customer.
[0616] What it does: The server uses an SMTP server to send the generated invoice to the user's email address, and also uses a web server (such as Apache) to allow the user to download the invoice from the website.
[0617] (Application example 1)
[0618] 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".
[0619] Conventional invoice and statement generation systems had the problem that it was difficult to customize them to meet customer requests and required a lot of manual work, which increased administrative work hours and reduced customer satisfaction. In addition, there was a lack of convenient systems that used smartphone applications.
[0620] 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. In this invention, the server includes a means for automatically generating a format of an invoice or a statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for being installed in a smartphone application, a means for accepting a customer's request using a selection prompt, and a means for providing the generated invoice by email or within the app. This makes it easy to customize according to customer's request, reducing administrative man-hours and improving customer satisfaction.
[0621] "Means for automatically generating invoice or statement formats in accordance with customer requests" refers to a device or software that has the function of automatically creating invoices or statements based on the format and content specified by the customer.
[0622] The "means for providing generated invoices and statements" refers to a device or software having a function for providing automatically generated invoices and statements to customers.
[0623] The "means for accepting customer requests" refers to a device or software having an interface for receiving requests or instructions from customers.
[0624] "Means to be installed in a smartphone application" refers to a device or software having a function that is incorporated into an application that runs on a smartphone.
[0625] A "means for accepting a customer request using a multiple-choice prompt" is a device or software having an interface that allows a customer to input a request in the form of selecting an option.
[0626] "Means for providing a generated invoice by email or within an app" means a device or software that has the function of sending an automatically generated invoice by email or displaying it within an application.
[0627] A system for implementing the present invention is for automatically generating a format of an invoice or statement according to a customer's request and providing the generated invoice or statement. The system includes a means for accepting the customer's request, a means for being installed in a smartphone application, a means for accepting the customer's request using a selection prompt, and a means for providing the generated invoice by email or within the app.
[0628] Hardware and Software Used
[0629] Server: Uses the Flask framework to provide the web interface.
[0630] Smartphone: A device for running applications.
[0631] software:
[0632] Flask (Python web framework)
[0633] PDF generation library (library for converting HTML to PDF)
[0634] Template engine (Flask template engine)
[0635] Data processing and calculation
[0636] 1. Data entry: The user selects the invoice format and content via a smartphone app. Options are provided using multiple-choice prompts.
[0637] 2. Data processing: The server receives the user selection using the Flask application and generates the invoice in HTML format using a template engine.
[0638] 3. Data Conversion: The server converts the generated HTML to PDF using a PDF generation library.
[0639] 4. Data output: The generated PDF can be sent via email or viewed within the app.
[0640] Examples
[0641] A user opens a smartphone app and selects the following options:
[0642] Customer Name: Taro Yamada
[0643] Purchased products: Product A, Product B
[0644] Total amount: 5000 yen
[0645] Examples of prompt statements
[0646] Please enter customer name: Taro Yamada
[0647] Please select the product you wish to purchase: Product A, Product B
[0648] Please enter the total amount: 5000 yen
[0649] When the user enters information according to these prompts, the server automatically generates a customized invoice and provides it in PDF format. This makes it easy to customize invoices according to customer requests, reducing administrative work and improving customer satisfaction.
[0650] The flow of the specific process in the application example 1 will be described with reference to FIG.
[0651] Step 1:
[0652] A user starts the smartphone app and accesses the interface for generating an invoice. The user inputs the necessary information according to the prompts. Specifically, the user inputs information such as the customer name, purchased items, and the total amount. The input data is temporarily stored in the application.
[0653] Step 2:
[0654] The terminal transmits the information entered by the user to the server, including the customer name, the purchased item, the total price, etc. The server analyzes the received data and stores it in the appropriate format.
[0655] Step 3:
[0656] The server processes the received data using a Flask application, using a template engine to generate an HTML invoice based on the information entered by the user, by embedding the data in a template file.
[0657] Step 4:
[0658] The server converts the generated HTML to PDF using a PDF generation library, which takes HTML content and converts it to PDF format. The converted PDF is temporarily stored on the server.
[0659] Step 5:
[0660] The server provides the generated PDF to the user, either by sending it via email or displaying it within the smartphone app. The user can then download the PDF within the app or receive it via email.
[0661] Step 6:
[0662] The user can review the generated PDF and save or print it as needed, resulting in a customized invoice in front of their eyes.
[0663] Example 2
[0664] Next, a description will be given of Example 2 of the embodiment 2. In the following description, the data processing device 12 is referred to as a "server" and the smart glasses 214 are referred to as a "terminal".
[0665] Traditionally, the process of creating invoices and statements was often done manually or using RPA, which required a lot of man-hours and slow delivery speed. This could lead to a decrease in customer satisfaction. Furthermore, invoice and statement formats were often not flexible enough to meet customer requests.
[0666] 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.
[0667] In this invention, the server includes a means for acquiring billing information and customer information from a database, a means for formatting the acquired data and converting it into an invoice or statement format, a means for automatically generating invoices and statements using a generative AI model, and a means for converting the generated invoices and statements into PDF format and sending them to customers by email. This automates the process of creating invoices and statements, reducing labor hours and improving the speed of providing them. In addition, it is possible to provide invoices and statements in a flexible format according to customer requests, which is expected to improve customer satisfaction.
[0668] A "database" is a system for systematically organizing information and efficiently searching and managing it.
[0669] "Billing information" is data regarding the amount and items to be billed to a customer.
[0670] "Customer information" is data that includes basic information such as a customer's name, address, and contact details.
[0671] "Formatting" is the process of converting acquired data into a particular format.
[0672] "Format" refers to the form or structure of data or a document.
[0673] A "generative AI model" is an algorithm or system that uses artificial intelligence to generate text or data.
[0674] A "prompt" is an instruction or question that is input into a generative AI model.
[0675] "PDF format" is an abbreviation for Portable Document Format, a file format for electronically storing and displaying documents.
[0676] An "SMTP server" is a server for sending and receiving e-mail using the Simple Mail Transfer Protocol.
[0677] "Man-hours" is a unit of time or effort required for a task or project.
[0678] "Customer satisfaction" is an indicator of the level of satisfaction a customer feels toward a service or product provided.
[0679] The present invention is a system for reducing in-house administrative man-hours and improving customer satisfaction through the automatic generation of invoices and statements. A specific embodiment of this system will be described below.
[0680] The server first retrieves billing and customer information from a database, for example MySQL, and then executes an SQL query to extract the required data.
[0681] The server then formats the data and converts it into an invoice or statement format using a Python script, converts the data into JSON format, and creates prompts to feed into the generative AI model.
[0682] The server uses a generative AI model (e.g., OpenAI's GPT-4) to automatically generate invoices and statements based on the formatted data. The following is an example of a prompt sentence to be input to the generative AI model:
[0683] Example prompt:
[0684] Customer Name: Taro Yamada
[0685] Billing date: October 1, 2023
[0686] Charge details:
[0687] Product A: 10,000 yen
[0688] Product B: 5,000 yen
[0689] Total price: 15,000 yen
[0690] Please use the above information to generate your invoice.
[0691] The generative AI model generates an invoice based on this prompt. The generated invoice is converted to PDF format by the server. For example, a Python PDF conversion library is used to convert to PDF format.
[0692] Finally, the server will email the generated invoice to the customer using an SMTP server. The server will create an email with a PDF invoice as an attachment and send it to the customer via the SMTP server.
[0693] The system automates the invoice and statement creation process, reducing the number of manual and RPA-based tasks, and improves customer satisfaction by increasing the speed of delivery. In addition, the system uses generative AI models to provide invoices and statements in flexible formats according to customer requests.
[0694] The flow of the identification process in the second embodiment will be described with reference to FIG.
[0695] Step 1:
[0696] The server retrieves billing and customer information from a database.
[0697] Input: Database connection information, SQL query
[0698] What happens: The server connects to a database (e.g. MySQL) and runs SQL queries to extract billing and customer information.
[0699] Output: A dataset of extracted billing and customer information
[0700] Step 2:
[0701] The server formats the retrieved data and converts it into an invoice or statement format.
[0702] Input: Extracted billing and customer information dataset
[0703] What it does: The server uses a Python script to convert the data into JSON format and format it appropriately for invoices and statements.
[0704] Output: Pretty-printed JSON data
[0705] Step 3:
[0706] The server automatically generates invoices and statements using generative AI models.
[0707] Input: Formatted JSON data, prompt text
[0708] How it works: The server inputs prompt text into a generative AI model (e.g., OpenAI's GPT-4) to generate invoices and statements.
[0709] Output: Generated invoice or statement text data
[0710] Step 4:
[0711] The server converts the generated invoices and statements into PDF format.
[0712] Input: Text data of generated invoices and statements
[0713] Specific operation: The server uses a Python library to convert text data into PDF format.
[0714] Output: PDF invoices and statements
[0715] Step 5:
[0716] The server then emails the generated invoices and statements to the customer.
[0717] Input: PDF invoice or statement, customer email address
[0718] What happens: The server uses the SMTP server to create an email with a PDF invoice as the body and attachment, and sends it to the customer.
[0719] Output: Email sent to customer with attached PDF invoice
[0720] (Application example 2)
[0721] 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".
[0722] Conventional methods for generating invoices and statements involve a lot of manual work or RPA, which increases in-house administrative man-hours and slows down the speed at which they are provided to customers. It is also difficult to quickly provide invoices and statements in the format requested by customers, making it difficult to improve customer satisfaction. To solve these issues, there is a need for a more efficient and faster method for generating and providing invoices and statements.
[0723] 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.
[0724] In this invention, the server includes a means for automatically generating formats for invoices and statements according to customer requests, a means for providing the generated invoices and statements, a means for accepting customer requests, a means for automatically generating invoices and statements from order data using a generative AI model, and a means for providing invoices and statements via an application installed on a smartphone. This makes it possible to reduce in-house administrative man-hours and improve customer satisfaction.
[0725] "Means for automatically generating invoice and statement formats in accordance with customer requests" refers to a device or program that has the function of automatically creating the format and content of invoices and statements based on customer requests and conditions.
[0726] A "means for providing a generated invoice or statement" is a device or program having the function of transmitting or displaying an automatically generated invoice or statement to a customer.
[0727] The "means for accepting customer requests" refers to a device or program that provides an interface for inputting or selecting requests or conditions from the customer.
[0728] A "means for automatically generating invoices and statements from order data using a generative AI model" refers to a device or program that has the function of utilizing a generative AI model to automatically create invoices and statements based on input order data.
[0729] "Means for providing invoices and statements via an application installed on a smartphone" refers to a device or program that has the function of sending or displaying generated invoices and statements to customers via an application installed on a smartphone.
[0730] "Reducing internal administrative workload" refers to reducing the time and effort spent on administrative work carried out within a company.
[0731] "Improving customer satisfaction" refers to increasing the level of satisfaction that customers feel toward the services and products provided.
[0732] In order to implement the present invention, the following system configuration and program are required.
[0733] System Configuration
[0734] 1. Hardware
[0735] Smartphone: A device that allows users to check bills and statements.
[0736] Server: A computer system that runs generative AI models and automatically generates invoices and statements.
[0737] 2. Software
[0738] Generative AI models: AI models for automatically generating invoices and statements from order data (e.g., OpenAI’s GPT-3).
[0739] Smartphone application: An application that allows users to check invoices and statements and take necessary actions.
[0740] Server-side program: A program that calls the generative AI model and provides the generated invoices and statements to a smartphone application.
[0741] Program processing explanation
[0742] The server receives the order data and automatically generates invoices and statements using a generative AI model. Specifically, it performs the following processes:
[0743] 1. Data Entry
[0744] The server receives the order data sent by the user, which includes the order number, customer name, product details, total amount, etc.
[0745] 2. Prompt Generation
[0746] The server creates a prompt for the generative AI model based on the received order data. An example of the prompt is as follows:
[0747] Order data: {"order_id": "12345", "customer_name": "Yamada Taro", "items": [{"name": "Product A", "quantity": 2, "price": 1000}, {"name": "Product B", "quantity": 1, "price": 2000}], "total": 4000}
[0748] Generate an invoice based on this order data.
[0749] 3. AI model invocation
[0750] The server calls a generative AI model (e.g., OpenAI's GPT-3) and sends the prompts, which then generate invoices or statements based on the prompts.
[0751] 4. Output
[0752] The server receives the generated invoice or statement and sends it to a smartphone application, through which the user can check the invoice or statement.
[0753] Examples
[0754] For example, if the following order data is entered:
[0755] Order data: {"order_id": "12345", "customer_name": "Yamada Taro", "items": [{"name": "Product A", "quantity": 2, "price": 1000}, {"name": "Product B", "quantity": 1, "price": 2000}], "total": 4000}
[0756] The generative AI model will generate an invoice that looks like this:
[0757] invoice
[0758] Order number: 12345
[0759] Customer Name: Taro Yamada
[0760] Product details:
[0761] 1. Product A - Quantity: 2, Unit price: 1000 yen, Subtotal: 2000 yen
[0762] 2. Product B - Quantity: 1, Unit price: 2000 yen, Subtotal: 2000 yen
[0763] Total price: 4000 yen
[0764] In this way, the server can use the generative AI model to quickly and accurately generate invoices and statements from order data and provide them to users via smartphone applications, reducing in-house administrative workload and improving customer satisfaction.
[0765] The flow of the specific process in the application example 2 will be described with reference to FIG.
[0766] Step 1:
[0767] The server receives the order data sent by the user. The order data includes the order number, customer name, product details, total price, etc. The input data is in JSON format, which the server parses and converts into its internal data structure. The output is the parsed order data.
[0768] Step 2:
[0769] The server creates a prompt for the generative AI model based on the parsed order data. Specifically, it converts the order data into text format and formats it in a format that the generative AI model can understand. The input is the parsed order data, and the output is the prompt text to send to the generative AI model.
[0770] Step 3:
[0771] The server calls a generative AI model (e.g., OpenAI's GPT-3) and sends a prompt. The generative AI model generates an invoice or statement based on the prompt. The input is the prompt, and the output is the text of the generated invoice or statement.
[0772] Step 4:
[0773] The server receives the generated invoice or statement and sends it to the smartphone application, specifically converting the generated text into an appropriate format so that it can be viewed by the user. The input is the generated invoice or statement text and the output is the data sent to the smartphone application.
[0774] Step 5:
[0775] The user checks the invoice or statement through a smartphone application. The application displays the data received from the server and allows the user to perform the necessary operations. The input is the invoice or statement data sent from the server, and the output is the invoice or statement displayed on the user's screen.
[0776] In addition, 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.
[0777] "Example 1"
[0778] As an embodiment of the present invention, a system incorporating an emotion engine is provided. The system includes an emotion engine that recognizes emotions from a user's tone of voice, facial expression, behavioral patterns, etc. Specifically, when a user selects the format and content of an invoice or statement through the system's interface, the emotion engine analyzes the user's tone of voice, facial expression, behavioral patterns, etc. to recognize the user's emotion. The system then adjusts the format of the invoice or statement based on the recognized emotion. For example, if the user shows anger or dissatisfaction, the system resolves the user's dissatisfaction by providing a more detailed statement. Also, if the user shows joy or satisfaction, the system maintains the current format. In this way, the system can provide optimal services according to the user's emotions and improve customer satisfaction.
[0779] "Example 2"
[0780] As an embodiment of the present invention, a system incorporating an emotion engine is provided. The system includes an emotion engine that recognizes emotions from a user's tone of voice, facial expression, behavioral patterns, etc. Specifically, when a user selects the format and content of an invoice or statement through the system's interface, the emotion engine analyzes the user's tone of voice, facial expression, behavioral patterns, etc. to recognize the user's emotion. The system then adjusts the format of the invoice or statement based on the recognized emotion. For example, if the user shows anger or dissatisfaction, the system resolves the user's dissatisfaction by providing a more detailed statement. Also, if the user shows joy or satisfaction, the system maintains the current format. In this way, the system can provide optimal services according to the user's emotions and improve customer satisfaction.
[0781] The process flow of each embodiment will be described below.
[0782] "Example 1"
[0783] Step 1: The user selects the format and content of the invoice or statement through the system interface.
[0784] Step 2: The emotion engine analyzes the user's tone of voice, facial expressions, behavioral patterns, etc. to recognize the user's emotions.
[0785] Step 3: The system adjusts the format of the bill or statement based on the recognized emotion. For example, if the user indicates anger or frustration, the system will resolve the user's frustration by providing a more detailed statement. If the user indicates happiness or satisfaction, the system will maintain the current format.
[0786] Example 1
[0787] 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".
[0788] Conventional invoice and statement generation systems can automatically generate formats according to customer requests, but they do not take into account customer feelings, so customer satisfaction is not sufficiently improved. In addition, there are limited options when accepting customer requests, making it difficult to respond flexibly. Furthermore, the reduction of in-house administrative man-hours has not been sufficiently achieved.
[0789] 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.
[0790] In this invention, the server includes a means for automatically generating a format of an invoice or statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for recognizing a user's emotion, and a means for adjusting the format of the invoice or statement based on the recognized emotion. This makes it possible to provide an optimal invoice or statement according to the customer's emotion, thereby improving customer satisfaction and reducing in-house administrative man-hours.
[0791] "A means for automatically generating invoice and statement formats in accordance with customer requests" refers to a function for automatically creating invoices and statements based on the format and content specified by the customer.
[0792] "Means of providing generated invoices and statements" refers to the ability to send or display generated invoices and statements to customers via email or a website.
[0793] "Means for accepting customer requests" refers to a function that provides an interface for customers to input or select the format and content of their desired invoices or statements.
[0794] "Means for recognizing the user's emotions" refers to a function for analyzing the user's tone of voice, facial expressions, behavioral patterns, etc., and determining the user's emotional state.
[0795] "Means for adjusting the format of a bill or statement based on the recognized emotion" refers to a function for changing the content or format of a bill or statement depending on the user's emotional state.
[0796] This invention is a system that automatically generates formats for bills and statements according to customer requests, and further adjusts the formats by recognizing the user's emotions. This system operates in cooperation with a server, a terminal, and a user.
[0797] The server executes a program for automatically generating a format of an invoice or statement according to a customer's request. This program includes an interface for accepting a customer's request, an emotion engine, and a function for providing the generated invoice or statement. Specifically, the server displays a selection prompt and receives the user's selection. Furthermore, the emotion engine is used to analyze the user's tone of voice, facial expression, and behavioral patterns to recognize the user's emotion.
[0798] A terminal is a device through which a user accesses an interface. For example, a PC or a smartphone. The user uses the terminal to access the system through a web browser or a dedicated application and makes selections in response to prompts.
[0799] The user selects the format and content of the invoice or statement through the system interface. For example, if the user selects "detailed statement," the server automatically generates an invoice based on that selection. In addition, as the user makes a selection, the emotion engine analyzes the user's tone of voice and facial expressions in real time to recognize the user's emotions.
[0800] As a concrete example, consider a scenario where a user selects the format of an invoice: If the user selects "detailed statement" through the interface and the emotion engine detects dissatisfaction in the user's tone of voice, the server will generate a detailed statement and send it to the user via email.
[0801] Example prompt:
[0802] "Choose your invoice format: 1. Simple 2. Detailed"
[0803] "Please select the invoice content: 1. Product name only 2. Product name and price 3. Product name, price and quantity"
[0804] In this way, the server can provide optimal bills and statements based on the user's choices and emotions, improving customer satisfaction and reducing in-house administrative workload.
[0805] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0806] Step 1:
[0807] The user accesses the interface.
[0808] A user uses a terminal to access the system interface through a web browser or a dedicated application. For example, the user opens a web browser such as Google Chrome and accesses a specified URL. The input is the user's access request, and the output is the display of the interface.
[0809] Step 2:
[0810] The server displays the prompt.
[0811] The server displays a prompt in the interface accessed by the user. The prompt contains options for selecting the format and content of the invoice or statement. For example, a prompt such as "Please select the format of your invoice: 1. Simple 2. Detailed" is displayed. The input is the user's access information, and the output is the display of the prompt.
[0812] Step 3:
[0813] The user makes a choice in response to a prompt.
[0814] The user makes a choice in response to a displayed prompt, for example clicking "2" to select "Details." The input is the user's choice in response to the prompt, and the output is the submission of the choice.
[0815] Step 4:
[0816] The server receives the selection and activates the emotion engine.
[0817] The server receives the user's selection and activates the emotion engine based on that information. The emotion engine starts to collect the data necessary to analyze the user's tone of voice, facial expressions, and behavioral patterns. The input is the user's selection, and the output is the activation of the emotion engine.
[0818] Step 5:
[0819] The emotion engine analyzes the user's emotions.
[0820] The emotion engine analyzes the user's tone of voice, facial expressions, and behavioral patterns in real time. For example, if the user's tone of voice when selecting "Details" indicates anger, the emotion engine sends that information to the server as the analysis result. The input is the user's tone of voice and facial expression data, and the output is the emotion analysis result.
[0821] Step 6:
[0822] The server generates invoice and statement formats based on the analysis results.
[0823] The server receives the analysis results from the emotion engine and generates the invoice or statement format based on it. For example, if the user is angry, the server generates a more detailed statement. The input is the emotion analysis result and the user's selection, and the output is the generated invoice or statement.
[0824] Step 7:
[0825] The server provides generated bills and statements to the user.
[0826] The server provides the generated invoice or statement to the user via email or a website. For example, it sends the generated detailed statement in PDF format to the user's email address. It also provides a link for the user to download it on the website. The input is the generated invoice or statement and the output is the presentation to the user.
[0827] (Application example 1)
[0828] 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".
[0829] Conventional invoice and statement generation systems can provide formats according to customer requests, but do not adjust the format to take into account the customer's emotions. As a result, it is not possible to respond appropriately when a customer feels dissatisfied or anxious, which can lead to a decrease in customer satisfaction. In addition, in physical stores, there is a demand for efficient customer service, and flexible responses that respond to emotions are necessary.
[0830] 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.
[0831] In this invention, the server includes a means for automatically generating a format of an invoice or statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for recognizing the customer's emotion, and a means for adjusting the format of the invoice or statement based on the recognized emotion. This makes it possible to provide an optimal invoice or statement according to the customer's emotion, thereby improving customer satisfaction and making it possible to efficiently handle customer inquiries in physical stores.
[0832] "Means for automatically generating invoice and statement formats in accordance with customer requests" refers to a device or program that has the function of automatically creating invoices and statements based on the format and content specified by the customer.
[0833] A "means for providing a generated invoice or statement" is a device or program that has the functionality for displaying, transmitting, or printing a generated invoice or statement to a customer.
[0834] The "means for accepting customer requests" refers to an interface or device for receiving requests or wishes from customers as input.
[0835] The "means for recognizing customer emotions" refers to a device or program for determining the emotional state of a customer by analyzing the customer's tone of voice, facial expression, behavioral patterns, etc.
[0836] A "means for adjusting the format of a bill or statement based on recognized emotions" is a device or program that has the function of changing the content or format of a bill or statement depending on the customer's emotional state.
[0837] As an embodiment of the present invention, we will explain a "smart invoice generation system" that supports customer service in brick-and-mortar stores. This system has the function of automatically generating formats for invoices and statements according to customer requests and adjusting the format by recognizing the customer's emotions.
[0838] System Configuration
[0839] The system consists of the following main components:
[0840] 1. Interface to receive customer requests:
[0841] The company provides an interface for customers to select the format and content of their invoices and statements using a smartphone application.
[0842] The interface uses multiple choice prompts to efficiently gather customer requirements.
[0843] 2. Emotion Recognition Engine:
[0844] The smartphone camera is used to capture the customer's facial expressions and an emotion recognition library is used to recognize the customer's emotions.
[0845] It also analyzes the customer's tone of voice and behavioral patterns to determine their overall emotions.
[0846] 3. Invoice generation engine:
[0847] Use the invoice generation library to auto-generate optimal invoices and statements based on customer desires and perceived sentiment.
[0848] The generated invoices and statements can be displayed on a smartphone screen or sent to the customer via email.
[0849] Processing flow
[0850] 1. Accepting customer requests:
[0851] The customer launches a smartphone application and selects the format and content of the invoice or statement.
[0852] Use multiple choice prompts to gather details about your customer's needs.
[0853] 2. Emotion Recognition:
[0854] The smartphone camera is used to capture the customer's facial expressions and recognize their emotions using an emotion recognition library.
[0855] It also analyzes the customer's tone of voice and behavioral patterns to determine their overall emotions.
[0856] 3. Invoice generation and provision:
[0857] Use the invoice generation library to generate optimal invoices and statements based on customer desires and perceived sentiment.
[0858] The generated invoices and statements can be displayed on a smartphone screen or sent to the customer via email.
[0859] Hardware and Software Used
[0860] Hardware: Smartphone camera
[0861] Software: OpenCV (image processing library), emotion recognition library, invoice generation library
[0862] Examples
[0863] For example, if a customer requests a "detailed invoice" and the emotion engine recognizes "dissatisfied," the system will generate an invoice with more detailed items and explanations.
[0864] Examples of prompt statements
[0865] “If a customer asks for a detailed invoice and the sentiment engine recognises dissatisfaction, what kind of invoice do you generate?”
[0866] In this way, customer service in physical stores can be made more personalized, improving customer satisfaction.
[0867] The flow of the specific process in the application example 1 will be described with reference to FIG.
[0868] Step 1:
[0869] The user launches a smartphone application and selects the format and content of the invoice or statement.
[0870] Input: User's choice (invoice format and content)
[0871] Output: Selected desired data
[0872] What happens: The user interacts with the application interface and selects the format and content of the invoice through multiple-choice prompts. The selected data is then stored within the application.
[0873] Step 2:
[0874] The device uses the smartphone camera to capture the customer's facial expressions and recognizes the emotions using an emotion recognition library.
[0875] Input: Customer facial expression image
[0876] Output: Recognized emotion data
[0877] Specific operation: The device camera captures the customer's facial expression and sends the image data to the emotion recognition library. The library analyzes the image data and recognizes the customer's emotion (e.g., joy, dissatisfaction, anger, etc.).
[0878] Step 3:
[0879] The server receives customer request data and recognized emotion data and uses an invoice generation library to generate optimal invoices and statements.
[0880] Input: Customer request data, recognized emotion data
[0881] Output: Generated invoice and statement data
[0882] Specific operation: The server calls the invoice generation library to generate invoices and statements based on the customer's request data and emotion data. For example, if the customer wants a detailed invoice and the emotion is dissatisfaction, the library will generate an invoice with more detailed items and descriptions.
[0883] Step 4:
[0884] The server then displays the generated invoice or statement on the smartphone screen or sends it to the customer via email.
[0885] Input: Generated invoice and statement data
[0886] Output: Invoice displayed and email sent
[0887] Specific operation: The server sends the generated invoice or statement data to a smartphone application, which displays it on the screen, or the server sends the invoice or statement to the customer as an email.
[0888] In this way, the system can provide optimal invoices and statements based on customer needs and emotions, improving customer satisfaction.
[0889] Example 2
[0890] Next, a description will be given of Example 2 of the embodiment 2. In the following description, the data processing device 12 is referred to as a "server" and the smart glasses 214 are referred to as a "terminal".
[0891] Conventional systems require manual work or RPA to generate invoices and statements, which is time-consuming and inefficient. In addition, they are unable to provide services that reflect the emotions of customers, making it difficult to improve customer satisfaction.
[0892] 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.
[0893] In this invention, the server includes a means for automatically generating a format of an invoice or statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for recognizing a user's emotion, and a means for adjusting the format of the invoice or statement based on the recognized emotion, thereby making it possible to reduce in-house administrative man-hours and improve customer satisfaction.
[0894] "A means for automatically generating invoice and statement formats in accordance with customer requests" refers to a function for automatically creating invoices and statements based on the format and content specified by the customer.
[0895] "Means for providing generated invoices and statements" refers to a function for providing automatically generated invoices and statements to customers.
[0896] "Means for accepting customer requests" means an interface that enables a customer to input or select the format and content of the invoice or statement that he or she desires.
[0897] "Means for recognizing the user's emotions" refers to a function for analyzing the user's tone of voice, facial expressions, behavioral patterns, etc. to determine the user's emotional state.
[0898] "Means for adjusting the format of a bill or statement based on recognized emotions" refers to a function for dynamically changing the content or format of a bill or statement depending on the user's emotional state.
[0899] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0900] This invention is a system aimed at reducing in-house administrative man-hours and improving customer satisfaction. Specifically, it has the function of automatically generating invoices and statements, and the function of recognizing the user's emotions to optimize services.
[0901] Hardware and Software Used
[0902] Hardware: Servers, user devices (PCs, smartphones, tablets, etc.)
[0903] Software: Emotion engine, invoice and statement automatic generation program, user interface (UI)
[0904] System Overview
[0905] 1. User Input
[0906] A user accesses the system's interface using a terminal.
[0907] The user selects the format and content of the invoice or statement.
[0908] 2. Emotion Recognition
[0909] The server uses an emotion engine to analyze the user's tone of voice, facial expressions, and behavioral patterns.
[0910] The emotion engine recognizes the user's emotions.
[0911] 3. Data processing and calculation
[0912] The server then adjusts the formatting of bills and statements based on the recognized emotions.
[0913] For example, if the user indicates anger or frustration, the server will generate a more detailed statement.
[0914] If the user indicates happiness or satisfaction, the server maintains the current format.
[0915] 4. Providing results
[0916] The server provides automatically generated bills and statements to the user.
[0917] The increased speed of delivery also leads to increased user satisfaction.
[0918] Examples
[0919] Example 1: An angry tone of voice when the user is selecting an invoice format
[0920] The server uses an emotion engine to recognize anger from the user's tone of voice.
[0921] The server automatically generates a more detailed bill and provides it to the user.
[0922] Example 2: Facial expression showing satisfaction as the user selects the invoice content
[0923] The server uses an emotion engine to recognize the satisfaction from the user's facial expression.
[0924] The server automatically generates a statement that maintains the current format and provides it to the user.
[0925] Examples of prompt statements
[0926] Prompt 1: "How would the system respond if the user's tone of voice indicates anger when selecting an invoice format?"
[0927] Prompt 2: "If the user's facial expression indicates satisfaction while selecting the item on the statement, how should the system respond?"
[0928] In this way, the system provides optimal services according to the user's emotions, reducing in-house administrative workload and improving customer satisfaction.
[0929] The flow of the identification process in the second embodiment will be described with reference to FIG.
[0930] Step 1:
[0931] A user accesses the system's interface using a terminal.
[0932] Specifically, the user opens a browser or a dedicated app and enters their user ID and password on the login screen.
[0933] Input: User ID, Password
[0934] Output: User authentication success or failure.
[0935] Step 2:
[0936] The user selects the format and content of the invoice or statement.
[0937] As a specific operation, the user selects the required item using a drop-down menu or check boxes.
[0938] Input: Select the format and content of your invoice or statement
[0939] Output: Data in the selected format and content
[0940] Step 3:
[0941] The server uses an emotion engine to analyze the user's tone of voice, facial expressions, and behavioral patterns.
[0942] Specifically, the server analyzes the audio data and camera footage sent from the terminal in real time.
[0943] Input: Audio data, camera footage
[0944] Output: The user's emotional state (anger, happiness, frustration, etc.)
[0945] Step 4:
[0946] The emotion engine recognizes the user's emotions.
[0947] Specifically, the emotion engine uses voice analysis algorithms and facial recognition technology to determine the user's emotional state.
[0948] Input: Audio data, camera footage
[0949] Output: Recognized emotion data
[0950] Step 5:
[0951] The server then adjusts the formatting of invoices and statements based on the recognized emotions.
[0952] Specifically, the server dynamically changes the contents of the invoice or statement using a template engine based on the emotion data obtained from the emotion engine.
[0953] Input: Recognized emotion data, selected format and content data
[0954] Output: Reconciled invoice and statement data
[0955] Step 6:
[0956] The server provides automatically generated bills and statements to the user.
[0957] Specifically, the server generates the generated invoice or statement in PDF format and provides a download link to the user's device.
[0958] Input: Reconciled invoice or statement data
[0959] Output: PDF invoices and statements, download links
[0960] Step 7:
[0961] The user can review the invoices and statements provided and download them if necessary.
[0962] As a specific operation, the user clicks on the provided download link and downloads the PDF file.
[0963] Input:Download link
[0964] Output: Downloaded invoices and statements in PDF format
[0965] (Application example 2)
[0966] 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".
[0967] Conventional invoice and statement generation systems were unable to take into account customer emotions, making it difficult to improve customer satisfaction. In addition, manual or RPA-based operations required a lot of in-house administrative work, making efficient operation difficult. Furthermore, it was difficult to resolve customer dissatisfaction because the systems were unable to respond flexibly to customer emotions.
[0968] 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.
[0969] In this invention, the server includes a means for automatically generating a format of an invoice or statement in accordance with a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for recognizing the customer's emotion, and a means for adjusting the format of the invoice or statement based on the recognized emotion. This makes it possible to provide an optimal invoice or statement in accordance with the customer's emotion, thereby improving customer satisfaction and reducing in-house administrative man-hours.
[0970] "Means for automatically generating invoice and statement formats in accordance with customer requests" refers to a function for automatically creating invoices and statements based on the format and content specified by the customer.
[0971] The "means for providing generated invoices and statements" is a function for providing automatically generated invoices and statements to customers.
[0972] "Means for accepting customer requests" refers to a function for receiving requests or instructions from customers and carrying out processing based on them.
[0973] "Means for recognizing customer emotions" refers to a function for analyzing the customer's tone of voice, facial expressions, behavioral patterns, etc. to identify the customer's emotions.
[0974] The "means for adjusting the format of an invoice or statement based on the recognized emotions" is a function for changing the content or format of an invoice or statement according to the emotions of a customer.
[0975] The system for implementing the present invention uses the following hardware and software: smart glasses (with a camera) are used as the hardware, and OpenCV, a face recognition framework, and PDF generation software are used as the software.
[0976] The server captures the customer's face through the camera of the smart glasses. The captured frames are processed using OpenCV and analyze the customer's emotions using a facial recognition framework. Based on the results of the sentiment analysis, a PDF generation software is used to generate the invoice or statement.
[0977] Specifically, the server performs the process in the following procedure.
[0978] 1. Capture the customer's face with the smart glasses camera.
[0979] 2. Take the captured frames using OpenCV and analyze the emotions using a facial recognition framework.
[0980] 3. Use PDF generation software to generate receipts or statements based on the analysis.
[0981] 4. Generate a detailed statement if the customer is dissatisfied or a concise receipt if the customer is satisfied.
[0982] For example, if the customer is dissatisfied, generate a detailed invoice with detailed items such as Item A: 1000 yen, Item B: 2000 yen, Item C: 1500 yen. On the other hand, if the customer is satisfied, generate a concise receipt with concise information such as Total: 4500 yen.
[0983] An example of a prompt is as follows:
[0984] "If the customer is unhappy, generate a detailed bill. For example, product A: 1000 yen, product B: 2000 yen, product C: 1500 yen."
[0985] “If the customer is satisfied, generate a simple receipt, e.g. Total: 4500 yen.”
[0986] This makes it possible to provide optimal invoices and statements that reflect customer sentiment, thereby improving customer satisfaction and reducing in-house administrative workload.
[0987] The flow of the specific process in the application example 2 will be described with reference to FIG.
[0988] Step 1:
[0989] The server captures the customer's face through the camera of the smart glasses. The input is the video data from the camera, and the output is the captured frame. In concrete terms, the camera captures the video in real time and transmits the video data to the server.
[0990] Step 2:
[0991] The server uses OpenCV to take the captured frames and perform image processing. The input is the captured frame and the output is the processed image data. Specifically, OpenCV analyzes the frame and identifies the face region.
[0992] Step 3:
[0993] The server analyzes the customer's emotions from the processed image data using a facial recognition framework. The input is the processed image data, and the output is the result of the emotion analysis. In particular, the facial recognition framework extracts facial features and classifies emotions.
[0994] Step 4:
[0995] The server generates invoices and statements using PDF generation software based on the results of the sentiment analysis. The inputs are the results of the sentiment analysis and the customer's purchase data, and the output is the generated PDF file. In concrete terms, the PDF generation software creates invoices and statements in a format that corresponds to the sentiment.
[0996] Step 5:
[0997] The server provides the generated PDF file to the customer. The input is the generated PDF file, and the output is the invoice or statement provided to the customer. The specific action is to send the PDF file to the customer via email or printer.
[0998] This makes it possible to provide optimal invoices and statements that reflect customer sentiment, thereby improving customer satisfaction and reducing in-house administrative workload.
[0999] 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 a voice indicating a user input for the result of the specific processing. The control unit 46A transmits the voice 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 voice data.
[1000] 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 making a neural network perform deep learning. A prompt including an instruction is input to the data generation model 58, and inference data such as voice data indicating a voice, text data indicating a text, and image data indicating an image is input. The data generation model 58 performs inference on the input inference data according to 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.
[1001] Another example of generative AI is Gemini (Internet search <url: https: gemini.google.com ?hl="ja">) are mentioned.
[1002] In the above embodiment, an example was given in which the specific processing is performed by the data processing device 12, but the technology of the present disclosure is not limited to this, and the specific processing may be performed by the smart glasses 214.
[1003] [Third embodiment]
[1004] FIG. 5 shows an example of the configuration of a data processing system 310 according to the third embodiment.
[1005] 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.
[1006] 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 wide area network (WAN) and / or a local area network (LAN).
[1007] 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.
[1008] 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 the voice according to instructions from the processor 46.
[1009] Camera 42 is a small digital camera equipped with an optical system including a lens, an aperture, and a 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 (e.g., an imaging range defined by an angle of view equivalent to the width of the field of vision of an average healthy person).
[1010] The communication I / F 44 is connected to a network 54. The communication I / Fs 44 and 26 are responsible for transmitting and receiving various types of information between the processor 46 and the processor 28 via the network 54. The transmission and reception of various types of information between the processor 46 and the processor 28 using the communication I / Fs 44 and 26 is performed in a secure state.
[1011] Fig. 6 shows an example of 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.
[1012] 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.
[1013] 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.
[1014] In the headset type terminal 314, 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.
[1015] Next, the specific processing by the specific processing unit 290 of the data processing device 12 will be described.
[1016] "Example 1"
[1017] One embodiment of the present invention is a system for automatically generating invoice and statement formats according to customer requests. The system has an interface for receiving requests from a customer, and the interface receives the customer's request using a selection prompt. For example, the customer selects the format and content of the invoice through the prompt, and the system automatically generates the invoice based on the selection. The generated invoice is provided to the customer via email or a website.
[1018] "Example 2"
[1019] Furthermore, as another embodiment of the present invention, the system has a function of reducing in-house administrative man-hours and improving customer satisfaction. Specifically, the system reduces the number of manual and RPA-based work hours by automatically generating invoices and statements. In addition, the system improves customer satisfaction by improving the speed at which automatically generated invoices and statements are provided.
[1020] The process flow of each embodiment will be described below.
[1021] "Example 1"
[1022] Step 1: The customer selects the format and content of the invoice or statement through the system interface.
[1023] Step 2: The system auto-generates invoice and statement formats based on customer selection.
[1024] Step 3: Provide the generated invoice or statement to the customer via email or website.
[1025] "Example 2"
[1026] Step 1: The system will start generating invoices and statements automatically, reducing the number of manual and RPA-assisted tasks.
[1027] Step 2: Improve the speed at which the system delivers automatically generated invoices and statements.
[1028] Step 3: Increased speed of delivery leads to increased customer satisfaction.
[1029] Example 1
[1030] Next, a description will be given of Example 1 of the embodiment 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".
[1031] The traditional process of creating invoices and statements required a lot of manual work, which was time-consuming and labor-intensive, leading to problems such as increased in-house administrative workload and reduced customer satisfaction. Another issue was the difficulty in customizing the system to meet customer requests, and the lack of flexibility. To solve these problems, a system that can automatically generate invoices and statements efficiently and flexibly and provide them quickly is needed.
[1032] 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.
[1033] In this invention, the server includes a means for automatically generating a format of an invoice or statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for accepting a customer's request using a multiple-choice prompt, a means for automatically generating an invoice or statement using a generative AI model, and a means for providing the generated invoice or statement via email or a website. This enables the automatic generation of invoices and statements according to customer requests, thereby reducing in-house administrative man-hours and improving customer satisfaction.
[1034] "Means for automatically generating invoice and statement formats in accordance with customer requests" refers to a function that automatically creates the layout and design of invoices and statements based on the format and content specified by the customer.
[1035] "Means for providing generated invoices and statements" refers to a function for delivering generated invoices and statements to customers, which is provided via email or a website.
[1036] "Means for accepting customer requests" is a function that provides an interface for customers to input or select the format and content of their desired invoices and statements.
[1037] The "means for accepting customer requests using a multiple-choice prompt" is a function that allows a customer to input requests in the form of selecting a desired item from multiple options.
[1038] "Means of automatically generating invoices and statements using generative AI models" refers to a function that uses artificial intelligence technology to automatically generate optimal invoices and statements based on customer selections.
[1039] "Means of providing generated invoices and statements via email or website" refers to the function of sending generated invoices and statements by email or making them available for download on a website.
[1040] The present invention is a system for automatically generating formats for invoices and statements in accordance with customer requests and providing the generated invoices and statements. A specific embodiment of this system will be described below.
[1041] System Configuration
[1042] The server has the following features:
[1043] 1. The ability to automatically generate invoice and statement formats according to customer requests.
[1044] 2. Ability to provide generated invoices and statements.
[1045] 3. Ability to provide an interface to accept customer requests.
[1046] 4. Ability to accept customer requests using multiple choice prompts.
[1047] 5. The ability to auto-generate invoices and statements using generative AI models.
[1048] 6. Ability to provide generated invoices and statements via email and / or website.
[1049] Hardware and Software Used
[1050] Hardware:
[1051] Server: A server with a powerful processor and sufficient memory.
[1052] Device: A user device such as a PC, smartphone, or tablet.
[1053] software:
[1054] Front-end technologies: HTML, CSS, JavaScript, React.
[1055] Backend Technologies: Python, Django, Flask.
[1056] AI model libraries: TensorFlow, PyTorch.
[1057] Data format: JSON.
[1058] Sending mail: SMTP server.
[1059] Web server: Apache.
[1060] PDF Generation: A PDF generation library.
[1061] System Operation
[1062] Users access the system's interface through a web browser or mobile app. The interface displays multiple-choice prompts that allow users to select from the following options:
[1063] Templates:Simple, Business, Creative.
[1064] Fonts: Font A, Font B, Font C.
[1065] Color:Blue,Red,Green.
[1066] Item alignment: left, center, right.
[1067] Examples:
[1068] A user opens a web browser and accesses the bill generation system interface. The user selects the following options:
[1069] Template:Simple
[1070] Font: Font A
[1071] Color: Blue
[1072] Item Alignment: Left
[1073] Once the user has completed their selections, the terminal converts these selections into JSON format and sends them to the server using an HTTP POST request. The server uses the received data and a generative AI model to automatically generate an invoice that best suits the selections. The generated invoice is saved in PDF format and sent to the user's email address using an SMTP server. Users can also download the invoice from the website.
[1074] Example prompt:
[1075] "Choose an invoice template (e.g. Simple, Business, Creative)."
[1076] "Please select a font (ex: Font A, Font B, Font C)."
[1077] "Choose a color (e.g. blue, red, green)."
[1078] "Choose the alignment for the item (e.g. left, center, right)."
[1079] In this way, it becomes possible to automatically generate invoices and statements in response to customer requests, reducing in-house administrative workload and improving customer satisfaction.
[1080] The flow of the identification process in the first embodiment will be described with reference to FIG.
[1081] Step 1:
[1082] View the interface
[1083] The server displays an interface on a device, such as a web browser or a mobile app, where the interface includes multiple-choice prompts.
[1084] Input: The server generates the interface using HTML, CSS, JavaScript, React, or other front-end technologies.
[1085] Output: The interface displayed on the terminal.
[1086] What it does: The server generates the HTML code for the webpage, applies styles with CSS, and displays dynamic prompts with JavaScript and React.
[1087] Step 2:
[1088] Accept the customer's selection
[1089] The user selects the format and content of the invoice on the interface, including the invoice template, fonts, colors, and item placement.
[1090] Input: What the user selects on the interface.
[1091] Output: The user's selections are saved to the device.
[1092] Specific behavior: The user selects each item using the drop-down menus and / or radio buttons and clicks the "Submit" button.
[1093] Step 3:
[1094] Sending Data
[1095] The terminal transmits the user's selection to the server.
[1096] Input: User selections are converted to JSON format.
[1097] Output: The JSON data to be sent to the server.
[1098] Specific behavior: The device converts the selection into JSON format and sends it to the server using an HTTP POST request.
[1099] Step 4:
[1100] Data processing and invoice generation
[1101] The server generates an invoice format based on the received data, using a generative AI model to automatically generate the best format for the selections made.
[1102] Input: The JSON data sent to the server.
[1103] Output: A PDF or HTML file of the generated invoice.
[1104] How it works: The server uses AI model libraries such as Python, TensorFlow, and PyTorch to generate an invoice based on the user's selections, and saves the invoice in PDF or HTML format.
[1105] Step 5:
[1106] Providing invoices
[1107] The server provides the generated invoice to the customer via email or a website.
[1108] Input: The generated invoice PDF or HTML file.
[1109] Output: The invoice provided to the customer.
[1110] What it does: The server uses an SMTP server to send the generated invoice to the user's email address, and also uses a web server (such as Apache) to allow the user to download the invoice from the website.
[1111] (Application example 1)
[1112] 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".
[1113] Conventional invoice and statement generation systems had the problem that it was difficult to customize them to meet customer requests and required a lot of manual work, which increased administrative work hours and reduced customer satisfaction. In addition, there was a lack of convenient systems that used smartphone applications.
[1114] 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. In this invention, the server includes a means for automatically generating a format of an invoice or a statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for being installed in a smartphone application, a means for accepting a customer's request using a selection prompt, and a means for providing the generated invoice by email or within the app. This makes it easy to customize according to customer's request, reducing administrative man-hours and improving customer satisfaction.
[1115] "Means for automatically generating invoice or statement formats in accordance with customer requests" refers to a device or software that has the function of automatically creating invoices or statements based on the format and content specified by the customer.
[1116] The "means for providing generated invoices and statements" refers to a device or software having a function for providing automatically generated invoices and statements to customers.
[1117] The "means for accepting customer requests" refers to a device or software having an interface for receiving requests or instructions from customers.
[1118] "Means to be installed in a smartphone application" refers to a device or software having a function that is incorporated into an application that runs on a smartphone.
[1119] A "means for accepting a customer request using a multiple-choice prompt" is a device or software having an interface that allows a customer to input a request in the form of selecting an option.
[1120] "Means for providing a generated invoice by email or within an app" means a device or software that has the function of sending an automatically generated invoice by email or displaying it within an application.
[1121] A system for implementing the present invention is for automatically generating a format of an invoice or statement according to a customer's request and providing the generated invoice or statement. The system includes a means for accepting the customer's request, a means for being installed in a smartphone application, a means for accepting the customer's request using a selection prompt, and a means for providing the generated invoice by email or within the app.
[1122] Hardware and Software Used
[1123] Server: Uses the Flask framework to provide the web interface.
[1124] Smartphone: A device for running applications.
[1125] software:
[1126] Flask (Python web framework)
[1127] PDF generation library (library for converting HTML to PDF)
[1128] Template engine (Flask template engine)
[1129] Data processing and calculation
[1130] 1. Data entry: The user selects the invoice format and content via a smartphone app. Options are provided using multiple-choice prompts.
[1131] 2. Data processing: The server receives the user selection using the Flask application and generates the invoice in HTML format using a template engine.
[1132] 3. Data Conversion: The server converts the generated HTML to PDF using a PDF generation library.
[1133] 4. Data output: The generated PDF can be sent via email or viewed within the app.
[1134] Examples
[1135] A user opens a smartphone app and selects the following options:
[1136] Customer Name: Taro Yamada
[1137] Purchased products: Product A, Product B
[1138] Total amount: 5000 yen
[1139] Examples of prompt statements
[1140] Please enter customer name: Taro Yamada
[1141] Please select the product you wish to purchase: Product A, Product B
[1142] Please enter the total amount: 5000 yen
[1143] When the user enters information according to these prompts, the server automatically generates a customized invoice and provides it in PDF format. This makes it easy to customize invoices according to customer requests, reducing administrative workload and improving customer satisfaction.
[1144] The flow of the specific process in the application example 1 will be described with reference to FIG.
[1145] Step 1:
[1146] A user starts the smartphone app and accesses the interface for generating an invoice. The user inputs the necessary information according to the prompts. Specifically, the user inputs information such as the customer name, purchased items, and the total amount. The input data is temporarily stored in the application.
[1147] Step 2:
[1148] The terminal transmits the information entered by the user to the server, including the customer name, the purchased item, the total price, etc. The server analyzes the received data and stores it in the appropriate format.
[1149] Step 3:
[1150] The server processes the received data using a Flask application, using a template engine to generate an HTML invoice based on the information entered by the user, by embedding the data in a template file.
[1151] Step 4:
[1152] The server converts the generated HTML to PDF using a PDF generation library, which takes HTML content and converts it to PDF format. The converted PDF is temporarily stored on the server.
[1153] Step 5:
[1154] The server provides the generated PDF to the user, either by sending it via email or displaying it within the smartphone app. The user can then download the PDF within the app or receive it via email.
[1155] Step 6:
[1156] The user can review the generated PDF and save or print it as needed, resulting in a customized invoice in front of their eyes.
[1157] Example 2
[1158] Next, a second embodiment of the second form 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".
[1159] Traditionally, the process of creating invoices and statements was often done manually or using RPA, which required a lot of man-hours and slow delivery speed. This could lead to a decrease in customer satisfaction. Furthermore, invoice and statement formats were often not flexible enough to meet customer requests.
[1160] 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.
[1161] In this invention, the server includes a means for acquiring billing information and customer information from a database, a means for formatting the acquired data and converting it into an invoice or statement format, a means for automatically generating invoices and statements using a generative AI model, and a means for converting the generated invoices and statements into PDF format and sending them to customers by email. This automates the process of creating invoices and statements, reducing labor hours and improving the speed of providing them. In addition, it is possible to provide invoices and statements in a flexible format according to customer requests, which is expected to improve customer satisfaction.
[1162] A "database" is a system for systematically organizing information and efficiently searching and managing it.
[1163] "Billing information" is data regarding the amount and items to be billed to a customer.
[1164] "Customer information" is data that includes basic information such as a customer's name, address, and contact details.
[1165] "Formatting" is the process of converting acquired data into a particular format.
[1166] "Format" refers to the form or structure of data or a document.
[1167] A "generative AI model" is an algorithm or system that uses artificial intelligence to generate text or data.
[1168] A "prompt" is an instruction or question that is input into a generative AI model.
[1169] "PDF format" is an abbreviation for Portable Document Format, a file format for electronically storing and displaying documents.
[1170] An "SMTP server" is a server for sending and receiving e-mail using the Simple Mail Transfer Protocol.
[1171] "Man-hours" is a unit of time or effort required for a task or project.
[1172] "Customer satisfaction" is an indicator of the level of satisfaction a customer feels toward a service or product provided.
[1173] The present invention is a system for reducing in-house administrative man-hours and improving customer satisfaction through the automatic generation of invoices and statements. A specific embodiment of this system will be described below.
[1174] The server first retrieves billing and customer information from a database, for example MySQL, and then executes an SQL query to extract the required data.
[1175] The server then formats the data and converts it into an invoice or statement format using a Python script, converts the data into JSON format, and creates prompts to feed into the generative AI model.
[1176] The server uses a generative AI model (e.g., OpenAI's GPT-4) to automatically generate invoices and statements based on the formatted data. The following is an example of a prompt sentence to be input to the generative AI model:
[1177] Example prompt:
[1178] Customer Name: Taro Yamada
[1179] Billing date: October 1, 2023
[1180] Charge details:
[1181] Product A: 10,000 yen
[1182] Product B: 5,000 yen
[1183] Total price: 15,000 yen
[1184] Please use the above information to generate your invoice.
[1185] The generative AI model generates an invoice based on this prompt. The generated invoice is converted to PDF format by the server. For example, a Python PDF conversion library is used to convert to PDF format.
[1186] Finally, the server will email the generated invoice to the customer using an SMTP server. The server will create an email with a PDF invoice as an attachment and send it to the customer via the SMTP server.
[1187] The system automates the invoice and statement creation process, reducing the number of manual and RPA-based tasks, and improves customer satisfaction by increasing the speed of delivery. In addition, the system uses generative AI models to provide invoices and statements in flexible formats according to customer requests.
[1188] The flow of the identification process in the second embodiment will be described with reference to FIG.
[1189] Step 1:
[1190] The server retrieves billing and customer information from a database.
[1191] Input: Database connection information, SQL query
[1192] What happens: The server connects to a database (e.g. MySQL) and runs SQL queries to extract billing and customer information.
[1193] Output: A dataset of extracted billing and customer information
[1194] Step 2:
[1195] The server formats the retrieved data and converts it into an invoice or statement format.
[1196] Input: Extracted billing and customer information dataset
[1197] What it does: The server uses a Python script to convert the data into JSON format and format it appropriately for invoices and statements.
[1198] Output: Pretty-printed JSON data
[1199] Step 3:
[1200] The server automatically generates invoices and statements using generative AI models.
[1201] Input: Formatted JSON data, prompt text
[1202] How it works: The server inputs prompt text into a generative AI model (e.g., OpenAI's GPT-4) to generate invoices and statements.
[1203] Output: Generated invoice or statement text data
[1204] Step 4:
[1205] The server converts the generated invoices and statements into PDF format.
[1206] Input: Text data of generated invoices and statements
[1207] Specific operation: The server uses a Python library to convert text data into PDF format.
[1208] Output: PDF invoices and statements
[1209] Step 5:
[1210] The server then emails the generated invoices and statements to the customer.
[1211] Input: PDF invoice or statement, customer email address
[1212] What happens: The server uses an SMTP server to create an email with a PDF invoice as the body and attachment, and sends it to the customer.
[1213] Output: Email sent to customer with attached PDF invoice
[1214] (Application example 2)
[1215] 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".
[1216] Conventional methods for generating invoices and statements involve a lot of manual work or RPA, which increases in-house administrative man-hours and slows down the speed at which they are provided to customers. It is also difficult to quickly provide invoices and statements in the format requested by customers, making it difficult to improve customer satisfaction. To solve these issues, there is a need for a more efficient and faster method for generating and providing invoices and statements.
[1217] 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.
[1218] In this invention, the server includes a means for automatically generating formats for invoices and statements according to customer requests, a means for providing the generated invoices and statements, a means for accepting customer requests, a means for automatically generating invoices and statements from order data using a generative AI model, and a means for providing invoices and statements via an application installed on a smartphone. This makes it possible to reduce in-house administrative man-hours and improve customer satisfaction.
[1219] "Means for automatically generating invoice and statement formats in accordance with customer requests" refers to a device or program that has the function of automatically creating the format and content of invoices and statements based on customer requests and conditions.
[1220] A "means for providing a generated invoice or statement" is a device or program having the function of transmitting or displaying an automatically generated invoice or statement to a customer.
[1221] The "means for accepting customer requests" refers to a device or program that provides an interface for inputting or selecting requests or conditions from the customer.
[1222] A "means for automatically generating invoices and statements from order data using a generative AI model" refers to a device or program that has the function of utilizing a generative AI model to automatically create invoices and statements based on input order data.
[1223] "Means for providing invoices and statements via an application installed on a smartphone" refers to a device or program that has the function of sending or displaying generated invoices and statements to customers via an application installed on a smartphone.
[1224] "Reducing internal administrative workload" refers to reducing the time and effort spent on administrative work carried out within a company.
[1225] "Improving customer satisfaction" refers to increasing the level of satisfaction that customers feel toward the services and products provided.
[1226] In order to implement the present invention, the following system configuration and program are required.
[1227] System Configuration
[1228] 1. Hardware
[1229] Smartphone: A device that allows users to check bills and statements.
[1230] Server: A computer system that runs generative AI models and automatically generates invoices and statements.
[1231] 2. Software
[1232] Generative AI models: AI models for automatically generating invoices and statements from order data (e.g., OpenAI’s GPT-3).
[1233] Smartphone application: An application that allows users to check invoices and statements and take necessary actions.
[1234] Server-side program: A program that calls the generative AI model and provides the generated invoices and statements to a smartphone application.
[1235] Program processing explanation
[1236] The server receives the order data and automatically generates invoices and statements using a generative AI model. Specifically, it performs the following processes:
[1237] 1. Data Entry
[1238] The server receives the order data sent by the user, which includes the order number, customer name, product details, total amount, etc.
[1239] 2. Prompt Generation
[1240] The server creates a prompt for the generative AI model based on the received order data. An example of the prompt is as follows:
[1241] Order data: {"order_id": "12345", "customer_name": "Yamada Taro", "items": [{"name": "Product A", "quantity": 2, "price": 1000}, {"name": "Product B", "quantity": 1, "price": 2000}], "total": 4000}
[1242] Generate an invoice based on this order data.
[1243] 3. AI model invocation
[1244] The server calls a generative AI model (e.g., OpenAI's GPT-3) and sends the prompts, which then generate invoices or statements based on the prompts.
[1245] 4. Output
[1246] The server receives the generated invoice or statement and sends it to a smartphone application, through which the user can check the invoice or statement.
[1247] Examples
[1248] For example, if the following order data is entered:
[1249] Order data: {"order_id": "12345", "customer_name": "Yamada Taro", "items": [{"name": "Product A", "quantity": 2, "price": 1000}, {"name": "Product B", "quantity": 1, "price": 2000}], "total": 4000}
[1250] The generative AI model will generate an invoice that looks like this:
[1251] invoice
[1252] Order number: 12345
[1253] Customer Name: Taro Yamada
[1254] Product details:
[1255] 1. Product A - Quantity: 2, Unit price: 1000 yen, Subtotal: 2000 yen
[1256] 2. Product B - Quantity: 1, Unit price: 2000 yen, Subtotal: 2000 yen
[1257] Total price: 4000 yen
[1258] In this way, the server can use the generative AI model to quickly and accurately generate invoices and statements from order data and provide them to users via smartphone applications, reducing in-house administrative workload and improving customer satisfaction.
[1259] The flow of the specific process in the application example 2 will be described with reference to FIG.
[1260] Step 1:
[1261] The server receives the order data sent by the user. The order data includes the order number, customer name, product details, total price, etc. The input data is in JSON format, which the server parses and converts into its internal data structure. The output is the parsed order data.
[1262] Step 2:
[1263] The server creates a prompt for the generative AI model based on the parsed order data. Specifically, it converts the order data into text format and formats it in a format that the generative AI model can understand. The input is the parsed order data, and the output is the prompt text to send to the generative AI model.
[1264] Step 3:
[1265] The server calls a generative AI model (e.g., OpenAI's GPT-3) and sends a prompt. The generative AI model generates an invoice or statement based on the prompt. The input is the prompt, and the output is the text of the generated invoice or statement.
[1266] Step 4:
[1267] The server receives the generated invoice or statement and sends it to the smartphone application, specifically converting the generated text into an appropriate format so that it can be viewed by the user. The input is the generated invoice or statement text and the output is the data sent to the smartphone application.
[1268] Step 5:
[1269] The user checks the invoice or statement through a smartphone application. The application displays the data received from the server and allows the user to perform the necessary operations. The input is the invoice or statement data sent from the server, and the output is the invoice or statement displayed on the user's screen.
[1270] In addition, 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.
[1271] "Example 1"
[1272] As an embodiment of the present invention, a system incorporating an emotion engine is provided. The system includes an emotion engine that recognizes emotions from a user's tone of voice, facial expression, behavioral patterns, etc. Specifically, when a user selects the format and content of an invoice or statement through the system's interface, the emotion engine analyzes the user's tone of voice, facial expression, behavioral patterns, etc. to recognize the user's emotion. The system then adjusts the format of the invoice or statement based on the recognized emotion. For example, if the user shows anger or dissatisfaction, the system resolves the user's dissatisfaction by providing a more detailed statement. Also, if the user shows joy or satisfaction, the system maintains the current format. In this way, the system can provide optimal services according to the user's emotions and improve customer satisfaction.
[1273] "Example 2"
[1274] As an embodiment of the present invention, a system incorporating an emotion engine is provided. The system includes an emotion engine that recognizes emotions from a user's tone of voice, facial expression, behavioral patterns, etc. Specifically, when a user selects the format and content of an invoice or statement through the system's interface, the emotion engine analyzes the user's tone of voice, facial expression, behavioral patterns, etc. to recognize the user's emotion. The system then adjusts the format of the invoice or statement based on the recognized emotion. For example, if the user shows anger or dissatisfaction, the system resolves the user's dissatisfaction by providing a more detailed statement. Also, if the user shows joy or satisfaction, the system maintains the current format. In this way, the system can provide optimal services according to the user's emotions and improve customer satisfaction.
[1275] The process flow of each embodiment will be described below.
[1276] "Example 1"
[1277] Step 1: The user selects the format and content of the invoice or statement through the system interface.
[1278] Step 2: The emotion engine analyzes the user's tone of voice, facial expressions, behavioral patterns, etc. to recognize the user's emotions.
[1279] Step 3: The system adjusts the format of the bill or statement based on the recognized emotion. For example, if the user indicates anger or frustration, the system will resolve the user's frustration by providing a more detailed statement. If the user indicates happiness or satisfaction, the system will maintain the current format.
[1280] Example 1
[1281] Next, a description will be given of Example 1 of the embodiment 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".
[1282] Conventional invoice and statement generation systems can automatically generate formats according to customer requests, but they do not take into account customer feelings, so customer satisfaction is not sufficiently improved. In addition, there are limited options when accepting customer requests, making it difficult to respond flexibly. Furthermore, the reduction of in-house administrative man-hours has not been sufficiently achieved.
[1283] 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.
[1284] In this invention, the server includes a means for automatically generating a format of an invoice or statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for recognizing a user's emotion, and a means for adjusting the format of the invoice or statement based on the recognized emotion. This makes it possible to provide an optimal invoice or statement according to the customer's emotion, thereby improving customer satisfaction and reducing in-house administrative man-hours.
[1285] "A means for automatically generating invoice and statement formats in accordance with customer requests" refers to a function for automatically creating invoices and statements based on the format and content specified by the customer.
[1286] "Means of providing generated invoices and statements" refers to the ability to send or display generated invoices and statements to customers via email or a website.
[1287] "Means for accepting customer requests" refers to a function that provides an interface for customers to input or select the format and content of their desired invoices or statements.
[1288] "Means for recognizing the user's emotions" refers to a function for analyzing the user's tone of voice, facial expressions, behavioral patterns, etc., and determining the user's emotional state.
[1289] "Means for adjusting the format of a bill or statement based on the recognized emotion" refers to a function for changing the content or format of a bill or statement depending on the user's emotional state.
[1290] This invention is a system that automatically generates formats for bills and statements according to customer requests, and further adjusts the formats by recognizing the user's emotions. This system operates in cooperation with a server, a terminal, and a user.
[1291] The server executes a program for automatically generating a format of an invoice or statement according to a customer's request. This program includes an interface for accepting a customer's request, an emotion engine, and a function for providing the generated invoice or statement. Specifically, the server displays a selection prompt and receives the user's selection. Furthermore, the emotion engine is used to analyze the user's tone of voice, facial expression, and behavioral patterns to recognize the user's emotion.
[1292] A terminal is a device through which a user accesses an interface. For example, a PC or a smartphone. The user uses the terminal to access the system through a web browser or a dedicated application and makes selections in response to prompts.
[1293] The user selects the format and content of the invoice or statement through the system interface. For example, if the user selects "detailed statement," the server automatically generates an invoice based on that selection. In addition, as the user makes a selection, the emotion engine analyzes the user's tone of voice and facial expressions in real time to recognize the user's emotions.
[1294] As a concrete example, consider a scenario where a user selects the format of an invoice: If the user selects "detailed statement" through the interface and the emotion engine detects dissatisfaction in the user's tone of voice, the server will generate a detailed statement and send it to the user via email.
[1295] Example prompt:
[1296] "Choose your invoice format: 1. Simple 2. Detailed"
[1297] "Please select the invoice content: 1. Product name only 2. Product name and price 3. Product name, price and quantity"
[1298] In this way, the server can provide optimal bills and statements based on the user's choices and emotions, improving customer satisfaction and reducing in-house administrative workload.
[1299] The flow of the identification process in the first embodiment will be described with reference to FIG.
[1300] Step 1:
[1301] The user accesses the interface.
[1302] A user uses a terminal to access the system interface through a web browser or a dedicated application. For example, a user opens a web browser such as Google Chrome and accesses a specified URL. The input is the user's access request, and the output is the display of the interface.
[1303] Step 2:
[1304] The server displays the prompt.
[1305] The server displays a prompt in the interface accessed by the user. The prompt contains options for selecting the format and content of the invoice or statement. For example, a prompt such as "Please select the format of your invoice: 1. Simple 2. Detailed" is displayed. The input is the user's access information, and the output is the display of the prompt.
[1306] Step 3:
[1307] The user makes a choice in response to a prompt.
[1308] The user makes a choice in response to a displayed prompt, for example clicking "2" to select "Details." The input is the user's choice in response to the prompt, and the output is the submission of the choice.
[1309] Step 4:
[1310] The server receives the selection and activates the emotion engine.
[1311] The server receives the user's selection and activates the emotion engine based on that information. The emotion engine starts to collect the data necessary to analyze the user's tone of voice, facial expressions, and behavioral patterns. The input is the user's selection, and the output is the activation of the emotion engine.
[1312] Step 5:
[1313] The emotion engine analyzes the user's emotions.
[1314] The emotion engine analyzes the user's tone of voice, facial expressions, and behavioral patterns in real time. For example, if the user's tone of voice when selecting "Details" indicates anger, the emotion engine sends that information to the server as the analysis result. The input is the user's tone of voice and facial expression data, and the output is the emotion analysis result.
[1315] Step 6:
[1316] The server generates invoice and statement formats based on the analysis results.
[1317] The server receives the analysis results from the emotion engine and generates the invoice or statement format based on it. For example, if the user is angry, the server generates a more detailed statement. The input is the emotion analysis result and the user's selection, and the output is the generated invoice or statement.
[1318] Step 7:
[1319] The server provides generated bills and statements to the user.
[1320] The server provides the generated invoice or statement to the user via email or a website. For example, it sends the generated detailed statement in PDF format to the user's email address. It also provides a link for the user to download it on the website. The input is the generated invoice or statement and the output is the presentation to the user.
[1321] (Application example 1)
[1322] 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".
[1323] Conventional invoice and statement generation systems can provide formats according to customer requests, but do not adjust the format to take into account the customer's emotions. As a result, it is not possible to respond appropriately when a customer feels dissatisfied or anxious, which can lead to a decrease in customer satisfaction. In addition, in physical stores, there is a demand for efficient customer service, and flexible responses that respond to emotions are necessary.
[1324] 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.
[1325] In this invention, the server includes a means for automatically generating a format of an invoice or statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for recognizing the customer's emotion, and a means for adjusting the format of the invoice or statement based on the recognized emotion. This makes it possible to provide an optimal invoice or statement according to the customer's emotion, thereby improving customer satisfaction and making it possible to efficiently handle customer inquiries in physical stores.
[1326] "Means for automatically generating invoice and statement formats in accordance with customer requests" refers to a device or program that has the function of automatically creating invoices and statements based on the format and content specified by the customer.
[1327] A "means for providing a generated invoice or statement" is a device or program that has the functionality for displaying, transmitting, or printing a generated invoice or statement to a customer.
[1328] The "means for accepting customer requests" refers to an interface or device for receiving requests or wishes from customers as input.
[1329] The "means for recognizing customer emotions" refers to a device or program for determining the emotional state of a customer by analyzing the customer's tone of voice, facial expression, behavioral patterns, etc.
[1330] A "means for adjusting the format of a bill or statement based on recognized emotions" is a device or program that has the function of changing the content or format of a bill or statement depending on the customer's emotional state.
[1331] As an embodiment of the present invention, we will explain a "smart invoice generation system" that supports customer service in brick-and-mortar stores. This system has the function of automatically generating formats for invoices and statements according to customer requests and adjusting the format by recognizing the customer's emotions.
[1332] System Configuration
[1333] The system consists of the following main components:
[1334] 1. Interface to receive customer requests:
[1335] The company provides an interface for customers to select the format and content of their invoices and statements using a smartphone application.
[1336] The interface uses multiple choice prompts to efficiently gather customer requirements.
[1337] 2. Emotion Recognition Engine:
[1338] The smartphone camera is used to capture the customer's facial expressions and an emotion recognition library is used to recognize the customer's emotions.
[1339] It also analyzes the customer's tone of voice and behavioral patterns to determine their overall emotions.
[1340] 3. Invoice generation engine:
[1341] Use the invoice generation library to auto-generate optimal invoices and statements based on customer desires and perceived sentiment.
[1342] The generated invoices and statements can be displayed on a smartphone screen or sent to the customer via email.
[1343] Processing flow
[1344] 1. Accepting customer requests:
[1345] The customer launches a smartphone application and selects the format and content of the invoice or statement.
[1346] Use multiple choice prompts to gather details about your customer's needs.
[1347] 2. Emotion Recognition:
[1348] The smartphone camera is used to capture the customer's facial expressions and recognize their emotions using an emotion recognition library.
[1349] It also analyzes the customer's tone of voice and behavioral patterns to determine their overall emotions.
[1350] 3. Invoice generation and provision:
[1351] Use the invoice generation library to generate optimal invoices and statements based on customer desires and perceived sentiment.
[1352] The generated invoices and statements can be displayed on a smartphone screen or sent to the customer via email.
[1353] Hardware and Software Used
[1354] Hardware: Smartphone camera
[1355] Software: OpenCV (image processing library), emotion recognition library, invoice generation library
[1356] Examples
[1357] For example, if a customer requests a "detailed invoice" and the emotion engine recognizes "dissatisfied," the system will generate an invoice with more detailed items and explanations.
[1358] Examples of prompt statements
[1359] “If a customer asks for a detailed invoice and the sentiment engine recognises dissatisfaction, what kind of invoice do you generate?”
[1360] In this way, customer service in physical stores can be made more personalized, improving customer satisfaction.
[1361] The flow of the specific process in the application example 1 will be described with reference to FIG.
[1362] Step 1:
[1363] The user launches a smartphone application and selects the format and content of the invoice or statement.
[1364] Input: User's choice (invoice format and content)
[1365] Output: Selected desired data
[1366] What happens: The user interacts with the application interface and selects the format and content of the invoice through multiple-choice prompts. The selected data is then stored within the application.
[1367] Step 2:
[1368] The device uses the smartphone camera to capture the customer's facial expressions and recognizes the emotions using an emotion recognition library.
[1369] Input: Customer facial expression image
[1370] Output: Recognized emotion data
[1371] Specific operation: The device camera captures the customer's facial expression and sends the image data to the emotion recognition library. The library analyzes the image data and recognizes the customer's emotion (e.g., joy, dissatisfaction, anger, etc.).
[1372] Step 3:
[1373] The server receives customer request data and recognized emotion data and uses an invoice generation library to generate optimal invoices and statements.
[1374] Input: Customer request data, recognized emotion data
[1375] Output: Generated invoice and statement data
[1376] Specific operation: The server calls the invoice generation library to generate invoices and statements based on the customer's request data and emotion data. For example, if the customer wants a detailed invoice and the emotion is dissatisfaction, the library will generate an invoice with more detailed items and descriptions.
[1377] Step 4:
[1378] The server then displays the generated invoice or statement on the smartphone screen or sends it to the customer via email.
[1379] Input: Generated invoice and statement data
[1380] Output: Invoice displayed and email sent
[1381] Specific operation: The server sends the generated invoice or statement data to a smartphone application, which displays it on the screen, or the server sends the invoice or statement to the customer as an email.
[1382] In this way, the system can provide optimal invoices and statements based on customer needs and emotions, improving customer satisfaction.
[1383] Example 2
[1384] Next, a second embodiment of the second form 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".
[1385] Conventional systems require manual work or RPA to generate invoices and statements, which is time-consuming and inefficient. In addition, they are unable to provide services that reflect the emotions of customers, making it difficult to improve customer satisfaction.
[1386] 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.
[1387] In this invention, the server includes a means for automatically generating a format of an invoice or statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for recognizing a user's emotion, and a means for adjusting the format of the invoice or statement based on the recognized emotion, thereby making it possible to reduce in-house administrative man-hours and improve customer satisfaction.
[1388] "A means for automatically generating invoice and statement formats in accordance with customer requests" refers to a function for automatically creating invoices and statements based on the format and content specified by the customer.
[1389] "Means for providing generated invoices and statements" refers to a function for providing automatically generated invoices and statements to customers.
[1390] "Means for accepting customer requests" means an interface that enables a customer to input or select the format and content of the invoice or statement that he or she desires.
[1391] "Means for recognizing the user's emotions" refers to a function for analyzing the user's tone of voice, facial expressions, behavioral patterns, etc. to determine the user's emotional state.
[1392] "Means for adjusting the format of a bill or statement based on recognized emotions" refers to a function for dynamically changing the content or format of a bill or statement depending on the user's emotional state.
[1393] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[1394] This invention is a system aimed at reducing in-house administrative man-hours and improving customer satisfaction. Specifically, it has the function of automatically generating invoices and statements, and the function of recognizing the user's emotions to optimize services.
[1395] Hardware and Software Used
[1396] Hardware: Servers, user devices (PCs, smartphones, tablets, etc.)
[1397] Software: Emotion engine, invoice and statement automatic generation program, user interface (UI)
[1398] System Overview
[1399] 1. User Input
[1400] A user accesses the system's interface using a terminal.
[1401] The user selects the format and content of the invoice or statement.
[1402] 2. Emotion Recognition
[1403] The server uses an emotion engine to analyze the user's tone of voice, facial expressions, and behavioral patterns.
[1404] The emotion engine recognizes the user's emotions.
[1405] 3. Data processing and calculation
[1406] The server then adjusts the formatting of invoices and statements based on the recognized emotions.
[1407] For example, if the user indicates anger or frustration, the server will generate a more detailed statement.
[1408] If the user indicates happiness or satisfaction, the server maintains the current format.
[1409] 4. Providing results
[1410] The server provides automatically generated bills and statements to the user.
[1411] The increased speed of delivery also leads to increased user satisfaction.
[1412] Examples
[1413] Example 1: An angry tone of voice when the user is selecting an invoice format
[1414] The server uses an emotion engine to recognize anger from the user's tone of voice.
[1415] The server automatically generates a more detailed bill and provides it to the user.
[1416] Example 2: Facial expression showing satisfaction as the user selects the invoice content
[1417] The server uses an emotion engine to recognize the satisfaction from the user's facial expression.
[1418] The server automatically generates a statement that maintains the current format and provides it to the user.
[1419] Examples of prompt statements
[1420] Prompt 1: "How would the system respond if the user's tone of voice indicates anger when selecting an invoice format?"
[1421] Prompt 2: "If the user's facial expression indicates satisfaction while selecting the item on the statement, how should the system respond?"
[1422] In this way, the system provides optimal services according to the user's emotions, reducing in-house administrative workload and improving customer satisfaction.
[1423] The flow of the identification process in the second embodiment will be described with reference to FIG.
[1424] Step 1:
[1425] A user accesses the system's interface using a terminal.
[1426] Specifically, the user opens a browser or a dedicated app and enters their user ID and password on the login screen.
[1427] Input: User ID, Password
[1428] Output: User authentication success or failure.
[1429] Step 2:
[1430] The user selects the format and content of the invoice or statement.
[1431] As a specific operation, the user selects the required item using a drop-down menu or check boxes.
[1432] Input: Select the format and content of your invoice or statement
[1433] Output: Data in the selected format and content
[1434] Step 3:
[1435] The server uses an emotion engine to analyze the user's tone of voice, facial expressions, and behavioral patterns.
[1436] Specifically, the server analyzes the audio data and camera footage sent from the terminal in real time.
[1437] Input: Audio data, camera footage
[1438] Output: The user's emotional state (anger, happiness, frustration, etc.)
[1439] Step 4:
[1440] The emotion engine recognizes the user's emotions.
[1441] Specifically, the emotion engine uses voice analysis algorithms and facial recognition technology to determine the user's emotional state.
[1442] Input: Audio data, camera footage
[1443] Output: Recognized emotion data
[1444] Step 5:
[1445] The server then adjusts the formatting of bills and statements based on the recognized emotions.
[1446] Specifically, the server dynamically changes the contents of the invoice or statement using a template engine based on the emotion data obtained from the emotion engine.
[1447] Input: Recognized emotion data, selected format and content data
[1448] Output: Reconciled invoice and statement data
[1449] Step 6:
[1450] The server provides automatically generated bills and statements to the user.
[1451] Specifically, the server generates the generated invoice or statement in PDF format and provides a download link to the user's device.
[1452] Input: Reconciled invoice or statement data
[1453] Output: PDF invoices and statements, download links
[1454] Step 7:
[1455] The user can review the invoices and statements provided and download them if necessary.
[1456] As a specific operation, the user clicks on the provided download link and downloads the PDF file.
[1457] Input:Download link
[1458] Output: Downloaded invoices and statements in PDF format
[1459] (Application example 2)
[1460] 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".
[1461] Conventional invoice and statement generation systems were unable to take into account customer emotions, making it difficult to improve customer satisfaction. In addition, manual or RPA-based operations required a lot of in-house administrative work, making efficient operation difficult. Furthermore, it was difficult to resolve customer dissatisfaction because the systems were unable to respond flexibly to customer emotions.
[1462] 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.
[1463] In this invention, the server includes a means for automatically generating a format of an invoice or statement in accordance with a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for recognizing the customer's emotion, and a means for adjusting the format of the invoice or statement based on the recognized emotion. This makes it possible to provide an optimal invoice or statement in accordance with the customer's emotion, thereby improving customer satisfaction and reducing in-house administrative man-hours.
[1464] "Means for automatically generating invoice and statement formats in accordance with customer requests" refers to a function for automatically creating invoices and statements based on the format and content specified by the customer.
[1465] The "means for providing generated invoices and statements" is a function for providing automatically generated invoices and statements to customers.
[1466] "Means for accepting customer requests" refers to a function for receiving requests or instructions from customers and carrying out processing based on them.
[1467] "Means for recognizing customer emotions" refers to a function for analyzing the customer's tone of voice, facial expressions, behavioral patterns, etc. to identify the customer's emotions.
[1468] The "means for adjusting the format of an invoice or statement based on the recognized emotions" is a function for changing the content or format of an invoice or statement according to the emotions of a customer.
[1469] The system for implementing the present invention uses the following hardware and software: smart glasses (with a camera) are used as the hardware, and OpenCV, a face recognition framework, and PDF generation software are used as the software.
[1470] The server captures the customer's face through the camera of the smart glasses. The captured frames are processed using OpenCV and analyze the customer's emotions using a facial recognition framework. Based on the results of the sentiment analysis, a PDF generation software is used to generate the invoice or statement.
[1471] Specifically, the server performs the process in the following procedure.
[1472] 1. Capture the customer's face with the smart glasses camera.
[1473] 2. Take the captured frames using OpenCV and analyze the emotions using a facial recognition framework.
[1474] 3. Use PDF generation software to generate receipts or statements based on the analysis.
[1475] 4. Generate a detailed statement if the customer is dissatisfied or a concise receipt if the customer is satisfied.
[1476] For example, if the customer is dissatisfied, generate a detailed invoice with detailed items such as Item A: 1000 yen, Item B: 2000 yen, Item C: 1500 yen. On the other hand, if the customer is satisfied, generate a concise receipt with concise information such as Total: 4500 yen.
[1477] An example of a prompt is as follows:
[1478] "If the customer is unhappy, generate a detailed bill. For example, product A: 1000 yen, product B: 2000 yen, product C: 1500 yen."
[1479] “If the customer is satisfied, generate a simple receipt, e.g. Total: 4500 yen.”
[1480] This makes it possible to provide optimal invoices and statements that reflect customer sentiment, thereby improving customer satisfaction and reducing in-house administrative workload.
[1481] The flow of the specific process in the application example 2 will be described with reference to FIG.
[1482] Step 1:
[1483] The server captures the customer's face through the camera of the smart glasses. The input is the video data from the camera, and the output is the captured frame. In concrete terms, the camera captures the video in real time and transmits the video data to the server.
[1484] Step 2:
[1485] The server uses OpenCV to take the captured frames and perform image processing. The input is the captured frame and the output is the processed image data. Specifically, OpenCV analyzes the frame and identifies the face region.
[1486] Step 3:
[1487] The server analyzes the customer's emotions from the processed image data using a facial recognition framework. The input is the processed image data, and the output is the result of the emotion analysis. In particular, the facial recognition framework extracts facial features and classifies emotions.
[1488] Step 4:
[1489] The server generates invoices and statements using PDF generation software based on the results of the sentiment analysis. The inputs are the results of the sentiment analysis and the customer's purchase data, and the output is the generated PDF file. In concrete terms, the PDF generation software creates invoices and statements in a format that corresponds to the sentiment.
[1490] Step 5:
[1491] The server provides the generated PDF file to the customer. The input is the generated PDF file, and the output is the invoice or statement provided to the customer. The specific action is to send the PDF file to the customer via email or printer.
[1492] This makes it possible to provide optimal invoices and statements that reflect customer sentiment, thereby improving customer satisfaction and reducing in-house administrative workload.
[1493] The specific processing unit 290 transmits the result of the specific processing to the headset type terminal 314. In the headset type terminal 314, the control unit 46A causes the speaker 240 and the display 343 to output the result of the specific processing. The microphone 238 acquires voice indicating a user input for the result of the specific processing. The control unit 46A transmits voice 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 voice data.
[1494] 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 making a neural network perform deep learning. A prompt including an instruction is input to the data generation model 58, and inference data such as voice data indicating a voice, text data indicating a text, and image data indicating an image is input. The data generation model 58 performs inference on the input inference data according to 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.
[1495] Another example of generative AI is Gemini (Internet search <url: https: gemini.google.com ?hl="ja">) are mentioned.
[1496] In the above embodiment, an example was given in which the specific processing is performed by the data processing device 12, but the technology of the present disclosure is not limited to this, and the specific processing may be performed by the headset type terminal 314.
[1497] [Fourth embodiment]
[1498] FIG. 7 shows an example of the configuration of a data processing system 410 according to the fourth embodiment.
[1499] 7, a data processing system 410 includes a data processing device 12 and a robot 414. An example of the data processing device 12 is a server.
[1500] 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 wide area network (WAN) and / or a local area network (LAN).
[1501] The robot 414 includes a computer 36, a microphone 238, a speaker 240, a camera 42, a communication I / F 44, and a control target 443. 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. In addition, the microphone 238, the speaker 240, the camera 42, and the control target 443 are also connected to the bus 52.
[1502] 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 the voice according to instructions from the processor 46.
[1503] Camera 42 is a small digital camera equipped with an optical system including a lens, an aperture, and a 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 (e.g., an imaging range defined by an angle of view equivalent to the width of the field of vision of an average healthy person).
[1504] The communication I / F 44 is connected to a network 54. The communication I / Fs 44 and 26 are responsible for transmitting and receiving various types of information between the processor 46 and the processor 28 via the network 54. The transmission and reception of various types of information between the processor 46 and the processor 28 using the communication I / Fs 44 and 26 is performed in a secure state.
[1505] The control target 443 includes a display device, LEDs in the eyes, and motors for driving the arms, hands, legs, etc. The posture and behavior of the robot 414 are controlled by controlling the motors of the arms, hands, legs, etc. Some of the emotions of the robot 414 can be expressed by controlling these motors. In addition, the facial expressions of the robot 414 can also be expressed by controlling the light emission state of the LEDs in the eyes of the robot 414.
[1506] Fig. 8 shows an example of main functions of the data processing device 12 and the robot 414. As shown in Fig. 8, 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.
[1507] 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.
[1508] 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.
[1509] In the robot 414, 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.
[1510] Next, the specific processing by the specific processing unit 290 of the data processing device 12 will be described.
[1511] "Example 1"
[1512] One embodiment of the present invention is a system for automatically generating invoice and statement formats according to customer requests. The system has an interface for receiving requests from a customer, and the interface receives the customer's request using a selection prompt. For example, the customer selects the format and content of the invoice through the prompt, and the system automatically generates the invoice based on the selection. The generated invoice is provided to the customer via email or a website.
[1513] "Example 2"
[1514] Furthermore, as another embodiment of the present invention, the system has a function of reducing in-house administrative man-hours and improving customer satisfaction. Specifically, the system reduces the number of manual and RPA-based work hours by automatically generating invoices and statements. In addition, the system improves customer satisfaction by improving the speed at which automatically generated invoices and statements are provided.
[1515] The process flow of each embodiment will be described below.
[1516] "Example 1"
[1517] Step 1: The customer selects the format and content of the invoice or statement through the system interface.
[1518] Step 2: The system auto-generates invoice and statement formats based on customer selection.
[1519] Step 3: Provide the generated invoice or statement to the customer via email or website.
[1520] "Example 2"
[1521] Step 1: The system will start generating invoices and statements automatically, reducing the number of manual and RPA-assisted tasks.
[1522] Step 2: Improve the speed at which the system delivers automatically generated invoices and statements.
[1523] Step 3: Increased speed of delivery leads to increased customer satisfaction.
[1524] Example 1
[1525] Next, a description will be given of Example 1 of the embodiment 1. In the following description, the data processing device 12 will be referred to as a "server" and the robot 414 will be referred to as a "terminal".
[1526] The traditional process of creating invoices and statements required a lot of manual work, which was time-consuming and labor-intensive, leading to problems such as increased in-house administrative workload and reduced customer satisfaction. Another issue was the difficulty in customizing the system to meet customer requests, and the lack of flexibility. To solve these problems, a system that can automatically generate invoices and statements efficiently and flexibly and provide them quickly is needed.
[1527] 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.
[1528] In this invention, the server includes a means for automatically generating a format of an invoice or statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for accepting a customer's request using a multiple-choice prompt, a means for automatically generating an invoice or statement using a generative AI model, and a means for providing the generated invoice or statement via email or a website. This enables the automatic generation of invoices and statements according to customer requests, thereby reducing in-house administrative man-hours and improving customer satisfaction.
[1529] "Means for automatically generating invoice and statement formats in accordance with customer requests" refers to a function that automatically creates the layout and design of invoices and statements based on the format and content specified by the customer.
[1530] "Means for providing generated invoices and statements" refers to a function for delivering generated invoices and statements to customers, which is provided via email or a website.
[1531] "Means for accepting customer requests" is a function that provides an interface for customers to input or select the format and content of their desired invoices and statements.
[1532] The "means for accepting customer requests using a multiple-choice prompt" is a function that allows a customer to input requests in the form of selecting a desired item from multiple options.
[1533] "Means of automatically generating invoices and statements using generative AI models" refers to a function that uses artificial intelligence technology to automatically generate optimal invoices and statements based on customer selections.
[1534] "Means of providing generated invoices and statements via email or website" refers to the function of sending generated invoices and statements by email or making them available for download on a website.
[1535] The present invention is a system for automatically generating formats for invoices and statements in accordance with customer requests and providing the generated invoices and statements. A specific embodiment of this system will be described below.
[1536] System Configuration
[1537] The server has the following features:
[1538] 1. The ability to automatically generate invoice and statement formats according to customer requests.
[1539] 2. Ability to provide generated invoices and statements.
[1540] 3. Ability to provide an interface to accept customer requests.
[1541] 4. Ability to accept customer requests using multiple choice prompts.
[1542] 5. The ability to auto-generate invoices and statements using generative AI models.
[1543] 6. Ability to provide generated invoices and statements via email and / or website.
[1544] Hardware and Software Used
[1545] Hardware:
[1546] Server: A server with a powerful processor and sufficient memory.
[1547] Device: A user device such as a PC, smartphone, or tablet.
[1548] software:
[1549] Front-end technologies: HTML, CSS, JavaScript, React.
[1550] Backend Technologies: Python, Django, Flask.
[1551] AI model libraries: TensorFlow, PyTorch.
[1552] Data format: JSON.
[1553] Sending mail: SMTP server.
[1554] Web server: Apache.
[1555] PDF Generation: A PDF generation library.
[1556] System Operation
[1557] Users access the system's interface through a web browser or mobile app. The interface displays multiple-choice prompts that allow users to select from the following options:
[1558] Templates:Simple, Business, Creative.
[1559] Fonts: Font A, Font B, Font C.
[1560] Color:Blue,Red,Green.
[1561] Item alignment: left, center, right.
[1562] Examples:
[1563] A user opens a web browser and accesses the bill generation system interface. The user selects the following options:
[1564] Template:Simple
[1565] Font: Font A
[1566] Color: Blue
[1567] Item Alignment: Left
[1568] Once the user has completed their selections, the terminal converts these selections into JSON format and sends them to the server using an HTTP POST request. The server uses the received data and a generative AI model to automatically generate an invoice that best suits the selections. The generated invoice is saved in PDF format and sent to the user's email address using an SMTP server. Users can also download the invoice from the website.
[1569] Example prompt:
[1570] "Choose an invoice template (e.g. Simple, Business, Creative)."
[1571] "Please select a font (ex: Font A, Font B, Font C)."
[1572] "Choose a color (e.g. blue, red, green)."
[1573] "Choose the alignment for the item (e.g. left, center, right)."
[1574] In this way, it becomes possible to automatically generate invoices and statements in response to customer requests, reducing in-house administrative workload and improving customer satisfaction.
[1575] The flow of the identification process in the first embodiment will be described with reference to FIG.
[1576] Step 1:
[1577] View the interface
[1578] The server displays an interface on a device, such as a web browser or a mobile app, where the interface includes multiple-choice prompts.
[1579] Input: The server generates the interface using HTML, CSS, JavaScript, React, or other front-end technologies.
[1580] Output: The interface displayed on the terminal.
[1581] What it does: The server generates the HTML code for the webpage, applies styles with CSS, and displays dynamic prompts with JavaScript and React.
[1582] Step 2:
[1583] Accept the customer's selection
[1584] The user selects the format and content of the invoice on the interface, including the invoice template, fonts, colors, and item placement.
[1585] Input: What the user selects on the interface.
[1586] Output: The user's selections are saved to the device.
[1587] Specific behavior: The user selects each item using the drop-down menus and / or radio buttons and clicks the "Submit" button.
[1588] Step 3:
[1589] Sending Data
[1590] The terminal transmits the user's selection to the server.
[1591] Input: User selections are converted to JSON format.
[1592] Output: The JSON data to be sent to the server.
[1593] Specific behavior: The device converts the selection into JSON format and sends it to the server using an HTTP POST request.
[1594] Step 4:
[1595] Data processing and invoice generation
[1596] The server generates an invoice format based on the received data, using a generative AI model to automatically generate the best format for the selections made.
[1597] Input: The JSON data sent to the server.
[1598] Output: A PDF or HTML file of the generated invoice.
[1599] How it works: The server uses AI model libraries such as Python, TensorFlow, and PyTorch to generate an invoice based on the user's selections, and saves the invoice in PDF or HTML format.
[1600] Step 5:
[1601] Providing invoices
[1602] The server provides the generated invoice to the customer via email or a website.
[1603] Input: The generated invoice PDF or HTML file.
[1604] Output: The invoice provided to the customer.
[1605] What it does: The server uses an SMTP server to send the generated invoice to the user's email address, and also uses a web server (such as Apache) to allow the user to download the invoice from the website.
[1606] (Application example 1)
[1607] 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 robot 414 will be referred to as a "terminal".
[1608] Conventional invoice and statement generation systems had the problem that it was difficult to customize them to meet customer requests and required a lot of manual work, which increased administrative work hours and reduced customer satisfaction. In addition, there was a lack of convenient systems that used smartphone applications.
[1609] 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. In this invention, the server includes a means for automatically generating a format of an invoice or a statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for being installed in a smartphone application, a means for accepting a customer's request using a selection prompt, and a means for providing the generated invoice by email or within the app. This makes it easy to customize according to customer's request, reducing administrative man-hours and improving customer satisfaction.
[1610] "Means for automatically generating invoice or statement formats in accordance with customer requests" refers to a device or software that has the function of automatically creating invoices or statements based on the format and content specified by the customer.
[1611] The "means for providing generated invoices and statements" refers to a device or software having a function for providing automatically generated invoices and statements to customers.
[1612] The "means for accepting customer requests" refers to a device or software having an interface for receiving requests or instructions from customers.
[1613] "Means to be installed in a smartphone application" refers to a device or software having a function that is incorporated into an application that runs on a smartphone.
[1614] A "means for accepting a customer request using a multiple-choice prompt" is a device or software having an interface that allows a customer to input a request in the form of selecting an option.
[1615] "Means for providing a generated invoice by email or within an app" means a device or software that has the function of sending an automatically generated invoice by email or displaying it within an application.
[1616] A system for implementing the present invention is for automatically generating a format of an invoice or statement according to a customer's request and providing the generated invoice or statement. The system includes a means for accepting the customer's request, a means for being installed in a smartphone application, a means for accepting the customer's request using a selection prompt, and a means for providing the generated invoice by email or within the app.
[1617] Hardware and Software Used
[1618] Server: Uses the Flask framework to provide the web interface.
[1619] Smartphone: A device for running applications.
[1620] software:
[1621] Flask (Python web framework)
[1622] PDF generation library (library for converting HTML to PDF)
[1623] Template engine (Flask template engine)
[1624] Data processing and calculation
[1625] 1. Data entry: The user selects the invoice format and content via a smartphone app. Options are provided using multiple-choice prompts.
[1626] 2. Data processing: The server receives the user selection using the Flask application and generates the invoice in HTML format using a template engine.
[1627] 3. Data Conversion: The server converts the generated HTML to PDF using a PDF generation library.
[1628] 4. Data output: The generated PDF can be sent via email or viewed within the app.
[1629] Examples
[1630] A user opens a smartphone app and selects the following options:
[1631] Customer Name: Taro Yamada
[1632] Purchased products: Product A, Product B
[1633] Total amount: 5000 yen
[1634] Examples of prompt statements
[1635] Please enter customer name: Taro Yamada
[1636] Please select the product you wish to purchase: Product A, Product B
[1637] Please enter the total amount: 5000 yen
[1638] When the user enters information according to these prompts, the server automatically generates a customized invoice and provides it in PDF format. This makes it easy to customize invoices according to customer requests, reducing administrative work and improving customer satisfaction.
[1639] The flow of the specific process in the application example 1 will be described with reference to FIG.
[1640] Step 1:
[1641] A user starts the smartphone app and accesses the interface for generating an invoice. The user inputs the necessary information according to the prompts. Specifically, the user inputs information such as the customer name, purchased items, and the total amount. The input data is temporarily stored in the application.
[1642] Step 2:
[1643] The terminal transmits the information entered by the user to the server, including the customer name, the purchased item, the total price, etc. The server analyzes the received data and stores it in the appropriate format.
[1644] Step 3:
[1645] The server processes the received data using a Flask application, using a template engine to generate an HTML invoice based on the information entered by the user, by embedding the data in a template file.
[1646] Step 4:
[1647] The server converts the generated HTML to PDF using a PDF generation library, which takes HTML content and converts it to PDF format. The converted PDF is temporarily stored on the server.
[1648] Step 5:
[1649] The server provides the generated PDF to the user, either by sending it via email or displaying it within the smartphone app. The user can then download the PDF within the app or receive it via email.
[1650] Step 6:
[1651] The user can review the generated PDF and save or print it as needed, resulting in a customized invoice in front of their eyes.
[1652] Example 2
[1653] Next, a second embodiment of the second embodiment will be described. In the following description, the data processing device 12 will be referred to as a "server" and the robot 414 will be referred to as a "terminal".
[1654] Traditionally, the process of creating invoices and statements was often done manually or using RPA, which required a lot of man-hours and slow delivery speed. This could lead to a decrease in customer satisfaction. Furthermore, invoice and statement formats were often not flexible enough to meet customer requests.
[1655] 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.
[1656] In this invention, the server includes a means for acquiring billing information and customer information from a database, a means for formatting the acquired data and converting it into an invoice or statement format, a means for automatically generating invoices and statements using a generative AI model, and a means for converting the generated invoices and statements into PDF format and sending them to customers by email. This automates the process of creating invoices and statements, reducing labor hours and improving the speed of providing them. In addition, it is possible to provide invoices and statements in a flexible format according to customer requests, which is expected to improve customer satisfaction.
[1657] A "database" is a system for systematically organizing information and efficiently searching and managing it.
[1658] "Billing information" is data regarding the amount and items to be billed to a customer.
[1659] "Customer information" is data that includes basic information such as a customer's name, address, and contact details.
[1660] "Formatting" is the process of converting acquired data into a particular format.
[1661] "Format" refers to the form or structure of data or a document.
[1662] A "generative AI model" is an algorithm or system that uses artificial intelligence to generate text or data.
[1663] A "prompt" is an instruction or question that is input into a generative AI model.
[1664] "PDF format" is an abbreviation for Portable Document Format, a file format for electronically storing and displaying documents.
[1665] An "SMTP server" is a server for sending and receiving e-mail using the Simple Mail Transfer Protocol.
[1666] "Man-hours" is a unit of time or effort required for a task or project.
[1667] "Customer satisfaction" is an indicator of the level of satisfaction a customer feels toward a service or product provided.
[1668] The present invention is a system for reducing in-house administrative man-hours and improving customer satisfaction through the automatic generation of invoices and statements. A specific embodiment of this system will be described below.
[1669] The server first retrieves billing and customer information from a database, for example MySQL, and then executes an SQL query to extract the required data.
[1670] The server then formats the data and converts it into an invoice or statement format using a Python script, converts the data into JSON format, and creates prompts to feed into the generative AI model.
[1671] The server uses a generative AI model (e.g., OpenAI's GPT-4) to automatically generate invoices and statements based on the formatted data. The following is an example of a prompt sentence to be input to the generative AI model:
[1672] Example prompt:
[1673] Customer Name: Taro Yamada
[1674] Billing date: October 1, 2023
[1675] Charge details:
[1676] Product A: 10,000 yen
[1677] Product B: 5,000 yen
[1678] Total price: 15,000 yen
[1679] Please use the above information to generate your invoice.
[1680] The generative AI model generates an invoice based on this prompt. The generated invoice is converted to PDF format by the server. For example, a Python PDF conversion library is used to convert to PDF format.
[1681] Finally, the server will email the generated invoice to the customer using an SMTP server. The server will create an email with a PDF invoice as an attachment and send it to the customer via the SMTP server.
[1682] The system automates the invoice and statement creation process, reducing the number of manual and RPA-based tasks, and improves customer satisfaction by increasing the speed of delivery. In addition, the system uses generative AI models to provide invoices and statements in flexible formats according to customer requests.
[1683] The flow of the identification process in the second embodiment will be described with reference to FIG.
[1684] Step 1:
[1685] The server retrieves billing and customer information from a database.
[1686] Input: Database connection information, SQL query
[1687] What happens: The server connects to a database (e.g. MySQL) and runs SQL queries to extract billing and customer information.
[1688] Output: A dataset of extracted billing and customer information
[1689] Step 2:
[1690] The server formats the retrieved data and converts it into an invoice or statement format.
[1691] Input: Extracted billing and customer information dataset
[1692] What it does: The server uses a Python script to convert the data into JSON format and format it appropriately for invoices and statements.
[1693] Output: Pretty-printed JSON data
[1694] Step 3:
[1695] The server automatically generates invoices and statements using generative AI models.
[1696] Input: Formatted JSON data, prompt text
[1697] How it works: The server inputs prompt text into a generative AI model (e.g., OpenAI's GPT-4) to generate invoices and statements.
[1698] Output: Generated invoice or statement text data
[1699] Step 4:
[1700] The server converts the generated invoices and statements into PDF format.
[1701] Input: Text data of generated invoices and statements
[1702] Specific operation: The server uses a Python library to convert text data into PDF format.
[1703] Output: PDF invoices and statements
[1704] Step 5:
[1705] The server then emails the generated invoices and statements to the customer.
[1706] Input: PDF invoice or statement, customer email address
[1707] What happens: The server uses an SMTP server to create an email with a PDF invoice as the body and attachment, and sends it to the customer.
[1708] Output: Email sent to customer with attached PDF invoice
[1709] (Application example 2)
[1710] 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 robot 414 will be referred to as a "terminal".
[1711] Conventional methods for generating invoices and statements involve a lot of manual work or RPA, which increases in-house administrative man-hours and slows down the speed at which they are provided to customers. It is also difficult to quickly provide invoices and statements in the format requested by customers, making it difficult to improve customer satisfaction. To solve these issues, there is a need for a more efficient and faster method for generating and providing invoices and statements.
[1712] 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.
[1713] In this invention, the server includes a means for automatically generating formats for invoices and statements according to customer requests, a means for providing the generated invoices and statements, a means for accepting customer requests, a means for automatically generating invoices and statements from order data using a generative AI model, and a means for providing invoices and statements via an application installed on a smartphone. This makes it possible to reduce in-house administrative man-hours and improve customer satisfaction.
[1714] "Means for automatically generating invoice and statement formats in accordance with customer requests" refers to a device or program that has the function of automatically creating the format and content of invoices and statements based on customer requests and conditions.
[1715] A "means for providing a generated invoice or statement" is a device or program having the function of transmitting or displaying an automatically generated invoice or statement to a customer.
[1716] The "means for accepting customer requests" refers to a device or program that provides an interface for inputting or selecting requests or conditions from the customer.
[1717] A "means for automatically generating invoices and statements from order data using a generative AI model" refers to a device or program that has the function of utilizing a generative AI model to automatically create invoices and statements based on input order data.
[1718] "Means for providing invoices and statements via an application installed on a smartphone" refers to a device or program that has the function of sending or displaying generated invoices and statements to customers via an application installed on a smartphone.
[1719] "Reducing internal administrative workload" refers to reducing the time and effort spent on administrative work carried out within a company.
[1720] "Improving customer satisfaction" refers to increasing the level of satisfaction that customers feel toward the services and products provided.
[1721] In order to implement the present invention, the following system configuration and program are required.
[1722] System Configuration
[1723] 1. Hardware
[1724] Smartphone: A device that allows users to check bills and statements.
[1725] Server: A computer system that runs generative AI models and automatically generates invoices and statements.
[1726] 2. Software
[1727] Generative AI models: AI models for automatically generating invoices and statements from order data (e.g., OpenAI’s GPT-3).
[1728] Smartphone application: An application that allows users to check invoices and statements and take necessary actions.
[1729] Server-side program: A program that calls the generative AI model and provides the generated invoices and statements to a smartphone application.
[1730] Program processing explanation
[1731] The server receives the order data and automatically generates invoices and statements using a generative AI model. Specifically, it performs the following processes:
[1732] 1. Data Entry
[1733] The server receives the order data sent by the user, which includes the order number, customer name, product details, total amount, etc.
[1734] 2. Prompt Generation
[1735] The server creates a prompt for the generative AI model based on the received order data. An example of the prompt is as follows:
[1736] Order data: {"order_id": "12345", "customer_name": "Yamada Taro", "items": [{"name": "Product A", "quantity": 2, "price": 1000}, {"name": "Product B", "quantity": 1, "price": 2000}], "total": 4000}
[1737] Generate an invoice based on this order data.
[1738] 3. AI model invocation
[1739] The server calls a generative AI model (e.g., OpenAI's GPT-3) and sends prompts, which generate invoices or statements based on the prompts.
[1740] 4. Output
[1741] The server receives the generated invoice or statement and sends it to the smartphone application, through which the user can check the invoice or statement.
[1742] Examples
[1743] For example, if the following order data is entered:
[1744] Order data: {"order_id": "12345", "customer_name": "Yamada Taro", "items": [{"name": "Product A", "quantity": 2, "price": 1000}, {"name": "Product B", "quantity": 1, "price": 2000}], "total": 4000}
[1745] The generative AI model will generate an invoice that looks like this:
[1746] invoice
[1747] Order number: 12345
[1748] Customer Name: Taro Yamada
[1749] Product details:
[1750] 1. Product A - Quantity: 2, Unit price: 1000 yen, Subtotal: 2000 yen
[1751] 2. Product B - Quantity: 1, Unit price: 2000 yen, Subtotal: 2000 yen
[1752] Total price: 4000 yen
[1753] In this way, the server can use the generative AI model to quickly and accurately generate invoices and statements from order data and provide them to users via smartphone applications, reducing in-house administrative workload and improving customer satisfaction.
[1754] The flow of the specific process in the application example 2 will be described with reference to FIG.
[1755] Step 1:
[1756] The server receives the order data sent by the user. The order data includes the order number, customer name, product details, total price, etc. The input data is in JSON format, which the server parses and converts into its internal data structure. The output is the parsed order data.
[1757] Step 2:
[1758] The server creates a prompt for the generative AI model based on the parsed order data. Specifically, it converts the order data into text format and formats it in a format that the generative AI model can understand. The input is the parsed order data, and the output is the prompt text to send to the generative AI model.
[1759] Step 3:
[1760] The server calls a generative AI model (e.g., OpenAI's GPT-3) and sends a prompt. The generative AI model generates an invoice or statement based on the prompt. The input is the prompt, and the output is the text of the generated invoice or statement.
[1761] Step 4:
[1762] The server receives the generated invoice or statement and sends it to the smartphone application, specifically converting the generated text into an appropriate format so that it can be viewed by the user. The input is the generated invoice or statement text and the output is the data sent to the smartphone application.
[1763] Step 5:
[1764] The user checks the invoice or statement through a smartphone application. The application displays the data received from the server and allows the user to perform the necessary operations. The input is the invoice or statement data sent from the server, and the output is the invoice or statement displayed on the user's screen.
[1765] In addition, 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.
[1766] "Example 1"
[1767] As an embodiment of the present invention, a system incorporating an emotion engine is provided. The system includes an emotion engine that recognizes emotions from a user's tone of voice, facial expression, behavioral patterns, etc. Specifically, when a user selects the format and content of an invoice or statement through the system's interface, the emotion engine analyzes the user's tone of voice, facial expression, behavioral patterns, etc. to recognize the user's emotion. The system then adjusts the format of the invoice or statement based on the recognized emotion. For example, if the user shows anger or dissatisfaction, the system resolves the user's dissatisfaction by providing a more detailed statement. Also, if the user shows joy or satisfaction, the system maintains the current format. In this way, the system can provide optimal services according to the user's emotions and improve customer satisfaction.
[1768] "Example 2"
[1769] As an embodiment of the present invention, a system incorporating an emotion engine is provided. The system includes an emotion engine that recognizes emotions from a user's tone of voice, facial expression, behavioral patterns, etc. Specifically, when a user selects the format and content of an invoice or statement through the system's interface, the emotion engine analyzes the user's tone of voice, facial expression, behavioral patterns, etc. to recognize the user's emotion. The system then adjusts the format of the invoice or statement based on the recognized emotion. For example, if the user shows anger or dissatisfaction, the system resolves the user's dissatisfaction by providing a more detailed statement. Also, if the user shows joy or satisfaction, the system maintains the current format. In this way, the system can provide optimal services according to the user's emotions and improve customer satisfaction.
[1770] The process flow of each embodiment will be described below.
[1771] "Example 1"
[1772] Step 1: The user selects the format and content of the invoice or statement through the system interface.
[1773] Step 2: The emotion engine analyzes the user's tone of voice, facial expressions, behavioral patterns, etc. to recognize the user's emotions.
[1774] Step 3: The system adjusts the format of the bill or statement based on the recognized emotion. For example, if the user indicates anger or frustration, the system will resolve the user's frustration by providing a more detailed statement. If the user indicates happiness or satisfaction, the system will maintain the current format.
[1775] Example 1
[1776] Next, a description will be given of Example 1 of the embodiment 1. In the following description, the data processing device 12 will be referred to as a "server" and the robot 414 will be referred to as a "terminal".
[1777] Conventional invoice and statement generation systems can automatically generate formats according to customer requests, but they do not take into account customer feelings, so customer satisfaction is not sufficiently improved. In addition, there are limited options when accepting customer requests, making it difficult to respond flexibly. Furthermore, the reduction of in-house administrative man-hours has not been sufficiently achieved.
[1778] 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.
[1779] In this invention, the server includes a means for automatically generating a format of an invoice or statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for recognizing a user's emotion, and a means for adjusting the format of the invoice or statement based on the recognized emotion. This makes it possible to provide an optimal invoice or statement according to the customer's emotion, thereby improving customer satisfaction and reducing in-house administrative man-hours.
[1780] "A means for automatically generating invoice and statement formats in accordance with customer requests" refers to a function for automatically creating invoices and statements based on the format and content specified by the customer.
[1781] "Means of providing generated invoices and statements" refers to the ability to send or display generated invoices and statements to customers via email or a website.
[1782] "Means for accepting customer requests" refers to a function that provides an interface for customers to input or select the format and content of their desired invoices or statements.
[1783] "Means for recognizing the user's emotions" refers to a function for analyzing the user's tone of voice, facial expressions, behavioral patterns, etc., and determining the user's emotional state.
[1784] "Means for adjusting the format of a bill or statement based on the recognized emotion" refers to a function for changing the content or format of a bill or statement depending on the user's emotional state.
[1785] This invention is a system that automatically generates formats for bills and statements according to customer requests, and further adjusts the formats by recognizing the user's emotions. This system operates in cooperation with a server, a terminal, and a user.
[1786] The server executes a program for automatically generating a format of an invoice or statement according to a customer's request. This program includes an interface for accepting a customer's request, an emotion engine, and a function for providing the generated invoice or statement. Specifically, the server displays a selection prompt and receives the user's selection. Furthermore, the emotion engine is used to analyze the user's tone of voice, facial expression, and behavioral patterns to recognize the user's emotion.
[1787] A terminal is a device through which a user accesses an interface. For example, a PC or a smartphone. The user uses the terminal to access the system through a web browser or a dedicated application and makes selections in response to prompts.
[1788] The user selects the format and content of the invoice or statement through the system interface. For example, if the user selects "detailed statement," the server automatically generates an invoice based on that selection. In addition, as the user makes a selection, the emotion engine analyzes the user's tone of voice and facial expressions in real time to recognize the user's emotions.
[1789] As a concrete example, consider a scenario where a user selects the format of an invoice: If the user selects "detailed statement" through the interface and the emotion engine detects dissatisfaction in the user's tone of voice, the server will generate a detailed statement and send it to the user via email.
[1790] Example prompt:
[1791] "Choose your invoice format: 1. Simple 2. Detailed"
[1792] "Please select the invoice content: 1. Product name only 2. Product name and price 3. Product name, price and quantity"
[1793] In this way, the server can provide optimal bills and statements based on the user's choices and emotions, improving customer satisfaction and reducing in-house administrative workload.
[1794] The flow of the identification process in the first embodiment will be described with reference to FIG.
[1795] Step 1:
[1796] The user accesses the interface.
[1797] A user uses a terminal to access the system interface through a web browser or a dedicated application. For example, a user opens a web browser such as Google Chrome and accesses a specified URL. The input is the user's access request, and the output is the display of the interface.
[1798] Step 2:
[1799] The server displays the prompt.
[1800] The server displays a prompt in the interface accessed by the user. The prompt contains options for selecting the format and content of the invoice or statement. For example, a prompt such as "Please select the format of your invoice: 1. Simple 2. Detailed" is displayed. The input is the user's access information, and the output is the display of the prompt.
[1801] Step 3:
[1802] The user makes a choice in response to a prompt.
[1803] The user makes a choice in response to a displayed prompt, for example clicking "2" to select "Details." The input is the user's choice in response to the prompt, and the output is the submission of the choice.
[1804] Step 4:
[1805] The server receives the selection and activates the emotion engine.
[1806] The server receives the user's selection and activates the emotion engine based on that information. The emotion engine starts to collect the data necessary to analyze the user's tone of voice, facial expressions, and behavioral patterns. The input is the user's selection, and the output is the activation of the emotion engine.
[1807] Step 5:
[1808] The emotion engine analyzes the user's emotions.
[1809] The emotion engine analyzes the user's tone of voice, facial expressions, and behavioral patterns in real time. For example, if the user's tone of voice when selecting "Details" indicates anger, the emotion engine sends that information to the server as the analysis result. The input is the user's tone of voice and facial expression data, and the output is the emotion analysis result.
[1810] Step 6:
[1811] The server generates invoice and statement formats based on the analysis results.
[1812] The server receives the analysis results from the emotion engine and generates the invoice or statement format based on it. For example, if the user is angry, the server generates a more detailed statement. The input is the emotion analysis result and the user's selection, and the output is the generated invoice or statement.
[1813] Step 7:
[1814] The server provides generated bills and statements to the user.
[1815] The server provides the generated invoice or statement to the user via email or a website. For example, it sends the generated detailed statement in PDF format to the user's email address. It also provides a link for the user to download it on the website. The input is the generated invoice or statement and the output is the presentation to the user.
[1816] (Application example 1)
[1817] 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 robot 414 will be referred to as a "terminal".
[1818] Conventional invoice and statement generation systems can provide formats according to customer requests, but do not adjust the format to take into account the customer's emotions. As a result, it is not possible to respond appropriately when a customer feels dissatisfied or anxious, which can lead to a decrease in customer satisfaction. In addition, in physical stores, there is a demand for efficient customer service, and flexible responses that respond to emotions are necessary.
[1819] 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.
[1820] In this invention, the server includes a means for automatically generating a format of an invoice or statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for recognizing the customer's emotion, and a means for adjusting the format of the invoice or statement based on the recognized emotion. This makes it possible to provide an optimal invoice or statement according to the customer's emotion, thereby improving customer satisfaction and making it possible to efficiently handle customer inquiries in physical stores.
[1821] "Means for automatically generating invoice and statement formats in accordance with customer requests" refers to a device or program that has the function of automatically creating invoices and statements based on the format and content specified by the customer.
[1822] A "means for providing a generated invoice or statement" is a device or program that has the functionality for displaying, transmitting, or printing a generated invoice or statement to a customer.
[1823] The "means for accepting customer requests" refers to an interface or device for receiving requests or wishes from customers as input.
[1824] The "means for recognizing customer emotions" refers to a device or program for determining the emotional state of a customer by analyzing the customer's tone of voice, facial expression, behavioral patterns, etc.
[1825] A "means for adjusting the format of a bill or statement based on recognized emotions" is a device or program that has the function of changing the content or format of a bill or statement depending on the customer's emotional state.
[1826] As an embodiment of the present invention, we will explain a "smart invoice generation system" that supports customer service in brick-and-mortar stores. This system has the function of automatically generating formats for invoices and statements according to customer requests and adjusting the format by recognizing the customer's emotions.
[1827] System Configuration
[1828] The system consists of the following main components:
[1829] 1. Interface to receive customer requests:
[1830] The company provides an interface for customers to select the format and content of their invoices and statements using a smartphone application.
[1831] The interface uses multiple choice prompts to efficiently gather customer requirements.
[1832] 2. Emotion Recognition Engine:
[1833] The smartphone camera is used to capture the customer's facial expressions and an emotion recognition library is used to recognize the customer's emotions.
[1834] It also analyzes the customer's tone of voice and behavioral patterns to determine their overall emotions.
[1835] 3. Invoice generation engine:
[1836] Use the invoice generation library to auto-generate optimal invoices and statements based on customer desires and perceived sentiment.
[1837] The generated invoices and statements can be displayed on a smartphone screen or sent to the customer via email.
[1838] Processing flow
[1839] 1. Accepting customer requests:
[1840] The customer launches a smartphone application and selects the format and content of the invoice or statement.
[1841] Use multiple choice prompts to gather details about your customer's needs.
[1842] 2. Emotion Recognition:
[1843] The smartphone camera is used to capture the customer's facial expressions and recognize their emotions using an emotion recognition library.
[1844] It also analyzes the customer's tone of voice and behavioral patterns to determine their overall emotions.
[1845] 3. Invoice generation and provision:
[1846] Use the invoice generation library to generate optimal invoices and statements based on customer desires and perceived sentiment.
[1847] The generated invoices and statements can be displayed on a smartphone screen or sent to the customer via email.
[1848] Hardware and Software Used
[1849] Hardware: Smartphone camera
[1850] Software: OpenCV (image processing library), emotion recognition library, invoice generation library
[1851] Examples
[1852] For example, if a customer requests a "detailed invoice" and the emotion engine recognizes "dissatisfied," the system will generate an invoice with more detailed items and explanations.
[1853] Examples of prompt statements
[1854] “If a customer asks for a detailed invoice and the sentiment engine recognises dissatisfaction, what kind of invoice do you generate?”
[1855] In this way, customer service in physical stores can be made more personalized, improving customer satisfaction.
[1856] The flow of the specific process in the application example 1 will be described with reference to FIG.
[1857] Step 1:
[1858] The user launches a smartphone application and selects the format and content of the invoice or statement.
[1859] Input: User's choice (invoice format and content)
[1860] Output: Selected desired data
[1861] What happens: The user interacts with the application's interface and selects the format and content of the invoice through multiple-choice prompts. The selected data is then stored within the application.
[1862] Step 2:
[1863] The device uses the smartphone camera to capture the customer's facial expressions and recognizes the emotions using an emotion recognition library.
[1864] Input: Customer facial expression image
[1865] Output: Recognized emotion data
[1866] Specific operation: The device camera captures the customer's facial expression and sends the image data to the emotion recognition library. The library analyzes the image data and recognizes the customer's emotion (e.g., joy, dissatisfaction, anger, etc.).
[1867] Step 3:
[1868] The server receives customer request data and recognized emotion data and uses an invoice generation library to generate optimal invoices and statements.
[1869] Input: Customer request data, recognized emotion data
[1870] Output: Generated invoice and statement data
[1871] Specific operation: The server calls the invoice generation library to generate invoices and statements based on the customer's request data and emotion data. For example, if the customer wants a detailed invoice and the emotion is dissatisfaction, the library will generate an invoice with more detailed items and explanations.
[1872] Step 4:
[1873] The server then displays the generated invoice or statement on the smartphone screen or sends it to the customer via email.
[1874] Input: Generated invoice and statement data
[1875] Output: Invoice displayed and email sent
[1876] Specific operation: The server sends the generated invoice or statement data to a smartphone application, which displays it on the screen, or the server sends the invoice or statement to the customer as an email.
[1877] In this way, the system can provide optimal invoices and statements based on customer needs and emotions, improving customer satisfaction.
[1878] Example 2
[1879] Next, a second embodiment of the second embodiment will be described. In the following description, the data processing device 12 will be referred to as a "server" and the robot 414 will be referred to as a "terminal".
[1880] Conventional systems require manual work or RPA to generate invoices and statements, which is time-consuming and inefficient. In addition, they are unable to provide services that reflect the emotions of customers, making it difficult to improve customer satisfaction.
[1881] 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.
[1882] In this invention, the server includes a means for automatically generating a format of an invoice or statement according to a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for recognizing a user's emotion, and a means for adjusting the format of the invoice or statement based on the recognized emotion, thereby making it possible to reduce in-house administrative man-hours and improve customer satisfaction.
[1883] "A means for automatically generating invoice and statement formats in accordance with customer requests" refers to a function for automatically creating invoices and statements based on the format and content specified by the customer.
[1884] "Means for providing generated invoices and statements" refers to a function for providing automatically generated invoices and statements to customers.
[1885] "Means for accepting customer requests" means an interface that enables a customer to input or select the format and content of the invoice or statement that he or she desires.
[1886] "Means for recognizing the user's emotions" refers to a function for analyzing the user's tone of voice, facial expressions, behavioral patterns, etc. to determine the user's emotional state.
[1887] "Means for adjusting the format of a bill or statement based on recognized emotions" refers to a function for dynamically changing the content or format of a bill or statement depending on the user's emotional state.
[1888] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[1889] This invention is a system aimed at reducing in-house administrative man-hours and improving customer satisfaction. Specifically, it has the function of automatically generating invoices and statements, and the function of recognizing the user's emotions to optimize services.
[1890] Hardware and Software Used
[1891] Hardware: Servers, user devices (PCs, smartphones, tablets, etc.)
[1892] Software: Emotion engine, invoice and statement automatic generation program, user interface (UI)
[1893] System Overview
[1894] 1. User Input
[1895] A user accesses the system's interface using a terminal.
[1896] The user selects the format and content of the invoice or statement.
[1897] 2. Emotion Recognition
[1898] The server uses an emotion engine to analyze the user's tone of voice, facial expressions, and behavioral patterns.
[1899] The emotion engine recognizes the user's emotions.
[1900] 3. Data processing and calculation
[1901] The server then adjusts the formatting of invoices and statements based on the recognized emotions.
[1902] For example, if the user indicates anger or frustration, the server will generate a more detailed statement.
[1903] If the user indicates happiness or satisfaction, the server maintains the current format.
[1904] 4. Providing results
[1905] The server provides automatically generated bills and statements to the user.
[1906] The increased speed of delivery also leads to increased user satisfaction.
[1907] Examples
[1908] Example 1: An angry tone of voice when the user is selecting an invoice format
[1909] The server uses an emotion engine to recognize anger from the user's tone of voice.
[1910] The server automatically generates a more detailed bill and provides it to the user.
[1911] Example 2: Facial expression showing satisfaction as the user selects the invoice content
[1912] The server uses an emotion engine to recognize the satisfaction from the user's facial expression.
[1913] The server automatically generates a statement that maintains the current format and provides it to the user.
[1914] Examples of prompt statements
[1915] Prompt 1: "How would the system respond if the user's tone of voice indicates anger when selecting an invoice format?"
[1916] Prompt 2: "If the user's facial expression indicates satisfaction while selecting the item on the statement, how should the system respond?"
[1917] In this way, the system provides optimal services according to the user's emotions, reducing in-house administrative workload and improving customer satisfaction.
[1918] The flow of the identification process in the second embodiment will be described with reference to FIG.
[1919] Step 1:
[1920] A user accesses the system's interface using a terminal.
[1921] Specifically, the user opens a browser or a dedicated app and enters their user ID and password on the login screen.
[1922] Input: User ID, Password
[1923] Output: User authentication success or failure.
[1924] Step 2:
[1925] The user selects the format and content of the invoice or statement.
[1926] As a specific operation, the user selects the required item using a drop-down menu or check boxes.
[1927] Input: Select the format and content of your invoice or statement
[1928] Output: Data in the selected format and content
[1929] Step 3:
[1930] The server uses an emotion engine to analyze the user's tone of voice, facial expressions, and behavioral patterns.
[1931] Specifically, the server analyzes the audio data and camera footage sent from the terminal in real time.
[1932] Input: Audio data, camera footage
[1933] Output: The user's emotional state (anger, happiness, frustration, etc.)
[1934] Step 4:
[1935] The emotion engine recognizes the user's emotions.
[1936] Specifically, the emotion engine uses voice analysis algorithms and facial recognition technology to determine the user's emotional state.
[1937] Input: Audio data, camera footage
[1938] Output: Recognized emotion data
[1939] Step 5:
[1940] The server then adjusts the formatting of invoices and statements based on the recognized emotions.
[1941] Specifically, the server dynamically changes the contents of the invoice or statement using a template engine based on the emotion data obtained from the emotion engine.
[1942] Input: Recognized emotion data, selected format and content data
[1943] Output: Reconciled invoice and statement data
[1944] Step 6:
[1945] The server provides automatically generated bills and statements to the user.
[1946] Specifically, the server generates the generated invoice or statement in PDF format and provides a download link to the user's device.
[1947] Input: Reconciled invoice or statement data
[1948] Output: PDF invoices and statements, download links
[1949] Step 7:
[1950] The user can review the invoices and statements provided and download them if necessary.
[1951] As a specific operation, the user clicks on the provided download link and downloads the PDF file.
[1952] Input:Download link
[1953] Output: Downloaded invoices and statements in PDF format
[1954] (Application example 2)
[1955] 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 robot 414 will be referred to as a "terminal".
[1956] Conventional invoice and statement generation systems were unable to take into account customer emotions, making it difficult to improve customer satisfaction. In addition, manual or RPA-based operations required a lot of in-house administrative work, making efficient operation difficult. Furthermore, it was difficult to resolve customer dissatisfaction because the systems were unable to respond flexibly to customer emotions.
[1957] 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.
[1958] In this invention, the server includes a means for automatically generating a format of an invoice or statement in accordance with a customer's request, a means for providing the generated invoice or statement, a means for accepting a customer's request, a means for recognizing the customer's emotion, and a means for adjusting the format of the invoice or statement based on the recognized emotion. This makes it possible to provide an optimal invoice or statement in accordance with the customer's emotion, thereby improving customer satisfaction and reducing in-house administrative man-hours.
[1959] "Means for automatically generating invoice and statement formats in accordance with customer requests" refers to a function for automatically creating invoices and statements based on the format and content specified by the customer.
[1960] The "means for providing generated invoices and statements" is a function for providing automatically generated invoices and statements to customers.
[1961] "Means for accepting customer requests" refers to a function for receiving requests or instructions from customers and carrying out processing based on them.
[1962] "Means for recognizing customer emotions" refers to a function for analyzing the customer's tone of voice, facial expressions, behavioral patterns, etc. to identify the customer's emotions.
[1963] The "means for adjusting the format of an invoice or statement based on the recognized emotions" is a function for changing the content or format of an invoice or statement according to the emotions of a customer.
[1964] The system for implementing the present invention uses the following hardware and software: smart glasses (with a camera) are used as the hardware, and OpenCV, a face recognition framework, and PDF generation software are used as the software.
[1965] The server captures the customer's face through the camera of the smart glasses. The captured frames are processed using OpenCV and analyze the customer's emotions using a facial recognition framework. Based on the results of the sentiment analysis, a PDF generation software is used to generate the invoice or statement.
[1966] Specifically, the server performs the process in the following procedure.
[1967] 1. Capture the customer's face with the smart glasses camera.
[1968] 2. Take the captured frames using OpenCV and analyze the emotions using a facial recognition framework.
[1969] 3. Use PDF generation software to generate receipts or statements based on the analysis.
[1970] 4. Generate a detailed statement if the customer is dissatisfied or a concise receipt if the customer is satisfied.
[1971] For example, if the customer is dissatisfied, generate a detailed invoice with detailed items such as Item A: 1000 yen, Item B: 2000 yen, Item C: 1500 yen. On the other hand, if the customer is satisfied, generate a concise receipt with concise information such as Total: 4500 yen.
[1972] An example of a prompt is as follows:
[1973] "If the customer is unhappy, generate a detailed bill. For example, product A: 1000 yen, product B: 2000 yen, product C: 1500 yen."
[1974] “If the customer is satisfied, generate a simple receipt, e.g. Total: 4500 yen.”
[1975] This makes it possible to provide optimal invoices and statements that reflect customer sentiment, thereby improving customer satisfaction and reducing in-house administrative workload.
[1976] The flow of the specific process in the application example 2 will be described with reference to FIG.
[1977] Step 1:
[1978] The server captures the customer's face through the camera of the smart glasses. The input is the video data from the camera, and the output is the captured frame. In concrete terms, the camera captures the video in real time and transmits the video data to the server.
[1979] Step 2:
[1980] The server uses OpenCV to take the captured frames and perform image processing. The input is the captured frame and the output is the processed image data. Specifically, OpenCV analyzes the frame and identifies the face region.
[1981] Step 3:
[1982] The server analyzes the customer's emotions from the processed image data using a facial recognition framework. The input is the processed image data, and the output is the result of the emotion analysis. In particular, the facial recognition framework extracts facial features and classifies emotions.
[1983] Step 4:
[1984] The server generates invoices and statements using PDF generation software based on the results of the sentiment analysis. The inputs are the results of the sentiment analysis and the customer's purchase data, and the output is the generated PDF file. In concrete terms, the PDF generation software creates invoices and statements in a format that corresponds to the sentiment.
[1985] Step 5:
[1986] The server provides the generated PDF file to the customer. The input is the generated PDF file, and the output is the invoice or statement provided to the customer. The specific action is to send the PDF file to the customer via email or printer.
[1987] This makes it possible to provide optimal invoices and statements that reflect customer sentiment, thereby improving customer satisfaction and reducing in-house administrative workload.
[1988] The specific processing unit 290 transmits the result of the specific processing to the robot 414. In the robot 414, the control unit 46A causes the speaker 240 and the control target 443 to output the result of the specific processing. The microphone 238 acquires a voice indicating a user input for the result of the specific processing. The control unit 46A transmits voice 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 voice data.
[1989] 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 making a neural network perform deep learning. A prompt including an instruction is input to the data generation model 58, and inference data such as voice data indicating a voice, text data indicating a text, and image data indicating an image is input. The data generation model 58 performs inference on the input inference data according to 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.
[1990] Another example of generative AI is Gemini (Internet search <url: https: gemini.google.com ?hl="ja">) are mentioned.
[1991] In the above embodiment, an example was given in which the specific process was performed by the data processing device 12, but the technology of the present disclosure is not limited to this, and the specific process may be performed by the robot 414.
[1992] The emotion identification model 59 as an emotion engine may determine the emotion of the user according to a specific mapping. Specifically, the emotion identification model 59 may determine the emotion of the user according to an emotion map (see FIG. 9), which is a specific mapping. Similarly, the emotion identification model 59 may determine the emotion of the robot, and the identification processing unit 290 may perform identification processing using the emotion of the robot.
[1993] FIG. 9 is a diagram showing an emotion map 400 on which multiple emotions are mapped. In the emotion map 400, emotions are arranged in concentric circles radiating from the center. The closer to the center of the concentric circles, the more primitive emotions are arranged. The more outside the concentric circles, the more emotions that represent states and actions that arise from a state of mind are arranged. Emotions are a concept that includes emotions and mental states. On the left side of the concentric circles, emotions that are generally generated from reactions that occur in the brain are arranged. On the right side of the concentric circles, emotions that are generally induced by situational judgment are arranged. On the upper and lower sides of the concentric circles, emotions that are generally generated from reactions that occur in the brain and are induced by situational judgment are arranged. In addition, on the upper side of the concentric circles, emotions of "pleasure" are arranged, and on the lower side, emotions of "discomfort" are arranged. In this way, in the emotion map 400, multiple emotions are mapped based on the structure in which emotions are generated, and emotions that tend to occur simultaneously are mapped close to each other.
[1994] These emotions are distributed in the 3 o'clock direction of emotion map 400 and usually fluctuate between relief and anxiety. In the right half of emotion map 400, situational awareness dominates over internal sensations, resulting in a sense of calm.
[1995] The inside of emotion map 400 represents what is going on inside one's mind, and the outside of emotion map 400 represents behavior, so the further out you go on emotion map 400, the more visible the emotions become (the more they are expressed in behavior).
[1996] Here, human emotions are based on various balances such as posture and blood sugar level, and when these balances are far from the ideal, it indicates an unpleasant state, and when they are close to the ideal, it indicates a pleasant state. Emotions can also be created for robots, cars, motorcycles, etc., based on various balances such as posture and battery level, so that when these balances are far from the ideal, it indicates an unpleasant state, and when they are close to the ideal, it indicates a pleasant state. The emotion map may be generated, for example, based on the emotion map of Dr. Mitsuyoshi (Research on speech emotion recognition and emotion brain physiological signal analysis system, Tokushima University, doctoral dissertation: https: / / ci.nii.ac.jp / naid / 500000375379). On the left half of the emotion map, emotions belonging to an area called "reaction" where sensation is dominant are lined up. On the right half of the emotion map, emotions belonging to an area called "situation" where situation recognition is dominant are lined up.
[1997] The emotion map defines two emotions that promote learning. The first is the negative emotion around the middle of "repentance" or "remorse" on the situation side. In other words, this is when the robot experiences negative emotions such as "I never want to feel this way again" or "I don't want to be scolded again." The other is the positive emotion around "desire" on the response side. In other words, this is when the robot has positive feelings such as "I want more" or "I want to know more."
[1998] The emotion identification model 59 inputs the user input to a pre-trained neural network, obtains emotion values indicating each emotion shown in the emotion map 400, and determines the emotion of the user. This neural network is pre-trained based on multiple learning data that are combinations of the user input and emotion values indicating each emotion shown in the emotion map 400. Furthermore, this neural network is trained so that emotions that are located close to each other have similar values, as in the emotion map 900 shown in Fig. 10. Fig. 10 shows an example in which multiple emotions, "relief," "calm," and "encouraging," have similar emotion values.
[1999] In the above embodiment, an example was given in which a specific process is performed by one computer 22, but the technology disclosed herein is not limited to this, and distributed processing of the specific process may be performed by multiple computers, including computer 22.
[2000] In the above embodiment, an example in which the specific processing program 56 is stored in the storage 32 has been described, but the technology of the present disclosure is not limited to this. For example, the specific processing program 56 may be stored in a portable computer-readable non-transitory storage medium such as a Universal Serial Bus (USB) memory. The specific processing program 56 stored in the non-transitory storage medium is installed in the computer 22 of the data processing device 12. The processor 28 executes the specific processing in accordance with the specific processing program 56.
[2001] In addition, the specific processing program 56 may be stored in a storage device such as a server connected to the data processing device 12 via the network 54, and the specific processing program 56 may be downloaded and installed on the computer 22 upon request from the data processing device 12.
[2002] It is not necessary to store all of the specific processing program 56 in a storage device such as a server connected to the data processing device 12 via the network 54, or to store all of the specific processing program 56 in the storage 32; only a portion of the specific processing program 56 may be stored.
[2003] As the hardware resource for executing the specific process, various processors as shown below can be used. An example of the processor is a CPU, which is a general-purpose processor that functions as a hardware resource for executing the specific process by executing software, i.e., a program. Another example of the processor is a dedicated electric circuit, which is a processor having a circuit configuration designed exclusively for executing the specific process, such as a Field-Programmable Gate Array (FPGA), a Programmable Logic Device (PLD), or an Application Specific Integrated Circuit (ASIC). Each processor has a built-in or connected memory, and each processor executes the specific process by using the memory.
[2004] The hardware resource that executes the specific process may be one of these various processors, or may be a combination of two or more processors of the same or different types (for example, a combination of multiple FPGAs, or a combination of a CPU and an FPGA). Also, the hardware resource that executes the specific process may be a single processor.
[2005] As an example of a configuration using one processor, first, one processor is configured by combining one or more CPUs and software, and this processor functions as a hardware resource that executes a specific process. Second, there is a configuration using a processor that realizes the functions of the entire system including multiple hardware resources that execute a specific process on a single IC chip, as typified by SoC (System-on-a-chip). In this way, a specific process is realized using one or more of the above-mentioned various processors as hardware resources.
[2006] Furthermore, more specifically, the hardware structure of these various processors can be an electric circuit that combines circui...
Claims
1. A means for receiving a user request; means for generating a transaction document format according to a request from the user; means for recognizing an emotion of the user; means for adjusting a format of the transaction document based on the recognized sentiment of the user; means for providing said reconciled transaction documents; A system including:
2. said receiving means receiving said user's request using a multiple-choice prompt; The system of claim 1 .
3. the providing means converting the transaction document into an electronic document and transmitting the converted electronic document to the user; The system of claim 1 .
Citation Information
Patent Citations
Behavior analysis method and apparatus
JP2012000449A
Information processing device, information processing method, and program
JP2021117995A
Persona chatbot control method and system
JP2022180282A