Prerequisites for Using Select AI Agent
Before you use Select AI Agent, you must have privileges to use the DBMS_CLOUD_AI_AGENT package and all other privileges that are required for Select AI.
To use Select AI Agent, you must have the following:
-
At least one agent team defined. See CREATE_AGENT Procedure.
-
Optionally, a
conversation_idis created to keep track of multi-turn context.
Grant Privileges for Select AI Agent
To use Select AI Agent, the administrator must grant the EXECUTE privilege on the DBMS_CLOUD_AI_AGENT package.
To configure DBMS_CLOUD_AI_AGENT:
Grant the EXECUTE privilege on the DBMS_CLOUD_AI_AGENT package to the user who wants to use Select AI Agent.
By default, only the system administrator has EXECUTE privilege. The administrator can grant EXECUTE privilege to other users.
Example of Privileges to Run Select AI Agent
The following example grants the EXECUTE privilege to ADB_USER:
GRANT EXECUTE on DBMS_CLOUD_AI_AGENT to ADB_USER;
See also Examples of Privileges to Run Select AI.