LogoLogo
Home
Core Platform
Core Platform
  • Introduction
    • Overview
    • Use Cases
    • Architecture
    • Built with ML & AI
    • Quick Start
  • Examples
    • Training Examples
      • API Flow Examples
      • Microservice Examples
      • UI Example
      • Exercise: Hello World API
      • Exercise: Test State
      • Exercise: Test UI
    • Exercise: To-do List
      • To-do List Runner
      • To-do List Gateway
      • To-do List UI
      • To-do List Query
  • Troubleshooting
    • Rierino Packages
    • Release Notes
    • Useful Checks
    • Error Codes
  • Devops
    • Overview
    • API Flows
      • Using the Saga Screen
      • Defining a Saga
      • Configuring Saga Steps
        • Event Step
        • Transform Step
          • Transform Classes
        • Condition Step
          • Condition Classes
        • Step Link
      • Injecting Variables
    • Microservices
      • Runners
        • Using the Runner Screen
        • Defining a Runner
        • Managing Runner Settings
        • Adding Runner Elements
        • Deploying Runners
          • Spring Runners
          • Samza Runners
          • Camel Runners
      • Elements
        • Systems
        • State Managers
          • Typical Use Cases
          • State Data Structure
          • Local States
            • In-Memory Map
            • Caffeine Cache
            • Samza Based
            • Lucene Based
            • Single File
            • Multiple Files
            • Selected IDs Map
            • Indexed Map
          • Shared States
            • MongoDB Collection
            • Jooq (SQL) Table
            • Redis Map
            • Couchbase Collection
            • Elasticsearch Index
            • Elasticsearch Joined
            • Etcd Namespace
          • Specialized States
            • CRUD Service
            • Odata Service
          • State Coordinators
            • Lazy Cache Coordinator
            • Event Store Coordinator
            • Write thru Coordinator
          • Loading Strategies
          • ID Generators
        • Listeners
        • Query Managers
          • MongoDB
          • Elasticsearch
          • Lucene
          • SQL Based
          • Odata Service
        • Handlers
          • Core Handlers
            • Write Data
            • Read Data
            • Query Data
            • Apply Rules
            • Call Rest API
            • Generate Text/Html
            • Parse Html
            • Generate Secrets
            • Orchestrate User Task
            • Perform File Operation
            • Run Shell Command
            • Send/Receive Emails
          • Custom Code Handlers
            • Run Scripts
            • Run Java Code
            • Run Java Package
          • Flow Handlers
            • Orchestrate Saga
            • Loop Each Entry
            • Run Multiple Steps
            • Buffer Payloads
            • Merge Parallel Steps
            • Log Event
            • Send Event
            • Validate Event
            • Transform Event
            • Perform DB Transaction
            • Trigger Runner Command
            • Do Nothing
            • Modify Role Data
            • Enrich Role Data
            • Convert Pulse to Journal
          • Gateway Handlers
            • Authenticate
              • No Authentication
              • State Based
              • Keycloak Based
            • Sessionize
          • Specialized Handlers
            • Apply Advanced Rules
            • Calculate Real-time Metrics
            • Score ML Models
            • Score LangChain Models
            • Service MCP Requests
            • Service A2A Requests
            • Consume Web of Things
            • Perform Text Embedding
            • Run Python Procedure
            • Generate Excel
            • Generate PDF
            • Call SOAP API
            • Integrate with Camel
        • Actions
        • Streams
          • Kafka Topic
          • CDC Feed
          • Camel Component
        • Roles
        • Generic Settings
        • Global Settings
      • Deployments
        • Defining a Deployment
        • Alternative Loaders
    • Gateway & Security
      • Gateway Servers
        • Gateway Systems
        • Gateway Channels
        • Gateway Services
        • Gateway Tokens
      • APIs
        • OpenAPI Specification
        • Response Formats
    • Administration
      • Managing Deployments
      • Sending Commands
      • Streaming Messages
      • Migrating Assets
    • Batch Tasks
      • Python Processes
      • Python Iterators
      • Python Processors
    • Pro-Code
      • Custom Handlers
      • Custom State Managers
      • Custom Query Managers
      • Custom CDC Managers
  • Design
    • Overview
    • User Interface
      • Apps
      • UIs
        • Listers
        • Widgets
          • Value Widgets
          • Array Widgets
          • Object Widgets
          • Indirect Widgets
          • Atom Widgets
        • Menus
          • Lister Menu Actions
          • Selection Menu Actions
          • Editor Menu Actions
          • Widget Menu Actions
          • Custom Menu Actions
          • RAI Menu Actions
        • Extended Scope
          • Conditional Display
          • Data Context
          • Extra Data
          • Default Item
          • Extra Events
      • Options
      • Translations
      • Icons
      • Styles
      • Components
    • API Mapping
    • Data Schema
      • Common Data
  • Configuration
    • Overview
    • Queries
      • Query Types
      • Query Platforms
        • MongoDB Queries
        • Odata Queries
        • SQL Queries
        • Elasticsearch Queries
        • Lucene Queries
        • Siddhi Queries
    • Business Rules
      • Drools Rules
    • Dynamic Handlers
  • Data Science
    • Overview
    • ML Models
      • Scheduler Platforms
        • Airflow Scheduler
    • GenAI Models
    • MCP Servers
    • Complex Event Processing
      • Siddhi Data Flows
    • Data Visualizations
    • Customizations
  • EXTENSIONS
    • JMESPath
    • Handlebars
