public sealed class AssistantChunk : IMessage<AssistantChunk>, IEquatable<AssistantChunk>, IDeepCloneable<AssistantChunk>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class AssistantChunk.
A chunk of data in an assistant message.
Implements
IMessageAssistantChunk, IEquatableAssistantChunk, IDeepCloneableAssistantChunk, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1BetaAssembly
Google.Cloud.Ces.V1Beta.dll
Constructors
AssistantChunk()
public AssistantChunk()AssistantChunk(AssistantChunk)
public AssistantChunk(AssistantChunk other)| Parameter | |
|---|---|
| Name | Description |
other |
AssistantChunk |
Properties
CreateTime
public Timestamp CreateTime { get; set; }Optional. Timestamp when the chunk was created or emitted.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
DataCase
public AssistantChunk.DataOneofCase DataCase { get; }| Property Value | |
|---|---|
| Type | Description |
AssistantChunkDataOneofCase |
|
HasText
public bool HasText { get; }Gets whether the "text" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasThought
public bool HasThought { get; }Gets whether the "thought" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Payload
public Struct Payload { get; set; }Optional. Payload which contains structured responses like the quality report, agent version name, suggested responses etc.
| Property Value | |
|---|---|
| Type | Description |
Struct |
|
Text
public string Text { get; set; }Optional. Text data.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Thought
public string Thought { get; set; }Optional. Thought generated by the model.
| Property Value | |
|---|---|
| Type | Description |
string |
|
TypedPayload
public TypedPayload TypedPayload { get; set; }Optional. Typed payload which contains structured responses.
| Property Value | |
|---|---|
| Type | Description |
TypedPayload |
|