Class ConversationModelsGrpc.ConversationModelsImplBase (4.7.5)

public abstract static class ConversationModelsGrpc.ConversationModelsImplBase implements BindableService

Manages a collection of models for human agent assistant.

Inheritance

java.lang.Object > ConversationModelsGrpc.ConversationModelsImplBase

Implements

io.grpc.BindableService

Constructors

ConversationModelsImplBase()

public ConversationModelsImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

createConversationModel(CreateConversationModelRequest request, StreamObserver<Operation> responseObserver)

public void createConversationModel(CreateConversationModelRequest request, StreamObserver<Operation> responseObserver)

Creates a model. This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: CreateConversationModelOperationMetadata
  • response: ConversationModel
Parameters
NameDescription
requestCreateConversationModelRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createConversationModelEvaluation(CreateConversationModelEvaluationRequest request, StreamObserver<Operation> responseObserver)

public void createConversationModelEvaluation(CreateConversationModelEvaluationRequest request, StreamObserver<Operation> responseObserver)

Creates evaluation of a conversation model.

Parameters
NameDescription
requestCreateConversationModelEvaluationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteConversationModel(DeleteConversationModelRequest request, StreamObserver<Operation> responseObserver)

public void deleteConversationModel(DeleteConversationModelRequest request, StreamObserver<Operation> responseObserver)

Deletes a model. This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: DeleteConversationModelOperationMetadata
  • response: An Empty message
Parameters
NameDescription
requestDeleteConversationModelRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deployConversationModel(DeployConversationModelRequest request, StreamObserver<Operation> responseObserver)

public void deployConversationModel(DeployConversationModelRequest request, StreamObserver<Operation> responseObserver)

Deploys a model. If a model is already deployed, deploying it has no effect. A model can only serve prediction requests after it gets deployed. For article suggestion, custom model will not be used unless it is deployed. This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: DeployConversationModelOperationMetadata
  • response: An Empty message
Parameters
NameDescription
requestDeployConversationModelRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getConversationModel(GetConversationModelRequest request, StreamObserver<ConversationModel> responseObserver)

public void getConversationModel(GetConversationModelRequest request, StreamObserver<ConversationModel> responseObserver)

Gets conversation model.

Parameters
NameDescription
requestGetConversationModelRequest
responseObserverio.grpc.stub.StreamObserver<ConversationModel>

getConversationModelEvaluation(GetConversationModelEvaluationRequest request, StreamObserver<ConversationModelEvaluation> responseObserver)

public void getConversationModelEvaluation(GetConversationModelEvaluationRequest request, StreamObserver<ConversationModelEvaluation> responseObserver)

Gets an evaluation of conversation model.

Parameters
NameDescription
requestGetConversationModelEvaluationRequest
responseObserverio.grpc.stub.StreamObserver<ConversationModelEvaluation>

listConversationModelEvaluations(ListConversationModelEvaluationsRequest request, StreamObserver<ListConversationModelEvaluationsResponse> responseObserver)

public void listConversationModelEvaluations(ListConversationModelEvaluationsRequest request, StreamObserver<ListConversationModelEvaluationsResponse> responseObserver)

Lists evaluations of a conversation model.

Parameters
NameDescription
requestListConversationModelEvaluationsRequest
responseObserverio.grpc.stub.StreamObserver<ListConversationModelEvaluationsResponse>

listConversationModels(ListConversationModelsRequest request, StreamObserver<ListConversationModelsResponse> responseObserver)

public void listConversationModels(ListConversationModelsRequest request, StreamObserver<ListConversationModelsResponse> responseObserver)

Lists conversation models.

Parameters
NameDescription
requestListConversationModelsRequest
responseObserverio.grpc.stub.StreamObserver<ListConversationModelsResponse>

undeployConversationModel(UndeployConversationModelRequest request, StreamObserver<Operation> responseObserver)

public void undeployConversationModel(UndeployConversationModelRequest request, StreamObserver<Operation> responseObserver)

Undeploys a model. If the model is not deployed this method has no effect. If the model is currently being used:

  • For article suggestion, article suggestion will fallback to the default model if model is undeployed. This method is a long-running operation. The returned Operation type has the following method-specific fields:
    • metadata: UndeployConversationModelOperationMetadata
    • response: An Empty message
Parameters
NameDescription
requestUndeployConversationModelRequest
responseObserverio.grpc.stub.StreamObserver<Operation>