Composite Entity Prompt Templates for Chatbot Data Validation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing chatbot systems face challenges in efficiently obtaining and validating user-provided data items, leading to complex dialog flows and user frustration.

Innovation Solution

A chatbot system is configured to invoke a composite entity within a dialog flow, allowing separate configuration of data item acquisition and validation rules, enabling efficient and flexible data item collection without overcomplicating the dialog flow.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the chatbot prompts the user for each data item individually through complex dialog flows, then all necessary data items can be obtained, but the dialog flow becomes overly complex and user interaction becomes frustrating

Engineering Contradiction:
Improvedata item acquisition completenessVSAvoiddialog flow complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the data item acquisition process into separate, independently configurable prompt templates for each data item. Instead of managing complex dialog flow states, each data item has its own template that can be configured separately, reducing the overall complexity of the dialog flow while maintaining the ability to obtain all necessary data items reliably

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces prompt templates as an intermediary layer between the dialog flow and data item collection. These templates serve as pre-configured intermediaries that handle the specifics of prompting for individual data items, allowing the main dialog flow to remain simple while still achieving complete data item acquisition through the template mediation

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If custom code is written for data handling and validation, then data item acquisition can be tailored to specific needs, but the overall system complexity increases and maintenance becomes difficult

Engineering Contradiction:
Improvedata handling flexibilityVSAvoidsystem complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent enables prompt templates to be configured and validated without requiring custom code. The system provides self-service capabilities where designers can configure data item prompts, validation rules, and handling logic through declarative template definitions, eliminating the need for custom code while maintaining flexibility and adaptability

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent uses parameter-based configuration in prompt templates to achieve adaptability. Instead of custom code, the system changes parameters within the template structure (such as data item names, validation rules, prompt text) to tailor data handling to specific needs, maintaining flexibility while reducing system complexity

Inventive Principle:
Principle #35Parameter changes

3Manufacturing precision

If data item validation is performed within the dialog flow, then data quality can be ensured, but the dialog flow state management becomes overly complicated

Engineering Contradiction:
Improvedata qualityVSAvoidstate management complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent extracts data validation logic from the dialog flow state management into separate prompt templates. Validation rules are defined independently within each template, allowing data quality to be ensured without complicating the dialog flow state management, as the validation occurs at the template level rather than requiring complex state transitions

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS12373648B2Composite entity for rule driven acquisition of input data to chatbots
Publication Date: 2025.07.29 ORACLE INT CORP
  • US12373648B2 patent drawing
  • US12373648B2 patent drawing
  • US12373648B2 patent drawing

AI summary

The present disclosure relates to chatbot systems, and more particularly, to techniques for obtaining data items for input to a chatbot. In certain embodiments, a chatbot system includes a component that can be invoked by a chatbot in the chatbot system to obtain data items needed by the chatbot. The component can be invoked based on a reference to the component in a dialog flow definition configured for the chatbot. The reference to the component can indicate a composite entity that the component will use to determine how the data items are obtained from a user. The composite entity acts as a container for the data items and may be configured separately from the dialog flow definition of the chatbot. The data items can be obtained based on rules specified in a composite entity definition configured for the composite entity.