Enum Class GenerateAction
- All Implemented Interfaces:
Serializable,Comparable<GenerateAction>,Constable
Select AI generation actions supported by
DBMS_CLOUD_AI.GENERATE.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionChat with the configured AI model.Generate embeddings for the prompt/content through the active profile.Generate SQL and return an explanation.Generate a natural-language narration of the answer.Generate and run SQL for the natural language prompt.Return the provider-facing prompt assembled by Select AI.Generate SQL text without executing it.Summarize content through the active profile.Translate text through the active profile. -
Method Summary
Modifier and TypeMethodDescriptionstatic GenerateActionReturns the enum constant of this class with the specified name.static GenerateAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
runsql
Generate and run SQL for the natural language prompt. -
showsql
Generate SQL text without executing it. -
explainsql
Generate SQL and return an explanation. -
narrate
Generate a natural-language narration of the answer. -
summarize
Summarize content through the active profile. -
translate
Translate text through the active profile. -
chat
Chat with the configured AI model. -
embedding
Generate embeddings for the prompt/content through the active profile. -
showprompt
Return the provider-facing prompt assembled by Select AI.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-