Class CfnBot.CustomVocabularyProperty
Specifies a custom vocabulary.
Inheritance
System.Object
CfnBot.CustomVocabularyProperty
Implements
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.AWS.Lex.dll
Syntax (csharp)
public class CustomVocabularyProperty : Object, CfnBot.ICustomVocabularyProperty
Syntax (vb)
Public Class CustomVocabularyProperty
Inherits Object
Implements CfnBot.ICustomVocabularyProperty
Remarks
A custom vocabulary is a list of words that you expect to be used during a conversation with your bot.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;
var customVocabularyProperty = new CustomVocabularyProperty {
CustomVocabularyItems = new [] { new CustomVocabularyItemProperty {
Phrase = "phrase",
// the properties below are optional
DisplayAs = "displayAs",
Weight = 123
} }
};
Synopsis
Constructors
CustomVocabularyProperty() |
Properties
CustomVocabularyItems | Specifies a list of words that you expect to be used during a conversation with your bot. |
Constructors
CustomVocabularyProperty()
public CustomVocabularyProperty()
Properties
CustomVocabularyItems
Specifies a list of words that you expect to be used during a conversation with your bot.
public object CustomVocabularyItems { get; set; }
Property Value
System.Object