Class ConversationPrompt.Builder
java.lang.Object
com.oracle.database.selectai.model.ConversationPrompt.Builder
- Enclosing class:
ConversationPrompt
Builder for
ConversationPrompt.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds immutable conversation prompt metadata.clientIdentifier(String clientIdentifier) Sets the database client identifier captured with the prompt.Sets the client IP address captured by the database.conversationId(String conversationId) Sets the conversation identifier associated with the prompt.conversationPromptId(String conversationPromptId) Sets the conversation prompt identifier.conversationTitle(String conversationTitle) Sets the conversation title captured with the prompt row.Sets the prompt row creation timestamp.Sets the prompt row modification timestamp.profileName(String profileName) Sets the Select AI profile used for the prompt.Sets the prompt text.promptAction(String promptAction) Sets the prompt action.promptResponse(String promptResponse) Sets the prompt response text.serialNumber(Long serialNumber) Sets the database session serial number.Sets the database session identifier.
-
Method Details
-
conversationPromptId
Sets the conversation prompt identifier.- Parameters:
conversationPromptId- conversation prompt identifier- Returns:
- this builder instance
-
conversationId
Sets the conversation identifier associated with the prompt.- Parameters:
conversationId- conversation identifier- Returns:
- this builder instance
-
conversationTitle
Sets the conversation title captured with the prompt row.- Parameters:
conversationTitle- conversation title- Returns:
- this builder instance
-
profileName
Sets the Select AI profile used for the prompt.- Parameters:
profileName- profile name- Returns:
- this builder instance
-
promptAction
Sets the prompt action.- Parameters:
promptAction- prompt action such aschat,narrate, orshowsql- Returns:
- this builder instance
-
prompt
Sets the prompt text.- Parameters:
prompt- prompt text- Returns:
- this builder instance
-
promptResponse
Sets the prompt response text.- Parameters:
promptResponse- prompt response text- Returns:
- this builder instance
-
created
Sets the prompt row creation timestamp.- Parameters:
created- creation timestamp- Returns:
- this builder instance
-
modified
Sets the prompt row modification timestamp.- Parameters:
modified- modification timestamp- Returns:
- this builder instance
-
clientIdentifier
Sets the database client identifier captured with the prompt.- Parameters:
clientIdentifier- client identifier- Returns:
- this builder instance
-
clientIp
Sets the client IP address captured by the database.- Parameters:
clientIp- client IP address- Returns:
- this builder instance
-
sid
Sets the database session identifier.- Parameters:
sid- database session identifier- Returns:
- this builder instance
-
serialNumber
Sets the database session serial number.- Parameters:
serialNumber- database session serial number- Returns:
- this builder instance
-
build
Builds immutable conversation prompt metadata.- Returns:
- immutable conversation prompt metadata
-