8.30 GET_REMOTE_SERVER_AI_MAXTOKENS Function
Use this function to get the Maximum number of tokens property to be used for a given Generative AI or Vector Provider server during application import.
Syntax
APEX_APPLICATION_INSTALL.GET_REMOTE_SERVER_AI_MAXTOKENS (
p_static_id IN VARCHAR2 )
RETURN NUMBER;Parameters
| Parameter | Description |
|---|---|
p_static_id |
Static ID to reference the remote server object. |
Example
DECLARE
l_ai_max_tokens number;
BEGIN
l_ai_max_tokens := apex_application_install.get_remote_server_ai_maxtokens( 'MY_REMOTE_SERVER' );
END;See Also:
SET_REMOTE_SERVER ProcedureParent topic: APEX_APPLICATION_INSTALL