Class RunTeamParams
java.lang.Object
com.oracle.database.selectai.model.agent.RunTeamParams
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for immutable team runtime parameters. -
Method Summary
Modifier and TypeMethodDescriptionstatic RunTeamParams.Builderbuilder()Creates a builder for team runtime parameters.static RunTeamParamsforConversationId(String conversationId) Creates parameters for one database conversation.Returns attribute variables, ornullwhen unset.Returns the optional database conversation identifier.Returns instruction variables, ornullwhen unset.Returns state variables, ornullwhen unset.Serializes these parameters for the database package.
-
Method Details
-
builder
Creates a builder for team runtime parameters.- Returns:
- mutable builder for team runtime parameters
-
forConversationId
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
nullwhen unset
-
getInstructionVariables
Returns instruction variables, ornullwhen unset.- Returns:
- immutable instruction variables, or
null
-
getAttributeVariables
Returns attribute variables, ornullwhen unset.- Returns:
- immutable attribute variables, or
null
-
getStateVariables
Returns state variables, ornullwhen unset.- Returns:
- immutable state variables, or
null
-
toParamsJson
Serializes these parameters for the database package.- Returns:
- JSON object, or
nullwhen no parameters were supplied
-