๐Ÿค– AI Interactive Reports โ€“ NLP Based Reporting Without Data Leaks | Oracle APEX 26.1

๐Ÿค– AI Interactive Reports โ€“ NLP Based Reporting Without Data Leaks | Oracle APEX 26.1

๐Ÿ”น About

Oracle APEX 26.1 introduces one of the most powerful new features for Interactive Reports:

โœ… AI-Powered Natural Language Reporting

Users can now interact with reports using simple English sentences like:

โœ” โ€œShow employees from department 10โ€
โœ” โ€œSort employees by salary descendingโ€
โœ” โ€œOnly show employees who have managerโ€

without writing filters manually.

The best part?

๐Ÿ” Oracle APEX ensures AI-generated queries remain secure and controlled, helping avoid unnecessary data exposure.

In this blog, we will build an AI Interactive Report using:

  • Oracle APEX
  • Cohere AI
  • Interactive Reports
  • Generative AI Services

๐Ÿš€ What We Will Build

We will create an Interactive Report on the EMP table where users can:

โœ… Ask questions in natural language
โœ… Apply filters automatically
โœ… Sort report data using AI
โœ… Use AI safely inside Oracle APEX


๐Ÿ› ๏ธ Tools and Technologies

  • Oracle APEX 26.1
  • Cohere AI
  • Oracle Database
  • Interactive Reports
  • Natural Language Processing (NLP)

๐ŸŽฏ Why This Feature is Important

Normally users need to:

โŒ Open Actions Menu
โŒ Add Filters
โŒ Add Sorting
โŒ Configure Conditions

Now users can simply type:

Show all employees in department 10

and Oracle APEX automatically converts it into report filters.


๐Ÿš€ Real-Time Example

Examples users can type:

Order employees by salary descending

Only show employees with managers

Show department 10 employees


๐Ÿ” Security Benefit

Oracle APEX AI Interactive Reports are safer because:

โœ… AI only works within report context
โœ… Users cannot access unrelated tables
โœ… Queries remain controlled inside report metadata
โœ… Sensitive database structure is hidden

This helps reduce accidental data leaks.


๐Ÿš€ Step 1: Create Generative AI Service

Go to:

Workspace Utilities
    โ†’ Generative AI

Click:

Create

๐Ÿ“Œ Configure Cohere AI Service

Fill details like below:

SettingValue
AI ProviderCohere
Namecohere
Base URLhttps://api.cohere.ai/v2
AI Modelcommand-a-03-2025

๐Ÿ“Œ Add Credentials

Create credential with your Cohere API Key.

Example:

Bearer YOUR_API_KEY

๐Ÿš€ Step 2: Test AI Connection

Click:

Test Connection

If everything is correct:

โœ… Connection Successful


๐Ÿš€ Step 3: Create Interactive Report

Create a new page:

Interactive Report

Use EMP table.


๐Ÿ“Œ Sample SQL Query

SELECT
    empno,
    ename,
    job,
    mgr,
    hiredate,
    sal,
    comm,
    deptno
FROM emp

๐Ÿš€ Step 4: Enable AI Feature

Open Interactive Report Attributes.

Go to:

Attributes
    โ†’ Generative AI

Enable:

โœ… Natural Language Support


๐Ÿ“Œ Set Default Search Mode

Select:

Search with AI

๐Ÿ“Œ Optional Settings

You can also enable:

โœ… Search Bar
โœ… Finder Drop Down
โœ… Reports Select List
โœ… Actions Menu

๐Ÿ–ผ๏ธ Final Output

๐Ÿš€ Example Queries

Users can now type:


๐Ÿ“Œ Filter Example

Show employees from department 10

Result:

โœ… AI automatically adds department filter.


๐Ÿ“Œ Sort Example

Order employees by salary descending

Result:

โœ… AI applies sorting automatically.


๐Ÿ“Œ Condition Example

Show employees who have manager

Result:

โœ… AI filters records where manager is not null.


๐Ÿ” How Oracle APEX Prevents Data Leaks

Oracle APEX AI Reporting works only within:

โœ” Report SQL
โœ” Available columns
โœ” Report metadata

Users cannot:

โŒ Access hidden tables
โŒ Run arbitrary SQL
โŒ Read database schema
โŒ Execute backend commands

This makes AI reporting much safer for enterprise applications.


๐ŸŽฏ Benefits of AI Interactive Reports

โœ… Faster reporting
โœ… Better user experience
โœ… No technical knowledge required
โœ… Easy filtering and sorting
โœ… Modern AI-powered UI
โœ… Enterprise-grade security


๐Ÿ“Œ Best Use Cases

This feature is extremely useful for:

โœ” HR Applications
โœ” ERP Systems
โœ” Finance Dashboards
โœ” Approval Systems
โœ” Customer Reports
โœ” Analytics Portals


โš ๏ธ Important Notes

Before using AI Reports:

โœ… Configure AI provider properly
โœ… Restrict sensitive columns
โœ… Test report queries carefully
โœ… Use secure credentials


๐Ÿš€ Why This Feature is a Game Changer

This feature brings:

โœ” AI + Low Code together
โœ” Natural language analytics
โœ” Better accessibility for non-technical users

Now business users can interact with reports naturally without learning report actions.


๐ŸŽ‰ Conclusion

AI Interactive Reports in Oracle APEX 26.1 are one of the most exciting new features for enterprise applications.

With minimal configuration, you can create:

โœ… NLP-based reporting
โœ… AI-powered filtering
โœ… Intelligent sorting
โœ… Secure AI experiences

all directly inside Oracle APEX.

This is a huge step toward intelligent low-code applications.

1 Comment

  1. VC

    is it possible to use local LLMs for this functionality?

Leave a Reply

Your email address will not be published. Required fields are marked *