Vertex AI v1beta1 API - Class ContentsExample (1.0.0-beta24)

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

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

A single example of a conversation with the model.

Inheritance

object > ContentsExample

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

ContentsExample()

public ContentsExample()

ContentsExample(ContentsExample)

public ContentsExample(ContentsExample other)
Parameter
Name Description
other ContentsExample

Properties

Contents

public RepeatedField<Content> Contents { get; }

Required. The content of the conversation with the model that resulted in the expected output.

Property Value
Type Description
RepeatedFieldContent

ExpectedContents

public RepeatedField<ContentsExample.Types.ExpectedContent> ExpectedContents { get; }

Required. The expected output for the given contents. To represent multi-step reasoning, this is a repeated field that contains the iterative steps of the expected output.

Property Value
Type Description
RepeatedFieldContentsExampleTypesExpectedContent