Class VertexRagServiceGrpc.VertexRagServiceStub (3.46.0)

public static final class VertexRagServiceGrpc.VertexRagServiceStub extends AbstractAsyncStub<VertexRagServiceGrpc.VertexRagServiceStub>

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

A service for retrieving relevant contexts.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > VertexRagServiceGrpc.VertexRagServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

retrieveContexts(RetrieveContextsRequest request, StreamObserver<RetrieveContextsResponse> responseObserver)

public void retrieveContexts(RetrieveContextsRequest request, StreamObserver<RetrieveContextsResponse> responseObserver)

Retrieves relevant contexts for a query.

Parameters
Name Description
request RetrieveContextsRequest
responseObserver io.grpc.stub.StreamObserver<RetrieveContextsResponse>