Class RunTeamParams

java.lang.Object
com.oracle.database.selectai.model.agent.RunTeamParams

public final class RunTeamParams extends Object
Typed runtime parameters for DBMS_CLOUD_AI_AGENT.RUN_TEAM.

The model represents the documented runtime parameter groups and serializes them to the JSON CLOB expected by the database package. Values supplied in maps are snapshotted when the builder method is called, so later caller mutations cannot change a request that has already been built. Decimal values are retained as BigDecimal rather than rounded to binary floating-point values during the snapshot.

For runnable examples, see RunTeamSample source and RunTeamParamsSample source.

Since:
1.1.0
  • Method Details

    • builder

      public static RunTeamParams.Builder builder()
      Creates a builder for team runtime parameters.
      Returns:
      mutable builder for team runtime parameters
    • forConversationId

      public static RunTeamParams forConversationId(String conversationId)
      Creates parameters for one database conversation.
      Parameters:
      conversationId - database-created conversation identifier
      Returns:
      immutable team runtime parameters
      Throws:
      IllegalArgumentException - when the identifier is null or blank
    • getConversationId

      Returns the optional database conversation identifier.
      Returns:
      conversation identifier, or null when unset
    • getInstructionVariables

      Returns instruction variables, or null when unset.
      Returns:
      immutable instruction variables, or null
    • getAttributeVariables

      Returns attribute variables, or null when unset.
      Returns:
      immutable attribute variables, or null
    • getStateVariables

      Returns state variables, or null when unset.
      Returns:
      immutable state variables, or null
    • toParamsJson

      public String toParamsJson()
      Serializes these parameters for the database package.
      Returns:
      JSON object, or null when no parameters were supplied