Cloud AI Platform v1beta1 API - Class QueryExtensionRequest (1.0.0-beta09)

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

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class QueryExtensionRequest.

Request message for [ExtensionExecutionService.QueryExtension][google.cloud.aiplatform.v1beta1.ExtensionExecutionService.QueryExtension].

Inheritance

object > QueryExtensionRequest

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

QueryExtensionRequest()

public QueryExtensionRequest()

QueryExtensionRequest(QueryExtensionRequest)

public QueryExtensionRequest(QueryExtensionRequest other)
Parameter
Name Description
other QueryExtensionRequest

Properties

Contents

public RepeatedField<Content> Contents { get; }

Required. The content of the current conversation with the model.

For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.

Property Value
Type Description
RepeatedFieldContent

ExtensionName

public ExtensionName ExtensionName { get; set; }

ExtensionName-typed view over the Name resource name property.

Property Value
Type Description
ExtensionName

Name

public string Name { get; set; }

Required. Name (identifier) of the extension; Format: projects/{project}/locations/{location}/extensions/{extension}

Property Value
Type Description
string