Class GenerateParams
java.lang.Object
com.oracle.database.selectai.model.GenerateParams
Request parameters for the
params CLOB argument of
DBMS_CLOUD_AI.GENERATE.
This model currently supports conversation-bound generation through
conversation_id. Instances are used by Profile
generate overloads and by Session to keep a
conversation identifier across related generate calls.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic GenerateParams.Builderbuilder()Creates a builder for generate parameters.Returns the conversation identifier.booleanisEmpty()Returns whether this instance contains no configured generate parameters.toJson()Serializes the parameter payload using DBMS_CLOUD_AI snake_case names.
-
Method Details
-
getConversationId
Returns the conversation identifier.- Returns:
- conversation ID
-
isEmpty
Returns whether this instance contains no configured generate parameters.- Returns:
truewhen no generate parameters are configured
-
builder
Creates a builder for generate parameters.- Returns:
- new builder for constructing GenerateParams
-
toJson
Serializes the parameter payload using DBMS_CLOUD_AI snake_case names.- Returns:
- JSON representation of this GenerateParams instance
-