Cloud AI Platform v1 API - Class RetrieveContextsRequest (3.13.0)

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

Reference documentation and code samples for the Cloud AI Platform v1 API class RetrieveContextsRequest.

Request message for [VertexRagService.RetrieveContexts][google.cloud.aiplatform.v1.VertexRagService.RetrieveContexts].

Inheritance

object > RetrieveContextsRequest

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

RetrieveContextsRequest()

public RetrieveContextsRequest()

RetrieveContextsRequest(RetrieveContextsRequest)

public RetrieveContextsRequest(RetrieveContextsRequest other)
Parameter
Name Description
other RetrieveContextsRequest

Properties

DataSourceCase

public RetrieveContextsRequest.DataSourceOneofCase DataSourceCase { get; }
Property Value
Type Description
RetrieveContextsRequestDataSourceOneofCase

Parent

public string Parent { get; set; }

Required. The resource name of the Location from which to retrieve RagContexts. The users must have permission to make a call in the project. Format: projects/{project}/locations/{location}.

Property Value
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName

Query

public RagQuery Query { get; set; }

Required. Single RAG retrieve query.

Property Value
Type Description
RagQuery

VertexRagStore

public RetrieveContextsRequest.Types.VertexRagStore VertexRagStore { get; set; }

The data source for Vertex RagStore.

Property Value
Type Description
RetrieveContextsRequestTypesVertexRagStore