public sealed class SessionEvent : IMessage<SessionEvent>, IEquatable<SessionEvent>, IDeepCloneable<SessionEvent>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class SessionEvent.
An event represents a message from either the user or agent.
Implements
IMessageSessionEvent, IEquatableSessionEvent, IDeepCloneableSessionEvent, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
SessionEvent()
public SessionEvent()
SessionEvent(SessionEvent)
public SessionEvent(SessionEvent other)
Parameter | |
---|---|
Name | Description |
other |
SessionEvent |
Properties
Actions
public EventActions Actions { get; set; }
Optional. Actions executed by the agent.
Property Value | |
---|---|
Type | Description |
EventActions |
Author
public string Author { get; set; }
Required. The name of the agent that sent the event, or user.
Property Value | |
---|---|
Type | Description |
string |
Content
public Content Content { get; set; }
Optional. Content of the event provided by the author.
Property Value | |
---|---|
Type | Description |
Content |
ErrorCode
public string ErrorCode { get; set; }
Optional. Error code if the response is an error. Code varies by model.
Property Value | |
---|---|
Type | Description |
string |
ErrorMessage
public string ErrorMessage { get; set; }
Optional. Error message if the response is an error.
Property Value | |
---|---|
Type | Description |
string |
EventMetadata
public EventMetadata EventMetadata { get; set; }
Optional. Metadata relating to this event.
Property Value | |
---|---|
Type | Description |
EventMetadata |
InvocationId
public string InvocationId { get; set; }
Required. The invocation id of the event, multiple events can have the same invocation id.
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Required. Identifier. The resource name of the event.
Format:projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}
.
Property Value | |
---|---|
Type | Description |
string |
SessionEventName
public SessionEventName SessionEventName { get; set; }
SessionEventName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
SessionEventName |
Timestamp
public Timestamp Timestamp { get; set; }
Required. Timestamp when the event was created on client side.
Property Value | |
---|---|
Type | Description |
Timestamp |