Discovery Engine v1 API - Class AssistantContent (1.9.0)

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

Reference documentation and code samples for the Discovery Engine v1 API class AssistantContent.

Multi-modal content.

Inheritance

object > AssistantContent

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

AssistantContent()

public AssistantContent()

AssistantContent(AssistantContent)

public AssistantContent(AssistantContent other)
Parameter
Name Description
other AssistantContent

Properties

CodeExecutionResult

public AssistantContent.Types.CodeExecutionResult CodeExecutionResult { get; set; }

Result of executing an ExecutableCode.

Property Value
Type Description
AssistantContentTypesCodeExecutionResult

DataCase

public AssistantContent.DataOneofCase DataCase { get; }
Property Value
Type Description
AssistantContentDataOneofCase

ExecutableCode

public AssistantContent.Types.ExecutableCode ExecutableCode { get; set; }

Code generated by the model that is meant to be executed.

Property Value
Type Description
AssistantContentTypesExecutableCode

File

public AssistantContent.Types.File File { get; set; }

A file, e.g., an audio summary.

Property Value
Type Description
AssistantContentTypesFile

HasText

public bool HasText { get; }

Gets whether the "text" field is set

Property Value
Type Description
bool

InlineData

public AssistantContent.Types.Blob InlineData { get; set; }

Inline binary data.

Property Value
Type Description
AssistantContentTypesBlob

Role

public string Role { get; set; }

The producer of the content. Can be "model" or "user".

Property Value
Type Description
string

Text

public string Text { get; set; }

Inline text.

Property Value
Type Description
string

Thought

public bool Thought { get; set; }

Optional. Indicates if the part is thought from the model.

Property Value
Type Description
bool