Class ConversationPrompt
java.lang.Object
com.oracle.database.selectai.model.ConversationPrompt
Read-only metadata row for a prompt stored in a Select AI conversation.
Instances are populated from USER_CLOUD_AI_CONVERSATION_PROMPTS and
returned by Conversation.listPrompts(). Prompt
metadata can contain caller-provided or generated content, including
conversation titles, prompt text, prompt responses, client identifiers, and
client IP addresses. Applications should avoid logging full prompt metadata
unless application policy permits it.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ConversationPrompt.Builderbuilder()Creates a builder for conversation prompt metadata.Returns the database client identifier captured with this prompt.Returns the client IP address captured by the database.Returns the conversation identifier associated with this prompt.Returns the conversation prompt identifier.Returns the conversation title captured with this prompt row.Returns the prompt row creation timestamp.Returns the prompt row modification timestamp.Returns the Select AI profile used for this prompt.Returns the prompt text.Returns the prompt action used for this prompt.Returns the prompt response text.Returns the database session serial number captured with this prompt.getSid()Returns the database session identifier captured with this prompt.toString()Returns a non-sensitive summary of this prompt metadata.
-
Method Details
-
builder
Creates a builder for conversation prompt metadata.- Returns:
- new builder
-
getConversationPromptId
Returns the conversation prompt identifier.- Returns:
- conversation prompt identifier, or
nullwhen unavailable
-
getConversationId
Returns the conversation identifier associated with this prompt.- Returns:
- conversation identifier, or
nullwhen unavailable
-
getConversationTitle
Returns the conversation title captured with this prompt row.This value may contain caller-provided or customer content.
- Returns:
- conversation title, or
nullwhen unavailable
-
getProfileName
Returns the Select AI profile used for this prompt.- Returns:
- profile name, or
nullwhen unavailable
-
getPromptAction
Returns the prompt action used for this prompt.- Returns:
- prompt action such as
chat,narrate, orshowsql
-
getPrompt
Returns the prompt text.This value may contain caller-provided or customer content.
- Returns:
- prompt text, or
nullwhen unavailable
-
getPromptResponse
Returns the prompt response text.This value may contain generated response text or customer content.
- Returns:
- prompt response text, or
nullwhen unavailable
-
getCreated
Returns the prompt row creation timestamp.- Returns:
- defensive copy of creation timestamp, or
nullwhen unavailable
-
getModified
Returns the prompt row modification timestamp.- Returns:
- defensive copy of modification timestamp, or
nullwhen unavailable
-
getClientIdentifier
Returns the database client identifier captured with this prompt.- Returns:
- client identifier, or
nullwhen unavailable
-
getClientIp
Returns the client IP address captured by the database.This value may be customer or client network metadata.
- Returns:
- client IP address, or
nullwhen unavailable
-
getSid
Returns the database session identifier captured with this prompt.- Returns:
- database session identifier, or
nullwhen unavailable
-
getSerialNumber
Returns the database session serial number captured with this prompt.- Returns:
- database session serial number, or
nullwhen unavailable
-
toString
Returns a non-sensitive summary of this prompt metadata.
-