Uses of Class
com.oracle.database.selectai.model.SelectAIException
Packages that use SelectAIException
Package
Description
Public API for using Oracle Select AI from Java applications.
Public synchronous interfaces for Oracle Select AI Agent resource management
and workflow execution.
-
Uses of SelectAIException in com.oracle.database.selectai
Methods in com.oracle.database.selectai that throw SelectAIExceptionModifier and TypeMethodDescriptionSends the prompt as a chat-style request using this profile.Profile.chat(String prompt, GenerateParams generateParams) Sends the prompt as a chat-style request using optional generate parameters.Sends the prompt as a chat-style request using the session conversation.Profile.chatSession(Conversation conversation) Starts a Select AI chat session using the supplied conversation.Profile.chatSession(Conversation conversation, boolean deleteOnClose) Starts a Select AI chat session using the supplied conversation.voidDatabaseAdmin.close()Releases resources owned by this DatabaseAdmin client.voidDbConnection.close()Closes the JDBC connection owned by this DbConnection.voidSelectAI.close()Releases resources owned by this SelectAI client.voidSession.close()Closes this session.SelectAI.conversation(ConversationAttributes conversationAttributes) Creates aConversationobject initialized with supplied attributes.SelectAI.conversation(String conversationId) Opens aConversationobject for an existing conversation by ID.Conversation.create()Creates the configured conversation in the database and returns its generated conversation identifier.booleanCredential.create()Creates the database credential represented by this instance.static DatabaseAdminDatabaseAdmin.create(DbConnectionConfig dbConnectionConfig) Creates a DatabaseAdmin client from database connection configuration.static DatabaseAdminDatabaseAdmin.create(DbConnectionConfig dbConnectionConfig, SelectAIOptions options) Creates a DatabaseAdmin client from database connection configuration and SDK execution options.static DbConnectionDbConnection.create(DbConnectionConfig dbConnectionConfig) Creates a JDBC-backed DbConnection from database connection configuration.booleanProfile.create()Creates this configured profile in the database.static SelectAISelectAI.create(DbConnectionConfig dbConnectionConfig) Creates a SelectAI client from database connection configuration.static SelectAISelectAI.create(DbConnectionConfig dbConnectionConfig, SelectAIOptions options) Creates a SelectAI client from database connection configuration and SDK execution options.booleanVectorIndex.create()Creates the vector index in the database.booleanConversation.deletePrompt(String conversationPromptId) Deletes a conversation prompt.booleanConversation.deletePrompt(String conversationPromptId, boolean force) Deletes a conversation prompt.booleanProfile.disable()Disables this profile so callers cannot use it for Select AI operations until it is enabled again.booleanVectorIndex.disable()Disables the vector index so Select AI will not use it for retrieval until it is enabled again.booleanDatabaseAdmin.disableDataAccess()Prevents Select AI features from sending table data or vector-search document content to the model when those features would otherwise use it.booleanConversation.drop(boolean force) Drops this conversation from the database.booleanCredential.drop()Drops the database credential represented by this instance.booleanCredential.drop(boolean force) Drops the database credential represented by this instance, optionally treating an already absent credential as success.booleanProfile.drop(boolean force) Drops this profile from the database.booleanVectorIndex.drop(boolean force) Drops the vector index.booleanVectorIndex.drop(boolean includeData, boolean force) Drops the vector index and controls whether backing vector data is also removed.booleanProfile.enable()Enables this profile so it can be used for Select AI operations.booleanVectorIndex.enable()Enables the vector index so Select AI can use it during RAG operations.booleanDatabaseAdmin.enableDataAccess()Allows Select AI features to send table data or vector-search document content to the model when a feature needs that data.ConnectionCallback.execute(Connection connection) Executes JDBC work with the connection supplied by the provider.Profile.explainsql(String prompt) Generates SQL and returns a natural-language explanation.Profile.explainsql(String prompt, GenerateParams generateParams) Generates SQL and returns a natural-language explanation using optional generate parameters.Session.explainsql(String prompt) Generates SQL and returns a natural-language explanation using the session conversation.booleanStores or removes feedback about generated SQL for this profile.Profile.generate(String prompt, GenerateAction generateAction) Sends a natural-language prompt to Select AI using this profile.Profile.generate(String prompt, GenerateAction generateAction, GenerateParams generateParams) Sends a natural-language prompt to Select AI using this profile and optional generate parameters.Profile.generate(String prompt, GenerateAction generateAction, ProfileAttributes profileAttributes) Sends a natural-language prompt to Select AI using this profile and request-level profile attributes.Profile.generate(String prompt, GenerateAction generateAction, ProfileAttributes profileAttributes, GenerateParams generateParams) Sends a natural-language prompt to Select AI using this profile, request-level profile attributes, and optional generate parameters.booleanProfile.generateSyntheticData(SyntheticDataBatchRequest request) Generates synthetic data using this profile for multiple objects in one request.booleanProfile.generateSyntheticData(SyntheticDataSingleRequest request) Generates synthetic data using this profile and a single-object request payload.Conversation.getConversationAttributes()Returns conversation metadata.Profile.getProfileAttributes()Returns profile attributes.Profile.getStatus()Returns profile status.VectorIndex.getStatus()Returns vector index status.VectorIndex.getVectorIndexAttributes()Fetches and returns current vector index attributes.booleanDatabaseAdmin.grantHttpAccess(List<String> selectAIUsers, String host) Grants HTTP network ACL access for the specified database users.booleanDatabaseAdmin.grantNetworkAccess(List<String> selectAIUsers, String host, List<String> privileges, Integer lowerPort, Integer upperPort) Grants network ACL privileges to the specified database users.booleanDatabaseAdmin.grantPrivileges(List<String> selectAIUsers) Grants required Select AI package privileges to the specified database users.SelectAI.listConversations()Lists conversations visible in the current schema.SelectAI.listProfiles()Lists AI profiles visible in the current schema.SelectAI.listProfiles(String profileNamePattern) Lists AI profiles visible in the current schema whose names match the supplied database regular-expression pattern.Conversation.listPrompts()Lists prompts recorded for this conversation.SelectAI.listVectorIndexes()Lists vector indexes visible in the current schema.SelectAI.listVectorIndexes(String indexNamePattern) Lists vector indexes visible in the current schema whose names match the supplied database regular-expression pattern.Generates and runs SQL, then asks the model to narrate the result.Profile.narrate(String prompt, GenerateParams generateParams) Generates and runs SQL, then asks the model to narrate the result using optional generate parameters.Generates and runs SQL, then asks the model to narrate the result using the session conversation.Opens aProfileobject for an existing AI profile in the current schema.SelectAI.profile(String profileName, ProfileAttributes profileAttributes, String description, ProfileStatus status) Creates aProfileobject initialized with profile creation details.booleanDatabaseAdmin.revokeHttpAccess(List<String> selectAIUsers, String host) Revokes HTTP network ACL access for the specified database users.booleanDatabaseAdmin.revokeNetworkAccess(List<String> selectAIUsers, String host, List<String> privileges, Integer lowerPort, Integer upperPort) Revokes network ACL privileges for the specified database users.booleanDatabaseAdmin.revokePrivileges(List<String> selectAIUsers) Revokes required Select AI package privileges from the specified database users.Generates SQL from the prompt and runs it.Profile.runsql(String prompt, GenerateParams generateParams) Generates SQL from the prompt and runs it using optional generate parameters.Generates SQL from the prompt and runs it using the session conversation.booleanProfile.setAttribute(String attributeName, boolean attributeValue) Updates one profile attribute using a boolean value.booleanProfile.setAttribute(String attributeName, Float attributeValue) Updates one profile attribute using a floating-point value.booleanProfile.setAttribute(String attributeName, Integer attributeValue) Updates one profile attribute using an integer value.booleanProfile.setAttribute(String attributeName, String attributeValue) Updates one profile attribute using a string value.booleanConversation.setAttributes(ConversationAttributes conversationAttributes) Updates conversation metadata such as title, description, retention, or context length.booleanProfile.setAttributes(ProfileAttributes profileAttributes) Replaces or updates multiple profile attributes in one operation.Profile.showprompt(String prompt) Returns the augmented prompt that Select AI would send to the provider.Profile.showprompt(String prompt, GenerateParams generateParams) Returns the augmented prompt that Select AI would send to the provider using optional generate parameters.Session.showprompt(String prompt) Returns the augmented prompt that Select AI would send to the provider using the session conversation.Generates SQL from the prompt without running it.Profile.showsql(String prompt, GenerateParams generateParams) Generates SQL from the prompt without running it using optional generate parameters.Generates SQL from the prompt without running it using the session conversation.Profile.summarize(String content, String credential_name, String location_uri, String userPrompt, SummaryParams params) Summarizes inline text or content read from an external location.Translates text using the provider configured by this profile.Translates text using the provider configured by this profile and an explicit target language.Translates text using the provider configured by this profile.booleanVectorIndex.update(VectorIndexAttributes vectorIndexAttributes) Updates vector index attributes in bulk.booleanUpdates a single vector-index attribute using normal string binding.booleanUpdates a single vector-index attribute and optionally sends large values as character data.SelectAI.vectorIndex(VectorIndexConfig vectorIndexConfig) Creates aVectorIndexobject initialized from configuration.SelectAI.vectorIndex(String indexName) Opens aVectorIndexobject for an existing vector index in the current schema.<T> TConnectionProvider.withConnection(ConnectionCallback<T> callback) Executes one SDK operation with a connection supplied by this provider. -
Uses of SelectAIException in com.oracle.database.selectai.agent
Methods in com.oracle.database.selectai.agent that throw SelectAIExceptionModifier and TypeMethodDescriptionLoads an existing agent, including its metadata and attributes.voidSelectAIAgent.close()Releases resources owned by this client.booleanAgent.create()Creates this creation-configured agent in the database.static SelectAIAgentSelectAIAgent.create(DbConnectionConfig dbConnectionConfig) Creates a SelectAIAgent client from database connection configuration.static SelectAIAgentSelectAIAgent.create(DbConnectionConfig dbConnectionConfig, SelectAIOptions options) Creates a SelectAIAgent client from database connection configuration and SDK execution options.booleanTask.create()Creates this creation-configured task in the database.booleanTeam.create()Creates this creation-configured team in the database.booleanTool.create()Creates this creation-configured tool in the database.Team.describe()Returns the database-generated team definition and aggregated capabilities.Tool.describe()Returns the database-generated tool definition and input metadata as raw JSON.booleanAgent.disable()Disables this database-backed agent.booleanTask.disable()Disables this database-backed task.booleanTeam.disable()Disables this database-backed team.booleanTool.disable()Disables this database-backed tool.booleanAgent.drop(boolean force) Drops this database-backed agent.booleanTask.drop(boolean force) Drops this database-backed task.booleanTeam.drop(boolean force) Drops this database-backed team owned by the connected user.booleanTool.drop(boolean force) Drops this database-backed tool.booleanAgent.enable()Enables this database-backed agent.booleanTask.enable()Enables this database-backed task.booleanTeam.enable()Enables this database-backed team.booleanTool.enable()Enables this database-backed tool.Team.exportDefinition()Returns the team definition as JSON using the database defaults.Team.exportDefinition(ExportTeamParams params) Returns the team definition as JSON using typed export parameters.booleanTeam.exportDefinition(ExportTeamRequest request) Exports this team definition to object storage or a database directory file.Agent.getAgentAttributes()Returns agent attributes for this handle.SelectAIAgent.getDefinition(AgentObjectType objectType, String objectName, boolean includeDependentObjects) Returns the definition produced byDBMS_CLOUD_AI_AGENT.GET_DEFINITIONfor an agent framework object.Team.getStateByConversationId(String conversationId) Returns the latest run state for a conversation associated with this team.Agent.getStatus()Returns the configured status before creation or the current database status for an existing agent.Task.getStatus()Returns the configured status before creation or the current database status for an existing task.Team.getStatus()Returns the configured status before creation or the current database status for an existing team.Tool.getStatus()Returns the configured status before creation or the current database status for an existing tool.Task.getTaskAttributes()Returns task attributes for this handle.Team.getTeamAttributes()Returns team attributes for this handle.SelectAIAgent.getTeamStateByConversationId(String teamName, String conversationId) Returns the latest state for a team run identified by a database conversation identifier.Tool.getToolAttributes()Returns tool attributes for this handle.default StringSelectAIAgent.getVariable(String namespace, String name) Reads an ephemeral runtime variable from the current database session.SelectAIAgent.getVariable(String namespace, String name, String scope) Reads a runtime variable from the current database session and scope.booleanTeam.grantAccess(String userOrRoleName) Grants a database user or role permission to run this owner-managed team.booleanSelectAIAgent.grantTeamAccess(String teamName, String userOrRoleName) Grants a database user or role permission to run an owner-managed team.booleanSelectAIAgent.importTeam(ImportTeamRequest request) Imports an agent team definition into the database.SelectAIAgent.listAgents()Lists agents owned by the current database user.SelectAIAgent.listAgents(String agentNamePattern) Lists owned agents whose names match a database regular-expression pattern.SelectAIAgent.listAvailableTeams()Lists teams available to the calling database user for discovery.SelectAIAgent.listTasks()Lists tasks owned by the current database user.Lists owned tasks whose names match a database regular-expression pattern.SelectAIAgent.listTeams()Lists agent teams owned by the current database user.Lists owned teams whose names match a database regular-expression pattern.SelectAIAgent.listTools()Lists tools owned by the current database user.Lists owned tools whose names match a database regular-expression pattern.booleanTeam.revokeAccess(String userOrRoleName) Revokes a database user or role permission to run this owner-managed team.booleanSelectAIAgent.revokeTeamAccess(String teamName, String userOrRoleName) Revokes a database user or role permission to run an owner-managed team.Team.run(RunTeamRequest request) Starts or resumes a synchronous team run using the supplied prompt and runtime parameters.Runs this tool with a JSON input payload.SelectAIAgent.runTeam(String teamName, RunTeamRequest request) Runs an existing team by name without loading owner-only team metadata.booleanAgent.setAttribute(String attributeName, boolean attributeValue) Updates one boolean agent attribute in the database.booleanAgent.setAttribute(String attributeName, Float attributeValue) Updates one floating-point agent attribute in the database.booleanAgent.setAttribute(String attributeName, Integer attributeValue) Updates one integer agent attribute in the database.booleanAgent.setAttribute(String attributeName, String attributeValue) Updates one agent attribute in the database.booleanTask.setAttribute(String attributeName, boolean attributeValue) Updates one boolean task attribute in the database.booleanTask.setAttribute(String attributeName, Float attributeValue) Updates one floating-point task attribute in the database.booleanTask.setAttribute(String attributeName, Integer attributeValue) Updates one integer task attribute in the database.booleanTask.setAttribute(String attributeName, String attributeValue) Updates one task attribute in the database.booleanTeam.setAttribute(String attributeName, boolean attributeValue) Updates one boolean team attribute in the database.booleanTeam.setAttribute(String attributeName, Float attributeValue) Updates one floating-point team attribute in the database.booleanTeam.setAttribute(String attributeName, Integer attributeValue) Updates one integer team attribute in the database.booleanTeam.setAttribute(String attributeName, String attributeValue) Updates one team attribute in the database.booleanTool.setAttribute(String attributeName, boolean attributeValue) Updates one boolean tool attribute in the database.booleanTool.setAttribute(String attributeName, Float attributeValue) Updates one floating-point tool attribute in the database.booleanTool.setAttribute(String attributeName, Integer attributeValue) Updates one integer tool attribute in the database.booleanTool.setAttribute(String attributeName, String attributeValue) Updates one tool attribute in the database.booleanAgent.setAttributes(AgentAttributes agentAttributes) Updates multiple agent attributes in one database operation.booleanTask.setAttributes(TaskAttributes taskAttributes) Updates multiple task attributes in one database operation.booleanTeam.setAttributes(TeamAttributes teamAttributes) Updates multiple team attributes in one database operation.booleanTool.setAttributes(ToolAttributes toolAttributes) Updates multiple tool attributes in one database operation.booleanTeam.setExecutionState(ExecutionStateRequest request) Updates the state of a waiting team execution.booleanSelectAIAgent.setTeamExecutionState(String teamName, ExecutionStateRequest request) Updates the execution state of a team run.default booleanSelectAIAgent.setVariable(String namespace, String name, String value) Sets or clears an ephemeral runtime variable in the current database session.booleanSelectAIAgent.setVariable(String namespace, String name, String value, String scope) Sets or clears a runtime variable in the current database session and scope.Loads an existing task, including its metadata and attributes.Loads a team owned by the current database user, including its metadata and attributes.Loads an existing tool, including its metadata and attributes.