public static final class LlmUtilityServiceGrpc.LlmUtilityServiceFutureStub extends io.grpc.stub.AbstractFutureStub<LlmUtilityServiceGrpc.LlmUtilityServiceFutureStub>
Service for LLM related utility functions.
| Modifier and Type | Method and Description |
|---|---|
protected LlmUtilityServiceGrpc.LlmUtilityServiceFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<ComputeTokensResponse> |
computeTokens(ComputeTokensRequest request)
Return a list of tokens based on the input text.
|
protected LlmUtilityServiceGrpc.LlmUtilityServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<LlmUtilityServiceGrpc.LlmUtilityServiceFutureStub>public com.google.common.util.concurrent.ListenableFuture<ComputeTokensResponse> computeTokens(ComputeTokensRequest request)
Return a list of tokens based on the input text.
Copyright © 2024 Google LLC. All rights reserved.