3.7 GENERATE Function Signature 3 (Deprecated)

This function generates a response for a given prompt based on an AI Agent.

Note:

This API is deprecated and will be removed in a future release.

Instead, use GENERATE Function Signature 1.

Syntax

APEX_AI.GENERATE (
    p_config_static_id  IN              VARCHAR2,
    p_prompt            IN              CLOB )
    RETURN CLOB;

Parameters

Parameter Description
p_config_static_id The static ID of the AI Agent.
p_prompt The user prompt.

Returns

The response for the given prompt.

Example

For an example, see GENERATE Function Signature 1.