Powered by GitBook

© Rierino Software Inc. 2025. All rights reserved.

On this page
  • RAI Parameters
  • General Purpose Actions
  • Text AI
  • Translate AI
  • Generic AI
  • Development Actions
  • Saga AI
  • Runner AI
  • Query AI
  • UI AI
  • Schema AI
  • App AI
  1. Design
  2. User Interface
  3. UIs
  4. Menus

RAI Menu Actions

RAI menu actions are AI assistance actions that facilitate various automation use cases.

PreviousCustom Menu ActionsNextExtended Scope

Last updated 4 months ago

RAI allows using text prompts, as well as images, which can be copied and pasted into the prompt space to include them in the conversation (e.g. create description based on this product image).

When RAI is activated on a screen, it starts a conversation thread, and uses memory of that thread in consequtive actions and answers. To clear its memory and restart, RAI dialog can be closed and reopened.

RAI Parameters

All AI menu actions support the following special properties:

  • Prompts: List of label, content pairs providing a predefined list of prompts that users can start with

  • Path: Special path on api/ai to call AI actions (default is specific to action type)

  • Params: List of special parameters to pass on to AI service, such as:

    • assistantId: ID of the AI assistant to utilize

General Purpose Actions

Text AI

Allows manipulation of value widgets (including text, code, template type inputs). This action can be used for a variety of use case, such as:

  • Generating, rewording or summarizing text content such as product descriptions

  • Generating or revising Handlebars templates used in CMS modules

  • Generating or revising custom scripts or JMESPath patterns used in Saga flows

By default, GPT_ASSISTANT_TEXT environment variable is used to identify the assistant ID to use for AI interactions.

Translate AI

Allows translation of localized text and objects. This action is used with Localized Editors, and allows selection of source and target languages for translation, based on editor's configuration.

By default, GPT_ASSISTANT_TRANSLATE environment variable is used to identify the assistant ID to use for AI interactions.

Generic AI

Allows population of a data model (e.g. creating a product entry) using a predefined schema.

This action has the following special property:

  • Schema: JSON schema to utilize for populating data

By default, GPT_ASSISTANT_ANY environment variable is used to identify the assistant ID to use for AI interactions.

Development Actions

Saga AI

Allows creation of new Saga flows.

By default, GPT_ASSISTANT_SAGA environment variable is used to identify the assistant ID to use for AI interactions.

Runner AI

Allows creation of new Runner entries.

By default, GPT_ASSISTANT_RUNNER environment variable is used to identify the assistant ID to use for AI interactions.

Query AI

Allows creation of new Query entries.

By default, GPT_ASSISTANT_QUERY environment variable is used to identify the assistant ID to use for AI interactions.

UI AI

Allows creation of new UI entries.

By default, GPT_ASSISTANT_UI environment variable is used to identify the assistant ID to use for AI interactions.

Schema AI

Allows creation of new JSON Schema entries. It is possible to paste screenshot of a database table image with field names to generate JSON schemas from ER diagrams on this action.

By default, GPT_ASSISTANT_SCHEMA environment variable is used to identify the assistant ID to use for AI interactions.

App AI

Allows creation of new App entries.

By default, GPT_ASSISTANT_APP environment variable is used to identify the assistant ID to use for AI interactions.

To enable RAI menu actions, "OPENAI_API_KEY" environment variable must be present in admin UI deployments.

RAI assistants need to be created before the first use, which can be performed by using POST /api/[type]/assistant endpoints if the "OPENAI_API_KEY" is configured.

After the first initialization, it is possible to manipulate prompts and tools of these assistants directly from the OpenAI dashboard and can be reset using PATCH /api/[type]/assistant endpoint.

All assistants are accessible through POST /api/[type] endpoints, passing commands as "content" input.

Once the assistants are created, either assistantIds can be configured for each menu action separately, or the "GPT_ASSISTANT_%" environment variables mentioned in this section can be configured for the admin UI deployments.

Sample RAI Action