Select AI Concepts
Describes the concepts and terms related to Select AI.
Actions
An action in Select AI is a keyword that instructs Select AI to perform different behavior when acting on the prompt. By specifying actions, users can instruct Select AI to process their natural language prompt to generate SQL code, to respond to a chat prompt, narrate the output, display the SQL statement, or explain the SQL code, leveraging the LLMs to efficiently interact with the data within their database environment.
The following are the supported actions for Select AI:
-
runsql
: Displays the SQL statement for a natural language prompt and runs the underlying SQL query to return a rowset. This is the default action and does not require specifying this parameter. -
showsql
: Displays the SQL statement for a natural language prompt. -
narrate
: Sends the result of the SQL query run by the LLM back to the LLM to generate a natural language description of that result. This option forwards the SQL result to the AI provider to generate a natural language summary.When using a vector index for RAG, the system utilizes the specified transformer model to create vector embeddings for semantic similarity search against the vector store. The system then adds the retrieved content to the user prompt and sends it to the LLM to generate a response based on this information.
-
chat
: Generates a text response directly from the LLM based on the prompt. Ifconversation
in theDBMS_CLOUD_AI.CREATE_PROFILE
function is set totrue
, this option includes content from prior interactions or prompts, potentially including schema metadata. -
explainsql
: Explains the generated SQL from the prompt into natural language. This option sends the generated SQL to the AI provider, which then produces a natural language explanation.
For more details on how you can use these actions, see Examples of Using Select AI.
Parent topic: Select AI Concepts
AI Profile
Parent topic: Select AI Concepts
AI Provider
An AI Provider in Select AI refers to the service provider that supplies the LLMs for processing and generating responses to natural language prompts. These providers offer models that can interpret and convert natural language for the use cases highlighted under the LLM concept.
Parent topic: Select AI Concepts
Conversations
Conversations in Select AI refer to the interactive dialogue between the user and the system, where natural language prompts are used to query or interact with the database. This conversational interface enables you to ask questions, request data, or perform actions using everyday language. Select AI interprets these prompts, interprets the user's intent, and generates corresponding SQL statements to fetch or manipulate the data and generate text responses to your natural language prompts. Conversations enable a more intuitive and accessible way to work with complex data sets, making it easier for users to extract insights and perform tasks without needing deep technical knowledge of SQL. See Profile Attributes.
Parent topic: Select AI Concepts
Database Credential
Parent topic: Select AI Concepts
Hallucination in LLM
Parent topic: Select AI Concepts
IAM
Parent topic: Select AI Concepts
Large Language Model (LLM)
A Large Language Model (LLM) refers to an advanced type of artificial intelligence model that is trained on massive amounts of text data to support a range of use cases depending on their training data. This includes understanding and generating human-like language as well as software code and database queries. These models are capable of performing a wide range of natural language processing tasks, including text generation, translation, summarization, question answering, sentiment analysis, and more. LLMs are typically based on sophisticated deep learning neural network models that learn patterns, context, and semantics from the input data, enabling them to generate coherent and contextually relevant text.
Parent topic: Select AI Concepts
Metadata
Parent topic: Select AI Concepts
Metadata Clone
Parent topic: Select AI Concepts
Natural Language Prompts
Parent topic: Select AI Concepts
Network Access Control List (ACL)
Parent topic: Select AI Concepts
Retrieval Augmented Generation (RAG)
Parent topic: Select AI Concepts
Similarity Search
Parent topic: Select AI Concepts
Vector Distances
Parent topic: Select AI Concepts
Vector Index
Parent topic: Select AI Concepts
Vector Store
Parent topic: Select AI Concepts