From 0bd729f9064ba57bbed93a5abf7dd0197706ed99 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot <adxpysdk@microsoft.com> Date: Wed, 3 Jul 2019 02:27:02 -0700 Subject: [PATCH] [AutoPR cognitiveservices/data-plane/LUIS/Runtime] Update LUIS Runtime swagger to an auto generated version (#5023) * Generated from cf0eaa1559fc91624956e6ef26fd9880e4fa8dac Update LUIS Runtime swagger to an auto generated version * Generated from 8fa2dd16733bc2e5ebbd946c3ef36566eaac9173 Fix typo --- .../cognitiveservices/v3.0/luis/runtime/models.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/services/preview/cognitiveservices/v3.0/luis/runtime/models.go b/services/preview/cognitiveservices/v3.0/luis/runtime/models.go index 70a792b672f2..f4892aa81015 100644 --- a/services/preview/cognitiveservices/v3.0/luis/runtime/models.go +++ b/services/preview/cognitiveservices/v3.0/luis/runtime/models.go @@ -109,13 +109,13 @@ func (p Prediction) MarshalJSON() ([]byte, error) { // PredictionRequest represents the prediction request parameters. type PredictionRequest struct { - // Query - The query to predict + // Query - The query to predict. Query *string `json:"query,omitempty"` // Options - The custom options defined for this request. Options *PredictionRequestOptions `json:"options,omitempty"` - // ExternalEntities - The externally predicted entities for this request + // ExternalEntities - The externally predicted entities for this request. ExternalEntities *[]ExternalEntity `json:"externalEntities,omitempty"` - // DynamicLists - The dynamically created list entities for this request + // DynamicLists - The dynamically created list entities for this request. DynamicLists *[]DynamicList `json:"dynamicLists,omitempty"` } @@ -148,8 +148,8 @@ type RequestList struct { // Sentiment the result of the sentiment analysis. type Sentiment struct { - // Score - The sentiment score of the query. - Score *float64 `json:"score,omitempty"` // Label - The label of the sentiment analysis result. Label *string `json:"label,omitempty"` + // Score - The sentiment score of the query. + Score *float64 `json:"score,omitempty"` }