- 4.53.0 (latest)
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static interface ConversationModelsGrpc.AsyncService
Manages a collection of models for human agent assistant.
Methods
createConversationModel(CreateConversationModelRequest request, StreamObserver<Operation> responseObserver)
public default 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
: CreateConversationModelOperationMetadataresponse
: ConversationModel
Parameters | |
---|---|
Name | Description |
request |
CreateConversationModelRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
createConversationModelEvaluation(CreateConversationModelEvaluationRequest request, StreamObserver<Operation> responseObserver)
public default void createConversationModelEvaluation(CreateConversationModelEvaluationRequest request, StreamObserver<Operation> responseObserver)
Creates evaluation of a conversation model.
Parameters | |
---|---|
Name | Description |
request |
CreateConversationModelEvaluationRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deleteConversationModel(DeleteConversationModelRequest request, StreamObserver<Operation> responseObserver)
public default 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
: DeleteConversationModelOperationMetadataresponse
: An Empty message
Parameters | |
---|---|
Name | Description |
request |
DeleteConversationModelRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deployConversationModel(DeployConversationModelRequest request, StreamObserver<Operation> responseObserver)
public default 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
: DeployConversationModelOperationMetadataresponse
: An Empty message
Parameters | |
---|---|
Name | Description |
request |
DeployConversationModelRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
getConversationModel(GetConversationModelRequest request, StreamObserver<ConversationModel> responseObserver)
public default void getConversationModel(GetConversationModelRequest request, StreamObserver<ConversationModel> responseObserver)
Gets conversation model.
Parameters | |
---|---|
Name | Description |
request |
GetConversationModelRequest |
responseObserver |
io.grpc.stub.StreamObserver<ConversationModel> |
getConversationModelEvaluation(GetConversationModelEvaluationRequest request, StreamObserver<ConversationModelEvaluation> responseObserver)
public default void getConversationModelEvaluation(GetConversationModelEvaluationRequest request, StreamObserver<ConversationModelEvaluation> responseObserver)
Gets an evaluation of conversation model.
Parameters | |
---|---|
Name | Description |
request |
GetConversationModelEvaluationRequest |
responseObserver |
io.grpc.stub.StreamObserver<ConversationModelEvaluation> |
listConversationModelEvaluations(ListConversationModelEvaluationsRequest request, StreamObserver<ListConversationModelEvaluationsResponse> responseObserver)
public default void listConversationModelEvaluations(ListConversationModelEvaluationsRequest request, StreamObserver<ListConversationModelEvaluationsResponse> responseObserver)
Lists evaluations of a conversation model.
Parameters | |
---|---|
Name | Description |
request |
ListConversationModelEvaluationsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListConversationModelEvaluationsResponse> |
listConversationModels(ListConversationModelsRequest request, StreamObserver<ListConversationModelsResponse> responseObserver)
public default void listConversationModels(ListConversationModelsRequest request, StreamObserver<ListConversationModelsResponse> responseObserver)
Lists conversation models.
Parameters | |
---|---|
Name | Description |
request |
ListConversationModelsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListConversationModelsResponse> |
undeployConversationModel(UndeployConversationModelRequest request, StreamObserver<Operation> responseObserver)
public default 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
: UndeployConversationModelOperationMetadataresponse
: An Empty message
Parameters | |
---|---|
Name | Description |
request |
UndeployConversationModelRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |