001/* 002 * Copyright (c) 2026, Oracle and/or its affiliates. 003 * 004 * Licensed under the Universal Permissive License Version 1.0 as shown at 005 * https://oss.oracle.com/licenses/upl/ 006 */ 007package com.oracle.database.selectai.model; 008 009/** 010 * Select AI generation actions supported by {@code DBMS_CLOUD_AI.GENERATE}. 011 */ 012public enum GenerateAction { 013 /** Generate and run SQL for the natural language prompt. */ 014 runsql, 015 /** Generate SQL text without executing it. */ 016 showsql, 017 /** Generate SQL and return an explanation. */ 018 explainsql, 019 /** Generate a natural-language narration of the answer. */ 020 narrate, 021 /** Summarize content through the active profile. */ 022 summarize, 023 /** Translate text through the active profile. */ 024 translate, 025 /** Chat with the configured AI model. */ 026 chat, 027 /** Generate embeddings for the prompt/content through the active profile. */ 028 embedding, 029 /** Return the provider-facing prompt assembled by Select AI. */ 030 showprompt 031}