public sealed class EvaluationInstance.Types.DeprecatedAgentData.Types.AgentEvent : IMessage<EvaluationInstance.Types.DeprecatedAgentData.Types.AgentEvent>, IEquatable<EvaluationInstance.Types.DeprecatedAgentData.Types.AgentEvent>, IDeepCloneable<EvaluationInstance.Types.DeprecatedAgentData.Types.AgentEvent>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class EvaluationInstance.Types.DeprecatedAgentData.Types.AgentEvent.
A single event in the execution trace.
Implements
IMessageEvaluationInstanceTypesDeprecatedAgentDataTypesAgentEvent, IEquatableEvaluationInstanceTypesDeprecatedAgentDataTypesAgentEvent, IDeepCloneableEvaluationInstanceTypesDeprecatedAgentDataTypesAgentEvent, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
AgentEvent()
public AgentEvent()AgentEvent(AgentEvent)
public AgentEvent(EvaluationInstance.Types.DeprecatedAgentData.Types.AgentEvent other)| Parameter | |
|---|---|
| Name | Description |
other |
EvaluationInstanceTypesDeprecatedAgentDataTypesAgentEvent |
Properties
ActiveTools
public RepeatedField<Tool> ActiveTools { get; }Optional. The list of tools that were active/available to the agent at
the time of this event. This overrides the AgentConfig.tools if set.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldTool |
|
Author
public string Author { get; set; }Required. The ID of the agent or entity that generated this event.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Content
public Content Content { get; set; }Required. The content of the event (e.g., text response, tool call, tool response).
| Property Value | |
|---|---|
| Type | Description |
Content |
|
EventTime
public Timestamp EventTime { get; set; }Optional. The timestamp when the event occurred.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
HasAuthor
public bool HasAuthor { get; }Gets whether the "author" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
StateDelta
public Struct StateDelta { get; set; }Optional. The change in the session state caused by this event. This is a key-value map of fields that were modified or added by the event.
| Property Value | |
|---|---|
| Type | Description |
Struct |
|