public sealed class ConversationTurn : IMessage<ConversationTurn>, IEquatable<ConversationTurn>, IDeepCloneable<ConversationTurn>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class ConversationTurn.
Represents a single turn/invocation in the conversation.
Implements
IMessageConversationTurn, IEquatableConversationTurn, IDeepCloneableConversationTurn, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
ConversationTurn()
public ConversationTurn()ConversationTurn(ConversationTurn)
public ConversationTurn(ConversationTurn other)| Parameter | |
|---|---|
| Name | Description |
other |
ConversationTurn |
Properties
Events
public RepeatedField<AgentEvent> Events { get; }Optional. The list of events that occurred during this turn.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldAgentEvent |
|
HasTurnIndex
public bool HasTurnIndex { get; }Gets whether the "turn_index" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
TurnId
public string TurnId { get; set; }Optional. A unique identifier for the turn. Useful for referencing specific turns across systems.
| Property Value | |
|---|---|
| Type | Description |
string |
|
TurnIndex
public int TurnIndex { get; set; }Required. The 0-based index of the turn in the conversation sequence.
| Property Value | |
|---|---|
| Type | Description |
int |
|