Resource: ConversationModel
Represents a conversation model.
| JSON representation | 
|---|
{ "name": string, "displayName": string, "createTime": string, "datasets": [ { object (  | 
              
| Fields | |
|---|---|
name | 
                
                   
 ConversationModel resource name. Format:   | 
              
displayName | 
                
                   
 Required. The display name of the model. At most 64 bytes long.  | 
              
createTime | 
                
                   
 Output only. Creation time of this model. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:   | 
              
datasets[] | 
                
                   
 Required. Datasets used to create model.  | 
              
state | 
                
                   
 Output only. State of the model. A model can only serve prediction requests after it gets deployed.  | 
              
languageCode | 
                
                   
 Language code for the conversation model. If not specified, the language is en-US. Language at ConversationModel should be set for all non en-us languages. This should be a BCP-47 language tag. Example: "en-US".  | 
              
Union field model_metadata. Required. The model metadata that is specific to the problem type. Must match the metadata type of the dataset used to train the model. model_metadata can be only one of the following: | 
              |
articleSuggestionModelMetadata | 
                
                   
 Metadata for article suggestion models.  | 
              
smartReplyModelMetadata | 
                
                   
 Metadata for smart reply models.  | 
              
satisfiesPzs | 
                
                   
 Output only. A read only boolean field reflecting Zone Separation status of the model.  | 
              
satisfiesPzi | 
                
                   
 Output only. A read only boolean field reflecting Zone Isolation status of the model.  | 
              
State
State of the model.
| Enums | |
|---|---|
STATE_UNSPECIFIED | 
                  Should not be used, an un-set enum has this value by default. | 
CREATING | 
                  Model being created. | 
UNDEPLOYED | 
                  Model is not deployed but ready to deploy. | 
DEPLOYING | 
                  Model is deploying. | 
DEPLOYED | 
                  Model is deployed and ready to use. | 
UNDEPLOYING | 
                  Model is undeploying. | 
DELETING | 
                  Model is deleting. | 
FAILED | 
                  Model is in error state. Not ready to deploy and use. | 
PENDING | 
                  Model is being created but the training has not started, The model may remain in this state until there is enough capacity to start training. | 
ArticleSuggestionModelMetadata
Metadata for article suggestion models.
| JSON representation | 
|---|
{
  "trainingModelType": enum ( | 
                
| Fields | |
|---|---|
trainingModelType | 
                  
                     
 Optional. Type of the article suggestion model. If not provided, modelType is used.  | 
                
ModelType
Model type.
| Enums | |
|---|---|
MODEL_TYPE_UNSPECIFIED | 
                  ModelType unspecified. | 
SMART_REPLY_DUAL_ENCODER_MODEL | 
                  ModelType smart reply dual encoder model. | 
SMART_REPLY_BERT_MODEL | 
                  ModelType smart reply bert model. | 
SmartReplyModelMetadata
Metadata for smart reply models.
| JSON representation | 
|---|
{
  "trainingModelType": enum ( | 
                
| Fields | |
|---|---|
trainingModelType | 
                  
                     
 Optional. Type of the smart reply model. If not provided, modelType is used.  | 
                
Methods | 
            |
|---|---|
                
 | 
              Creates a model. | 
                
 | 
              Deletes a model. | 
                
 | 
              Deploys a model. | 
                
 | 
              Gets conversation model. | 
                
 | 
              Lists conversation models. | 
                
 | 
              Undeploys a model. |