AppVersionSnapshotAgent class
Constructors
-
AppVersionSnapshotAgent({Input<List<AppVersionSnapshotAgentAfterAgentCallback>?>? afterAgentCallbacks, Input<List<AppVersionSnapshotAgentAfterModelCallback>?>? afterModelCallbacks, Input<List<AppVersionSnapshotAgentAfterToolCallback>?>? afterToolCallbacks, Input<List<AppVersionSnapshotAgentBeforeAgentCallback>?>? beforeAgentCallbacks, Input<List<AppVersionSnapshotAgentBeforeModelCallback>?>? beforeModelCallbacks, Input<List<AppVersionSnapshotAgentBeforeToolCallback>?>? beforeToolCallbacks, Input<List<String>?>? childAgents, Input<String?>? createTime, Input<String?>? description, Input<String?>? displayName, Input<String?>? etag, Input<String?>? generatedSummary, Input<List<String>?>? guardrails, Input<String?>? instruction, Input<List<Map<String, dynamic>>?>? llmAgents, Input<List<AppVersionSnapshotAgentModelSetting>?>? modelSettings, Input<String?>? name, Input<List<AppVersionSnapshotAgentRemoteDialogflowAgent>?>? remoteDialogflowAgents, Input<List<String>?>? tools, Input<List<AppVersionSnapshotAgentToolset>?>? toolsets, Input<String?>? updateTime})
-
Creates a new AppVersionSnapshotAgent.
afterAgentCallbacks (Output)
afterModelCallbacks (Output)
afterToolCallbacks (Output)
beforeAgentCallbacks (Output)
beforeModelCallbacks (Output)
beforeToolCallbacks (Output)
childAgents (Output)
createTime (Output)
description The description of the app version.
displayName The display name of the app version.
etag (Output)
generatedSummary (Output)
guardrails (Output)
instruction (Output)
llmAgents (Output)
modelSettings (Output)
name (Output)
remoteDialogflowAgents (Output)
tools (Output)
toolsets (Output)
updateTime (Output)
const
-
AppVersionSnapshotAgent.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
afterAgentCallbacks
→ Input<List<AppVersionSnapshotAgentAfterAgentCallback>?>?
-
(Output)
The callbacks to execute after the agent is called.
The provided callbacks are executed sequentially in the exact order they
are given in the list. If a callback returns an overridden response,
execution stops and any remaining callbacks are skipped.
Structure is documented below.
final
-
afterModelCallbacks
→ Input<List<AppVersionSnapshotAgentAfterModelCallback>?>?
-
(Output)
The callbacks to execute after the model is called. If there are multiple
calls to the model, the callback will be executed multiple times.
The provided callbacks are executed sequentially in the exact order they
are given in the list. If a callback returns an overridden response,
execution stops and any remaining callbacks are skipped.
Structure is documented below.
final
-
afterToolCallbacks
→ Input<List<AppVersionSnapshotAgentAfterToolCallback>?>?
-
(Output)
The callbacks to execute after the tool is invoked. If there are multiple
tool invocations, the callback will be executed multiple times.
The provided callbacks are executed sequentially in the exact order they
are given in the list. If a callback returns an overridden response,
execution stops and any remaining callbacks are skipped.
Structure is documented below.
final
-
beforeAgentCallbacks
→ Input<List<AppVersionSnapshotAgentBeforeAgentCallback>?>?
-
(Output)
The callbacks to execute before the agent is called.
The provided callbacks are executed sequentially in the exact order they
are given in the list. If a callback returns an overridden response,
execution stops and any remaining callbacks are skipped.
Structure is documented below.
final
-
beforeModelCallbacks
→ Input<List<AppVersionSnapshotAgentBeforeModelCallback>?>?
-
(Output)
The callbacks to execute before the model is called. If there are multiple
calls to the model, the callback will be executed multiple times.
The provided callbacks are executed sequentially in the exact order they
are given in the list. If a callback returns an overridden response,
execution stops and any remaining callbacks are skipped.
Structure is documented below.
final
-
beforeToolCallbacks
→ Input<List<AppVersionSnapshotAgentBeforeToolCallback>?>?
-
(Output)
The callbacks to execute before the tool is invoked. If there are multiple
tool invocations, the callback will be executed multiple times.
The provided callbacks are executed sequentially in the exact order they
are given in the list. If a callback returns an overridden response,
execution stops and any remaining callbacks are skipped.
Structure is documented below.
final
-
childAgents
→ Input<List<String>?>?
-
(Output)
List of child agents in the agent tree.
Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}
final
-
createTime
→ Input<String?>?
-
(Output)
Timestamp when the toolset was created.
final
-
description
→ Input<String?>?
-
The description of the app version.
final
-
displayName
→ Input<String?>?
-
The display name of the app version.
final
-
etag
→ Input<String?>?
-
(Output)
ETag used to ensure the object hasn't changed during a read-modify-write
operation. If the etag is empty, the update will overwrite any concurrent
changes.
final
-
generatedSummary
→ Input<String?>?
-
(Output)
If the tool is generated by the LLM assistant, this field contains a
descriptive summary of the generation.
final
-
guardrails
→ Input<List<String>?>?
-
(Output)
List of guardrails for the app.
Format:
projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
instruction
→ Input<String?>?
-
(Output)
Instructions for the LLM model to guide the agent's behavior.
final
-
llmAgents
→ Input<List<Map<String, dynamic>>?>?
-
(Output)
Default agent type. The agent uses instructions and callbacks specified in
the agent to perform the task using a large language model.
final
-
modelSettings
→ Input<List<AppVersionSnapshotAgentModelSetting>?>?
-
(Output)
Model settings contains various configurations for the LLM model.
Structure is documented below.
final
-
name
→ Input<String?>?
-
(Output)
Identifier. The unique identifier of the toolset.
Format:
projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}
final
-
remoteDialogflowAgents
→ Input<List<AppVersionSnapshotAgentRemoteDialogflowAgent>?>?
-
(Output)
The agent which will transfer execution to an existing remote
Dialogflow
agent flow. The corresponding Dialogflow agent will process subsequent user
queries until the session ends or flow ends and the control is transferred
back to the parent CES agent.
Structure is documented below.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
tools
→ Input<List<String>?>?
-
(Output)
List of available tools for the agent.
Format:
projects/{project}/locations/{location}/apps/{app}/tools/{tool}
final
-
toolsets
→ Input<List<AppVersionSnapshotAgentToolset>?>?
-
(Output)
List of toolsets for the agent.
Structure is documented below.
final
-
updateTime
→ Input<String?>?
-
(Output)
Timestamp when the toolset was last updated.
final