Class GenerateParams

java.lang.Object
com.oracle.database.selectai.model.GenerateParams

public final class GenerateParams extends Object
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:
  • Method Details

    • getConversationId

      Returns the conversation identifier.
      Returns:
      conversation ID
    • isEmpty

      public boolean isEmpty()
      Returns whether this instance contains no configured generate parameters.
      Returns:
      true when no generate parameters are configured
    • builder

      Creates a builder for generate parameters.
      Returns:
      new builder for constructing GenerateParams
    • toJson

      public String toJson()
      Serializes the parameter payload using DBMS_CLOUD_AI snake_case names.
      Returns:
      JSON representation of this GenerateParams instance