Cloud AI Platform v1 API - Class LlmUtilityService (2.21.0)

public static class LlmUtilityService

Reference documentation and code samples for the Cloud AI Platform v1 API class LlmUtilityService.

Service for LLM related utility functions.

Inheritance

object > LlmUtilityService

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Methods

BindService(LlmUtilityServiceBase)

public static ServerServiceDefinition BindService(LlmUtilityService.LlmUtilityServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplLlmUtilityServiceLlmUtilityServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, LlmUtilityServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, LlmUtilityService.LlmUtilityServiceBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplLlmUtilityServiceLlmUtilityServiceBase

An object implementing the server-side handling logic.