LLM API Task Execution for Natural Language Data Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Users lack the skills to perform sophisticated data analyses using complex data analysis tools and struggle to interact with data sources through Application Programming Interfaces (APIs) due to overwhelming complexity and the need for multiple function calls.

Innovation Solution

Utilizing Large Language Models (LLMs) to determine and execute API calls based on natural language queries, simplifying the interaction with data sources by generating and executing API calls to provide answers to user queries.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If data analysis tools provide sophisticated analysis capabilities, then analysis power is improved, but user interface complexity increases making tools unusable for average users

Engineering Contradiction:
Improveanalysis capabilityVSAvoiduser interface complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent introduces a natural language processing intermediary layer between the user and the complex data analysis tools. Users can interact with the system using simple natural language queries instead of dealing with complex interfaces, while the intermediary translates these queries into appropriate API calls and analysis operations. This mediator handles the complexity internally while presenting a simple interface to users.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If API specifications provide detailed function calls and parameters, then data access capability is improved, but task execution difficulty increases for end users

Engineering Contradiction:
Improvedata access capabilityVSAvoidtask execution difficulty
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The system implements self-service by automatically generating and executing the appropriate API calls based on user intent. Instead of requiring users to manually construct complex API calls with multiple parameters and function calls, the system autonomously analyzes the user's natural language query, determines the necessary API operations, and executes them without user intervention. This allows the system to leverage detailed API specifications while maintaining ease of use.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20250377941A1Execution of API-based tasks using generative ai
Publication Date: 2025.12.11 SAP SE
  • US20250377941A1 patent drawing
  • US20250377941A1 patent drawing
  • US20250377941A1 patent drawing

AI summary

Systems and methods include reception of a natural language query of a data source, generation of a first prompt to prompt determination of a plan to respond to the query, receiving the plan from a text generation model in response to the first prompt, generation of a second prompt to prompt determination of an API call and a parsing instruction, the second prompt including the plan, reception of the API call and the parsing instruction from the model in response to the second prompt, reception of a response to the API call from the data source, generation of a third prompt to prompt determination of a parsed response, the third prompt including the response and the parsing instruction, reception of the parsed response from the model in response to the third prompt, and determination of an answer to the query based on the parsed response.