- 4.60.0 (latest)
- 4.59.0
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 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 final class ConversationModelsGrpc.ConversationModelsFutureStub extends AbstractFutureStub<ConversationModelsGrpc.ConversationModelsFutureStub>
Manages a collection of models for human agent assistant.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ConversationModelsGrpc.ConversationModelsFutureStubMethods
build(Channel channel, CallOptions callOptions)
protected ConversationModelsGrpc.ConversationModelsFutureStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
ConversationModelsGrpc.ConversationModelsFutureStub |
createConversationModel(CreateConversationModelRequest request)
public ListenableFuture<Operation> createConversationModel(CreateConversationModelRequest request)
Creates a model.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: CreateConversationModelOperationMetadataresponse
: ConversationModel
Parameter | |
---|---|
Name | Description |
request |
CreateConversationModelRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
createConversationModelEvaluation(CreateConversationModelEvaluationRequest request)
public ListenableFuture<Operation> createConversationModelEvaluation(CreateConversationModelEvaluationRequest request)
Creates evaluation of a conversation model.
Parameter | |
---|---|
Name | Description |
request |
CreateConversationModelEvaluationRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
deleteConversationModel(DeleteConversationModelRequest request)
public ListenableFuture<Operation> deleteConversationModel(DeleteConversationModelRequest request)
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
Parameter | |
---|---|
Name | Description |
request |
DeleteConversationModelRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
deployConversationModel(DeployConversationModelRequest request)
public ListenableFuture<Operation> deployConversationModel(DeployConversationModelRequest request)
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
Parameter | |
---|---|
Name | Description |
request |
DeployConversationModelRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
getConversationModel(GetConversationModelRequest request)
public ListenableFuture<ConversationModel> getConversationModel(GetConversationModelRequest request)
Gets conversation model.
Parameter | |
---|---|
Name | Description |
request |
GetConversationModelRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ConversationModel> |
getConversationModelEvaluation(GetConversationModelEvaluationRequest request)
public ListenableFuture<ConversationModelEvaluation> getConversationModelEvaluation(GetConversationModelEvaluationRequest request)
Gets an evaluation of conversation model.
Parameter | |
---|---|
Name | Description |
request |
GetConversationModelEvaluationRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ConversationModelEvaluation> |
listConversationModelEvaluations(ListConversationModelEvaluationsRequest request)
public ListenableFuture<ListConversationModelEvaluationsResponse> listConversationModelEvaluations(ListConversationModelEvaluationsRequest request)
Lists evaluations of a conversation model.
Parameter | |
---|---|
Name | Description |
request |
ListConversationModelEvaluationsRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListConversationModelEvaluationsResponse> |
listConversationModels(ListConversationModelsRequest request)
public ListenableFuture<ListConversationModelsResponse> listConversationModels(ListConversationModelsRequest request)
Lists conversation models.
Parameter | |
---|---|
Name | Description |
request |
ListConversationModelsRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListConversationModelsResponse> |
undeployConversationModel(UndeployConversationModelRequest request)
public ListenableFuture<Operation> undeployConversationModel(UndeployConversationModelRequest request)
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
Parameter | |
---|---|
Name | Description |
request |
UndeployConversationModelRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |