Class VertexRagServiceGrpc.VertexRagServiceBlockingStub (3.46.0)

public static final class VertexRagServiceGrpc.VertexRagServiceBlockingStub extends AbstractBlockingStub<VertexRagServiceGrpc.VertexRagServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service VertexRagService.

A service for retrieving relevant contexts.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > VertexRagServiceGrpc.VertexRagServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

retrieveContexts(RetrieveContextsRequest request)

public RetrieveContextsResponse retrieveContexts(RetrieveContextsRequest request)

Retrieves relevant contexts for a query.

Parameter
Name Description
request RetrieveContextsRequest
Returns
Type Description
RetrieveContextsResponse