LogoLogo
API Documentation
Current Version
Current Version
  • DecisionRules Documentation
  • DecisionRules Academy
  • API
    • API Introduction
    • API Keys
      • Solver API Keys
      • Management API keys
      • BI API keys
    • Rule Solver API
    • Management API
      • Rule Migration Strategies
      • Deprecated Endpoints
    • Console Logs API
    • Business Intelligence API
      • Deprecated Endpoints
    • Datacenters & Locations
      • Global Cloud
      • Regional Cloud
    • Apache Kafka Solver API
    • Endpoint Settings
    • Archive
      • Rule Flow Solver API (DEPRECATED)
  • AI Assistant
    • About Assistant
    • Assistant Setup
      • Gemini Assistant
  • RULES
    • Rules Introduction
    • Rule List
    • Rule Mode
    • Common Rule Features
      • Input & Output Model
        • Simple Editor
        • JSON Editor
      • Test Bench
      • Rule Alias
      • Rule State
      • Versioning
      • Rule Variables
      • Execution Strategy
      • Rule Dependencies
      • Rule Export & Import
        • Rule Export
        • Rule Import
        • Managing Decision Table in Excel/Google Sheets
        • Deprecated Formats: XLSX v.1 and CSV
      • Tags
      • Rule Comparison
        • Decision Table Comparison
        • Decision Tree Comparison
        • Scripting Rule Comparison
      • Rule Lock
      • Teamwork Indicator
      • Event Timeline
    • Data Types & Functions
      • Supported Data Types
      • Operators and Functions
        • Basic operators
        • Date operators
        • Functions
          • Logical Functions
          • Math Functions
          • Date and Time Functions
          • Text Functions
          • Data Functions
          • Array Functions
          • Integration functions
          • Functions and JSON
    • Decision Table
      • Table Designer
        • Table Operations
          • Filter Values
          • Valid Values
          • Sorting
      • Binding to Model
    • Decision Tree
      • Tree Designer
    • Workflow
      • Workflow Designer
      • Workflow Nodes Overview
      • Workflow Limits
    • Scripting Rule
      • Custom functions in Scripting Rules
      • Calling external API within ScriptingRules
      • Use Rule Variables in Scripting Rules
      • Call Embedded Rules in Scripting Rules
      • Tips
    • Rule Flow
      • Rule Flow Designer
      • Rule Flow Mapping
      • Rule States in Rule Flow
      • Warnings & Errors
      • Rule Flow Limits
  • SPACE
    • Space Introduction
    • Space Info
    • Dashboard
    • Access
    • API Keys
    • Audit Logs
  • Organization
    • Organization Introduction
    • Organization List
    • Members
    • Teams
    • Spaces
    • Space Roles
    • Policies
    • Statistics
    • Settings
  • Profile
    • Profile Introduction
    • General
    • Dashboard
    • Plans
    • Add-ons
    • Limits
      • Plan Limits Explained
    • Subscriptions
    • Invoices
  • Access
    • Sign Up & Login
    • Invitations & Permissions
    • Single Sign-On (SSO)
  • Business Intelligence
    • Audit Logs
    • Power BI Connectivity
      • Create a Power BI Report
      • Connect Power BI to Business Intelligence API
      • Connecting from Power BI (deprecated)
      • Connect DecisionRules to Power BI Using Our Custom Connector
  • OTHER DEPLOYMENT OPTIONS
    • Regional Cloud
      • Region Specific API URLs
    • Docker & On-Premise
      • Environment Variables
      • Redis Connection Modes
      • DecisionRules Application
        • Minimal Requirements
        • DecisionRules Server
        • DecisionRules Client
        • DecisionRules Business Intelligence
        • Networking Between Docker Containers
      • Setup Single Sign-On (SSO)
        • Set up Microsoft Entra ID SSO
        • Set up Google SSO
      • Docker Showcase App
        • Showcase
        • Showcase + Business Intelligence
      • AWS Setup
        • AWS ECS/Fargate
        • Cache - Amazon ElastiCache
      • Microsoft Azure Setup
        • Database - Azure CosmosDB
        • Cache - Azure Cache for Redis
        • Azure Container Apps
      • Azure Red Hat OpenShift
      • Google Kubernetes Engine (GKE)
      • Kubernetes Setup
        • Kubernetes Setup with Business Intelligence
      • Logging options
      • CD/CI Pipelines
        • Azure DevOps CICD Pipelines
        • Using Migration script (old way)
      • Offline License
      • White Labeling
  • SDK and Integrations
    • Languages / Frameworks
      • SQL Server
      • Oracle PL/SQL
      • PostgreSQL
      • JavaScript
      • Java Spring Example
      • PHP Library
      • Python Library
      • .NET Library
      • Google Tag Manager
    • Excel Add-in
  • Terms & Conditions
    • Terms and Conditions
    • Privacy Policy
    • Service Level Agreement
      • Community Support
      • Standard Cloud (SaaS)
      • Silver SLA
      • Gold SLA
      • Custom SLA
    • Sub-Processor List
  • Product Updates
    • Release Notes
      • Public Cloud
      • On-Premise / Private Cloud
    • Major Updates
      • Changes in Version 1.19.0 (10/2024)
      • Changes in Version 1.20.0 (4/2025)
    • Roadmap
