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.
-
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.