Sha256: 7e65d11ea8d00f2892019638827ad2f0e388c67a782e2dceb7419e8f805062a4
Contents?: true
Size: 1.68 KB
Versions: 23
Compression:
Stored size: 1.68 KB
Contents
# Generated by the protocol buffer compiler. DO NOT EDIT! # Source: google/cloud/aiplatform/v1/llm_utility_service.proto for package 'Google.Cloud.AIPlatform.V1' # Original file comments: # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # require 'grpc' require 'google/cloud/aiplatform/v1/llm_utility_service_pb' module Google module Cloud module AIPlatform module V1 module LlmUtilityService # Service for LLM related utility functions. class Service include ::GRPC::GenericService self.marshal_class_method = :encode self.unmarshal_class_method = :decode self.service_name = 'google.cloud.aiplatform.v1.LlmUtilityService' # Perform a token counting. rpc :CountTokens, ::Google::Cloud::AIPlatform::V1::CountTokensRequest, ::Google::Cloud::AIPlatform::V1::CountTokensResponse # Return a list of tokens based on the input text. rpc :ComputeTokens, ::Google::Cloud::AIPlatform::V1::ComputeTokensRequest, ::Google::Cloud::AIPlatform::V1::ComputeTokensResponse end Stub = Service.rpc_stub_class end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems