Discovery Engine v1 API - Class GroundedGenerationService.GroundedGenerationServiceBase (1.2.0)

[BindServiceMethod(typeof(GroundedGenerationService), "BindService")]
public abstract class GroundedGenerationService.GroundedGenerationServiceBase

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

Base class for server-side implementations of GroundedGenerationService

Inheritance

object > GroundedGenerationService.GroundedGenerationServiceBase

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Methods

CheckGrounding(CheckGroundingRequest, ServerCallContext)

public virtual Task<CheckGroundingResponse> CheckGrounding(CheckGroundingRequest request, ServerCallContext context)

Performs a grounding check.

Parameters
Name Description
request CheckGroundingRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskCheckGroundingResponse

The response to send back to the client (wrapped by a task).