Class VertexRagServiceGrpc.VertexRagServiceFutureStub (3.50.0)

public static final class VertexRagServiceGrpc.VertexRagServiceFutureStub extends AbstractFutureStub<VertexRagServiceGrpc.VertexRagServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service VertexRagService.

A service for retrieving relevant contexts.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > VertexRagServiceGrpc.VertexRagServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected VertexRagServiceGrpc.VertexRagServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
VertexRagServiceGrpc.VertexRagServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

retrieveContexts(RetrieveContextsRequest request)

public ListenableFuture<RetrieveContextsResponse> retrieveContexts(RetrieveContextsRequest request)

Retrieves relevant contexts for a query.

Parameter
Name Description
request RetrieveContextsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<RetrieveContextsResponse>