Class RunTeamParams.Builder
java.lang.Object
com.oracle.database.selectai.model.agent.RunTeamParams.Builder
- Enclosing class:
RunTeamParams
Builder for immutable team runtime parameters.
-
Method Summary
Modifier and TypeMethodDescriptionattributeVariables(Map<String, ?> attributeVariables) Sets attribute variables as a snapshot of a JSON-compatible map.build()Builds immutable team runtime parameters.conversationId(String conversationId) Sets an application-managed conversation identifier.instructionVariables(Map<String, ?> instructionVariables) Sets instruction variables as a snapshot of a JSON-compatible map.stateVariables(Map<String, ?> stateVariables) Sets state variables as a snapshot of a JSON-compatible map.
-
Method Details
-
conversationId
Sets an application-managed conversation identifier.- Parameters:
conversationId- database-created conversation identifier- Returns:
- this builder
- Throws:
IllegalArgumentException- when the identifier is null or blank
-
instructionVariables
Sets instruction variables as a snapshot of a JSON-compatible map.- Parameters:
instructionVariables- values substituted into task instructions- Returns:
- this builder
- Throws:
IllegalArgumentException- when the map is not JSON-compatible
-
attributeVariables
Sets attribute variables as a snapshot of a JSON-compatible map.- Parameters:
attributeVariables- values that override configurable attributes- Returns:
- this builder
- Throws:
IllegalArgumentException- when the map is not JSON-compatible
-
stateVariables
Sets state variables as a snapshot of a JSON-compatible map.- Parameters:
stateVariables- values shared between tools during a run- Returns:
- this builder
- Throws:
IllegalArgumentException- when the map is not JSON-compatible
-
build
Builds immutable team runtime parameters.- Returns:
- immutable team runtime parameters
-