public sealed class VertexRagServiceClientImpl : VertexRagServiceClient
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class VertexRagServiceClientImpl.
VertexRagService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Remarks
A service for retrieving relevant contexts.
Constructors
VertexRagServiceClientImpl(VertexRagServiceClient, VertexRagServiceSettings, ILogger)
public VertexRagServiceClientImpl(VertexRagService.VertexRagServiceClient grpcClient, VertexRagServiceSettings settings, ILogger logger)
Constructs a client wrapper for the VertexRagService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient |
VertexRagServiceVertexRagServiceClient The underlying gRPC client. |
settings |
VertexRagServiceSettings The base VertexRagServiceSettings used within this client. |
logger |
ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override VertexRagService.VertexRagServiceClient GrpcClient { get; }
The underlying gRPC VertexRagService client
Property Value | |
---|---|
Type | Description |
VertexRagServiceVertexRagServiceClient |
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }
The IAMPolicyClient associated with this client.
Property Value | |
---|---|
Type | Description |
IAMPolicyClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
Methods
RetrieveContexts(RetrieveContextsRequest, CallSettings)
public override RetrieveContextsResponse RetrieveContexts(RetrieveContextsRequest request, CallSettings callSettings = null)
Retrieves relevant contexts for a query.
Parameters | |
---|---|
Name | Description |
request |
RetrieveContextsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
RetrieveContextsResponse |
The RPC response. |
RetrieveContextsAsync(RetrieveContextsRequest, CallSettings)
public override Task<RetrieveContextsResponse> RetrieveContextsAsync(RetrieveContextsRequest request, CallSettings callSettings = null)
Retrieves relevant contexts for a query.
Parameters | |
---|---|
Name | Description |
request |
RetrieveContextsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskRetrieveContextsResponse |
A Task containing the RPC response. |