3.4 CHAT Function Signature 3 (Deprecated)
Note:
This API is deprecated and will be removed in a future release.Use CHAT Function Signature 1 instead.
This function chats with a Generative AI service given a prompt and potential earlier responses.
Syntax
APEX_AI.CHAT (
p_config_static_id IN VARCHAR2,
p_prompt IN CLOB,
p_messages IN OUT NOCOPY t_chat_messages )
RETURN CLOB;Parameters
| Parameter | Description |
|---|---|
p_config_static_id |
The static ID of the AI Agent. |
p_prompt |
The user prompt. |
p_messages |
The chat history that is updated with the provider response. |
Returns
The response for the given prompt.
Example
For an example, see CHAT Function Signature 1.
Parent topic: APEX_AI