| | | 1 | | // <auto-generated> |
| | | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | | 4 | | // license information. |
| | | 5 | | // |
| | | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | | 8 | | // regenerated. |
| | | 9 | | // </auto-generated> |
| | | 10 | | |
| | | 11 | | namespace Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models |
| | | 12 | | { |
| | | 13 | | using Newtonsoft.Json; |
| | | 14 | | using System.Collections; |
| | | 15 | | using System.Collections.Generic; |
| | | 16 | | using System.Linq; |
| | | 17 | | |
| | | 18 | | /// <summary> |
| | | 19 | | /// Predicted/suggested intent. |
| | | 20 | | /// </summary> |
| | | 21 | | public partial class IntentsSuggestionExample |
| | | 22 | | { |
| | | 23 | | /// <summary> |
| | | 24 | | /// Initializes a new instance of the IntentsSuggestionExample class. |
| | | 25 | | /// </summary> |
| | 0 | 26 | | public IntentsSuggestionExample() |
| | | 27 | | { |
| | | 28 | | CustomInit(); |
| | 0 | 29 | | } |
| | | 30 | | |
| | | 31 | | /// <summary> |
| | | 32 | | /// Initializes a new instance of the IntentsSuggestionExample class. |
| | | 33 | | /// </summary> |
| | | 34 | | /// <param name="text">The utterance. For example, "What's the weather |
| | | 35 | | /// like in seattle?"</param> |
| | | 36 | | /// <param name="tokenizedText">The tokenized utterance.</param> |
| | | 37 | | /// <param name="intentPredictions">Predicted/suggested |
| | | 38 | | /// intents.</param> |
| | | 39 | | /// <param name="entityPredictions">Predicted/suggested |
| | | 40 | | /// entities.</param> |
| | 0 | 41 | | public IntentsSuggestionExample(string text = default(string), IList<string> tokenizedText = default(IList<strin |
| | | 42 | | { |
| | 0 | 43 | | Text = text; |
| | 0 | 44 | | TokenizedText = tokenizedText; |
| | 0 | 45 | | IntentPredictions = intentPredictions; |
| | 0 | 46 | | EntityPredictions = entityPredictions; |
| | | 47 | | CustomInit(); |
| | 0 | 48 | | } |
| | | 49 | | |
| | | 50 | | /// <summary> |
| | | 51 | | /// An initialization method that performs custom operations like setting defaults |
| | | 52 | | /// </summary> |
| | | 53 | | partial void CustomInit(); |
| | | 54 | | |
| | | 55 | | /// <summary> |
| | | 56 | | /// Gets or sets the utterance. For example, "What's the weather like |
| | | 57 | | /// in seattle?" |
| | | 58 | | /// </summary> |
| | | 59 | | [JsonProperty(PropertyName = "text")] |
| | 0 | 60 | | public string Text { get; set; } |
| | | 61 | | |
| | | 62 | | /// <summary> |
| | | 63 | | /// Gets or sets the tokenized utterance. |
| | | 64 | | /// </summary> |
| | | 65 | | [JsonProperty(PropertyName = "tokenizedText")] |
| | 0 | 66 | | public IList<string> TokenizedText { get; set; } |
| | | 67 | | |
| | | 68 | | /// <summary> |
| | | 69 | | /// Gets or sets predicted/suggested intents. |
| | | 70 | | /// </summary> |
| | | 71 | | [JsonProperty(PropertyName = "intentPredictions")] |
| | 0 | 72 | | public IList<IntentPrediction> IntentPredictions { get; set; } |
| | | 73 | | |
| | | 74 | | /// <summary> |
| | | 75 | | /// Gets or sets predicted/suggested entities. |
| | | 76 | | /// </summary> |
| | | 77 | | [JsonProperty(PropertyName = "entityPredictions")] |
| | 0 | 78 | | public IList<EntityPrediction> EntityPredictions { get; set; } |
| | | 79 | | |
| | | 80 | | } |
| | | 81 | | } |