Powered by GitBook
On this page
  • Accessing the AI Assistant
  • How the Prompt Works
  • Preview Cases
  • Prompt Examples
  • About the Model and Limits

Was this helpful?

  1. AI Assistant

About Assistant

AI Assistant (Beta) – Create Rules Faster with Google Gemini

Last updated 1 month ago

Was this helpful?

We're introducing a brand-new AI Assistant, now available in BETA, designed to help users create decision rules faster—starting with decision tables, our most commonly used rule type. Instead of manually building a rule row by row, you can simply describe your business case, and the assistant will generate a ready-to-use decision table for you. This feature aims to simplify rule creation, especially for users who are new to the platform or working with repetitive decision logic.

Accessing the AI Assistant

The AI Assistant is currently available on Business Plan or higher, and it’s also included in the free trial so new users can try it out as part of our enhanced onboarding experience. You’ll find the assistant by clicking the "AI Assistant" button on the Rules list. From there, a prompt window will open where you can describe the logic behind your decision rule in plain language.

How the Prompt Works

Inside the prompt window, you’ll be guided to enter your business case and provide some mandatory information:

  • Your case description - be as specific and clear as possible—include all important conditions and expected outcomes

  • Input Properties – the attributes the rule will evaluate (e.g. age, amount, status)

  • Output Properties – the attributes of the output model (e.g. approvalStatus, interestRate)

Once this information is provided, the assistant begins building the rule. When the rule is ready, you’ll see a message confirming it’s complete. Click "Yes, generate the table" to finalize the creation—then you’ll be redirected directly to the new rule for review or editing.

Preview Cases

Upon opening the AI Assistant modal, you will find a set of predefined preview cases displayed as buttons. Selecting one of these options will automatically populate the prompt with a sample business scenario. The assistant will then generate a corresponding decision table based on that input. This feature provides a quick and guided way to understand the assistant’s behavior and output format.

Prompt Examples

During the BETA phase, the AI Assistant is limited to generating decision tables with a maximum of 10 rows. If your described case results in more scenarios, consider simplifying the logic.

  1. Simple Loan Application Evaluation:

I want to evaluate a loan application based on the applicant's age and credit score. If the age is under 21, the application should be declined. If the credit score is below 600, also decline. Otherwise, approve. Input model properties: age, creditScore Output model properties: approvalStatus

  1. Fraud Risk Evaluation:

I want to assess the fraud risk of a transaction based on payment method, transaction amount, country, and customer verification status.

  • If payment is "Crypto", amount > 5000, and not verified → High risk

  • If payment is "Card", country is in "High-Risk List", and not verified → High risk

  • If payment is "BankTransfer", amount > 10000 → Medium risk

  • If verified and amount < 1000 → Low risk

  • If payment is "Card" or "BankTransfer", country is "Trusted", verified → Low risk

  • If payment is "Crypto" and amount < 1000 → Medium risk

  • If not verified and country is not known → High risk

  • If payment is "Card", amount > 2000, and not verified → Medium risk

  • Else → Low risk

Input model properties: paymentMethod, amount, country, isVerified Output model properties: riskLevel

About the Model and Limits

The assistant is powered by Gemini for Business, using the model gemini-2.0-flash-lite-001.

Current usage limits for the assistant are defined by your subscription plan. If you're on a free trial, paid Business or higher tier, you'll have access to a limited number of AI generations each month.

Your privacy is fully respected. No user data is used to train any AI model, and nothing is shared outside Decision Rules application. See more information about data governance and .

here
here
Decision Rules AI Assistant
AI Assistant Access
Simple Table Prompt Finished
Generated Decision Table
Fraud Risk Prompt Finished
Generated Decision Table