Self-Correcting LLM Action Invocation for Reliable Data Payloads

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Integration of large language models (LLMs) into user applications results in operational inefficiencies due to malformed database queries, missing image data, or incomplete plotting instructions, leading to manual troubleshooting and prompt modification.

Innovation Solution

A self-correcting loop involving an LLM-powered search engine and a correction LLM that validates and corrects responses, ensuring data payloads are complete and correctly formatted through iterative validation and prompt generation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If LLMs are integrated into user applications to enable natural language queries and automated operations, then productivity and ease of operation are improved, but reliability deteriorates due to malformed data, missing images, or incomplete instructions

Engineering Contradiction:
Improveautomated operationsVSAvoiddata correctness
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system implements a feedback mechanism where the validation module checks LLM responses for correctness and completeness, and the correction module uses this feedback to generate refined prompts that ask the LLM to regenerate only the problematic portions, ensuring reliable data output while maintaining automated operation

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The validation module performs preliminary checking of LLM responses before they are used to execute operations, identifying and correcting malformed data or missing elements in advance to ensure reliability without delaying the automated workflow

Inventive Principle:
Principle #10Preliminary action

2Reliability

If manual troubleshooting and prompt modification are used to correct LLM errors, then reliability is improved, but productivity and ease of operation deteriorate

Engineering Contradiction:
Improveerror correctionVSAvoidmanual intervention
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system performs self-service by automatically detecting validation errors in LLM responses and generating corrected prompts without human intervention, allowing the system to correct its own errors and maintain both reliability and productivity

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The validation module provides automatic feedback on LLM response quality, enabling the correction module to iteratively refine prompts and regenerate only the problematic portions, eliminating the need for manual troubleshooting while ensuring reliable output

Inventive Principle:
Principle #23Feedback

3Reliability

If iterative validation and correction loops are implemented, then reliability is improved, but device complexity increases

Engineering Contradiction:
Improveresponse accuracyVSAvoidvalidation loop structure
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system segments the validation and correction process into distinct modular components: a validation module that checks responses, a correction module that generates refined prompts, and a regeneration mechanism that updates only problematic portions, reducing overall complexity while maintaining iterative improvement

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The correction module focuses on local quality by generating prompts that target only the specific problematic portions of the LLM response rather than regenerating the entire output, making the iterative validation loop more efficient and less complex

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS20260079968A1Self-correcting large language model-based action invocation for a conversational interface
Publication Date: 2026.03.19 SCHLUMBERGER TECH CORP
  • US20260079968A1 patent drawing
  • US20260079968A1 patent drawing
  • US20260079968A1 patent drawing

AI summary

An LLM-powered search engine receives a natural language query from a conversational interface. The conversational interface is a first section of a user interface. The LLM-powered search engine generates a first response including a natural language summary, a data payload and an action recommendation. The data payload is validated with respect to the action recommendation to obtain a validation result. If the validation result is an error result, a correction LLM generates a correction prompt based on the error result and the first response. The LLM-powered search engine processes the correction prompt to generate a second response. A second data payload of the second response is validated with respect to a second action recommendation of the second response, to obtain a second validation result.