| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | namespace Azure.AI.TextAnalytics |
| | 5 | | { |
| | 6 | | /// <summary> |
| | 7 | | /// Options that allow callers to specify details about how the operation |
| | 8 | | /// is run and what information is returned from it by the service. |
| | 9 | | /// </summary> |
| | 10 | | public class TextAnalyticsRequestOptions |
| | 11 | | { |
| | 12 | | /// <summary> |
| | 13 | | /// Initializes a new instance of the <see cref="TextAnalyticsRequestOptions"/> |
| | 14 | | /// class. |
| | 15 | | /// </summary> |
| 176 | 16 | | public TextAnalyticsRequestOptions() |
| | 17 | | { |
| 176 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> |
| | 21 | | /// Gets or sets a value that, if set to true, indicates that the service |
| | 22 | | /// should return document and document batch statistics with the results |
| | 23 | | /// of the operation. |
| | 24 | | /// </summary> |
| 196 | 25 | | public bool IncludeStatistics { get; set; } |
| | 26 | |
|
| | 27 | | /// <summary> |
| | 28 | | /// Gets or sets a value that, if set, indicates the version of the text |
| | 29 | | /// analytics model that will be used to generate the result. For supported |
| | 30 | | /// model versions, see operation-specific documentation, for example: |
| | 31 | | /// <a href="https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/how-tos/text-analytics-how |
| | 32 | | /// </summary> |
| 172 | 33 | | public string ModelVersion { get; set; } |
| | 34 | | } |
| | 35 | | } |