Class RunTeamRequest
java.lang.Object
com.oracle.database.selectai.model.agent.RunTeamRequest
Input and optional runtime parameters for
Team.run(RunTeamRequest)
and SelectAIAgent.runTeam(String, RunTeamRequest).
For a run without established database session context, supply a
conversation identifier returned by Conversation.create() or
DBMS_CLOUD_AI.CREATE_CONVERSATION; an arbitrary client-generated ID
is not sufficient. Reuse the same identifier for an initial run and a later
call that resumes a team waiting for human input, including across pooled
database connections. The caller must retain the identifier between calls.
Use RunTeamParams to provide the complete typed runtime-parameter
object. The convenience builder methods on this class are equivalent.
Runtime maps are copied when set and are not included in diagnostic output
by this class.
For a runnable example, see RunTeamSample source.
- Since:
- 1.1.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RunTeamRequest.Builderbuilder()Creates a builder for a team run.Returns immutable attribute variables, ornullwhen unset.Returns the optional conversation identifier.Returns immutable instruction variables, ornullwhen unset.Returns the typed runtime parameters, ornullwhen unset.Returns immutable state variables, ornullwhen unset.Returns the optional prompt or response supplied to the team.Returns the database params JSON, ornullwhen no runtime parameters were set.
-
Method Details
-
getUserPrompt
Returns the optional prompt or response supplied to the team.- Returns:
- user prompt or human response, or
nullwhen unset
-
getConversationId
Returns the optional conversation identifier.- Returns:
- conversation identifier, or
nullwhen unset
-
getInstructionVariables
Returns immutable instruction variables, ornullwhen unset.- Returns:
- immutable instruction variables, or
null
-
getAttributeVariables
Returns immutable attribute variables, ornullwhen unset.- Returns:
- immutable attribute variables, or
null
-
getStateVariables
Returns immutable state variables, ornullwhen unset.- Returns:
- immutable state variables, or
null
-
getParams
Returns the typed runtime parameters, ornullwhen unset.- Returns:
- immutable runtime parameters, or
null
-
toParamsJson
Returns the database params JSON, ornullwhen no runtime parameters were set.- Returns:
- serialized runtime parameters, or
null
-
builder
Creates a builder for a team run.- Returns:
- mutable builder for a team-run request
-