Interface GroundedGenerationServiceGrpc.AsyncService (0.49.0)

public static interface GroundedGenerationServiceGrpc.AsyncService

Service for grounded generation.

Methods

checkGrounding(CheckGroundingRequest request, StreamObserver<CheckGroundingResponse> responseObserver)

public default void checkGrounding(CheckGroundingRequest request, StreamObserver<CheckGroundingResponse> responseObserver)

Performs a grounding check.

Parameters
Name Description
request CheckGroundingRequest
responseObserver io.grpc.stub.StreamObserver<CheckGroundingResponse>

generateGroundedContent(GenerateGroundedContentRequest request, StreamObserver<GenerateGroundedContentResponse> responseObserver)

public default void generateGroundedContent(GenerateGroundedContentRequest request, StreamObserver<GenerateGroundedContentResponse> responseObserver)

Generates grounded content.

Parameters
Name Description
request GenerateGroundedContentRequest
responseObserver io.grpc.stub.StreamObserver<GenerateGroundedContentResponse>

streamGenerateGroundedContent(StreamObserver<GenerateGroundedContentResponse> responseObserver)

public default StreamObserver<GenerateGroundedContentRequest> streamGenerateGroundedContent(StreamObserver<GenerateGroundedContentResponse> responseObserver)

Generates grounded content in a streaming fashion.

Parameter
Name Description
responseObserver io.grpc.stub.StreamObserver<GenerateGroundedContentResponse>
Returns
Type Description
io.grpc.stub.StreamObserver<GenerateGroundedContentRequest>