public sealed class ConversationModel : IMessage<ConversationModel>, IEquatable<ConversationModel>, IDeepCloneable<ConversationModel>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class ConversationModel.
Represents a conversation model.
Implements
IMessageConversationModel, IEquatableConversationModel, IDeepCloneableConversationModel, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
ConversationModel()
public ConversationModel()
ConversationModel(ConversationModel)
public ConversationModel(ConversationModel other)
Parameter | |
---|---|
Name | Description |
other | ConversationModel |
Properties
ArticleSuggestionModelMetadata
public ArticleSuggestionModelMetadata ArticleSuggestionModelMetadata { get; set; }
Metadata for article suggestion models.
Property Value | |
---|---|
Type | Description |
ArticleSuggestionModelMetadata |
ConversationModelName
public ConversationModelName ConversationModelName { get; set; }
ConversationModelName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
ConversationModelName |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. Creation time of this model.
Property Value | |
---|---|
Type | Description |
Timestamp |
Datasets
public RepeatedField<InputDataset> Datasets { get; }
Required. Datasets used to create model.
Property Value | |
---|---|
Type | Description |
RepeatedFieldInputDataset |
DisplayName
public string DisplayName { get; set; }
Required. The display name of the model. At most 64 bytes long.
Property Value | |
---|---|
Type | Description |
string |
LanguageCode
public string LanguageCode { get; set; }
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".
Property Value | |
---|---|
Type | Description |
string |
ModelMetadataCase
public ConversationModel.ModelMetadataOneofCase ModelMetadataCase { get; }
Property Value | |
---|---|
Type | Description |
ConversationModelModelMetadataOneofCase |
Name
public string Name { get; set; }
ConversationModel resource name. Format:
projects/<Project ID>/conversationModels/<Conversation Model ID>
Property Value | |
---|---|
Type | Description |
string |
SmartReplyModelMetadata
public SmartReplyModelMetadata SmartReplyModelMetadata { get; set; }
Metadata for smart reply models.
Property Value | |
---|---|
Type | Description |
SmartReplyModelMetadata |
State
public ConversationModel.Types.State State { get; set; }
Output only. State of the model. A model can only serve prediction requests after it gets deployed.
Property Value | |
---|---|
Type | Description |
ConversationModelTypesState |