[BindServiceMethod(typeof(GroundedGenerationService), "BindService")]
public abstract class GroundedGenerationService.GroundedGenerationServiceBase
Reference documentation and code samples for the Discovery Engine v1beta API class GroundedGenerationService.GroundedGenerationServiceBase.
Base class for server-side implementations of GroundedGenerationService
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.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). |