Interface LlmUtilityServiceGrpc.AsyncService (3.45.0)

public static interface LlmUtilityServiceGrpc.AsyncService

Service for LLM related utility functions.

Methods

computeTokens(ComputeTokensRequest request, StreamObserver<ComputeTokensResponse> responseObserver)

public default void computeTokens(ComputeTokensRequest request, StreamObserver<ComputeTokensResponse> responseObserver)

Return a list of tokens based on the input text.

Parameters
Name Description
request ComputeTokensRequest
responseObserver io.grpc.stub.StreamObserver<ComputeTokensResponse>