Vertex AI v1beta1 API - Class ConversationTurn (1.0.0-beta77)

public sealed class ConversationTurn : IMessage<ConversationTurn>, IEquatable<ConversationTurn>, IDeepCloneable<ConversationTurn>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1beta1 API class ConversationTurn.

Represents a single turn/invocation in the conversation.

Inheritance

object > ConversationTurn

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

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