3.5 IS_ENABLED Function
This function returns whether Generative AI features are enabled for the current Oracle APEX Workspace.
Syntax
APEX_AI.IS_ENABLED
RETURN BOOLEAN;Parameters
None.
Returns
TRUE if Generative AI features are enabled for the current workspace. Otherwise, FALSE.
                  
Example
DECLARE
  l_is_ai_enabled boolean;
BEGIN
  l_is_ai_enabled := apex_ai.is_enabled;
  dbms_output.put_line('AI is enabled: ' || case l_is_ai_enabled when true then 'Yes' else 'No' end);
END;Parent topic: APEX_AI