Chat-to-API Program Generation for Low-Code Customization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Users face challenges in customizing application functions with low or no codes, as existing services limit customization capabilities and lack assurance of correct operation even with manual code entry.

Innovation Solution

An information processing system intervenes between users and a generative AI system to facilitate function customization by converting chat messages into API calls, generating program code based on user inputs, and integrating it into application services.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If users manually enter program codes to customize application functions, then customization capability is improved, but operation complexity and risk of incorrect operation increase

Engineering Contradiction:
Improvecustomization capabilityVSAvoidoperation complexity
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The patent introduces an information processing system as an intermediary between the user and the generative AI system. This intermediary converts user chat messages into properly formatted API calls, manages function execution requests, and handles program code generation. The system includes components such as a chat controller that transmits messages to the AI system, receives responses, and processes function calls, thereby shielding users from the complexity of direct code manipulation while maintaining customization capability.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system enables users to customize application functions through natural language chat messages without requiring manual code entry. The generative AI system automatically generates appropriate program codes based on user intentions expressed in chat messages, and the information processing system executes these codes seamlessly. This self-service approach allows users to achieve customization goals without dealing with complex coding operations.

Inventive Principle:
Principle #25Self-service

2Ease of operation

If existing services provide low-code or no-code customization, then ease of operation is improved, but customization capability and reliability are reduced

Engineering Contradiction:
Improveease of customizationVSAvoidcustomization capability
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The patent changes the parameter of user input from requiring code knowledge to accepting natural language chat messages. The system transforms these high-level user intentions into detailed program codes with appropriate parameters and structures. This parameter change allows users with no coding knowledge to access full customization capabilities, as the AI system handles the translation from simple chat messages to complex program implementations.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent replaces the mechanical system of manual code writing and debugging with an automated AI-based system. Instead of users directly manipulating code syntax and structure, the generative AI system automatically generates, executes, and manages program codes based on user chat messages. This substitution eliminates the need for users to understand programming mechanics while maintaining full customization capability.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Productivity

If the system generates and executes program codes automatically, then productivity is improved, but system complexity increases

Engineering Contradiction:
Improveprogram code generation efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the system into distinct functional components: a chat controller for message transmission and response reception, a function execution manager for handling API calls, and a program code generator for creating executable code. Each component has a specific responsibility, allowing the complex task of automated code generation and execution to be divided into manageable segments that can be developed, maintained, and debugged independently.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20250291561A1Information processing apparatus, program generation system, and program generation method
Publication Date: 2025.09.18 RICOH CO LTD
  • US20250291561A1 patent drawing
  • US20250291561A1 patent drawing
  • US20250291561A1 patent drawing

AI summary

An information processing apparatus communicably connected with a terminal apparatus and a generative artificial intelligence (AI) system via a network, which includes circuitry that: transmits, to the generative AI system, a chat message received from the terminal apparatus, setting information related to generation of a program code, and information for calling a function; receives a request from the generative AI system, the request being transmitted by the generative AI system based on the chat message, the setting information, and the information for calling the function; and with execution of the function, generates the program code related to the request based on a parameter included in the request.