Class TaskAttributes
java.lang.Object
com.oracle.database.selectai.model.agent.TaskAttributes
Attributes used to create or update a Select AI Agent task.
Values are serialized with the snake-case names expected by
DBMS_CLOUD_AI_AGENT. Lists are copied into immutable snapshots.
The SDK preserves nullable optional values and delegates semantic validation,
including relationships to tools and other tasks, to the database.
- Since:
- 1.1.0
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TaskAttributes.Builderbuilder()Creates a builder for task attributes.Returns whether human-tool use is enabled.getInput()Returns configured upstream task inputs.Returns the task instruction.getTools()Returns configured tool names.toJson()Serializes attributes using the snake-case names expected byDBMS_CLOUD_AI_AGENT.
-
Method Details
-
getInstruction
Returns the task instruction.- Returns:
- task instruction, or
nullwhen unset
-
getTools
Returns configured tool names.- Returns:
- immutable tool names, or
nullwhen unset
-
getInput
Returns configured upstream task inputs.- Returns:
- immutable upstream task names, or
nullwhen unset
-
getEnableHumanTool
Returns whether human-tool use is enabled.- Returns:
- whether human-tool use is enabled, or
nullwhen unset
-
builder
Creates a builder for task attributes.- Returns:
- mutable builder for task attributes
-
toJson
Serializes attributes using the snake-case names expected byDBMS_CLOUD_AI_AGENT.- Returns:
- JSON object containing non-null attributes
- Throws:
IllegalStateException- when the attributes cannot be serialized
-