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