Class TaskAttributes.Builder
java.lang.Object
com.oracle.database.selectai.model.agent.TaskAttributes.Builder
- Enclosing class:
TaskAttributes
Builder for
TaskAttributes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds immutable task attributes.enableHumanTool(Boolean enableHumanTool) Sets whether this task can request human input.Sets upstream task names used as input.instruction(String instruction) Sets the task instruction.Sets the names of tools available to the task.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instruction
Sets the task instruction.- Parameters:
instruction- task instruction- Returns:
- this builder
-
tools
Sets the names of tools available to the task.- Parameters:
tools- tool names; the list is copied by the builder- Returns:
- this builder
-
input
Sets upstream task names used as input.- Parameters:
input- upstream task names; the list is copied by the builder- Returns:
- this builder
-
enableHumanTool
Sets whether this task can request human input.- Parameters:
enableHumanTool- whether human-tool requests are enabled- Returns:
- this builder
-
build
Builds immutable task attributes.
-