你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Predictions.PredictionsResolveDefinitionStages.WithAllOptions Interface

public interface WithAllOptions

The stage of the definition which allows for any other optional settings to be specified.

Method Summary

Modifier and Type Method and Description
PredictionsResolveDefinitionStages.WithExecute withBingSpellCheckSubscriptionKey(String bingSpellCheckSubscriptionKey)

The subscription key to use when enabling bing spell check.

PredictionsResolveDefinitionStages.WithExecute withLog(Boolean log)

Log query (default is true).

PredictionsResolveDefinitionStages.WithExecute withSpellCheck(Boolean spellCheck)

Enable spell checking.

PredictionsResolveDefinitionStages.WithExecute withStaging(Boolean staging)

Use the staging endpoint slot.

PredictionsResolveDefinitionStages.WithExecute withTimezoneOffset(Double timezoneOffset)

The timezone offset for the location of the request.

PredictionsResolveDefinitionStages.WithExecute withVerbose(Boolean verbose)

If true, return all intents instead of just the top scoring intent.

Method Details

withBingSpellCheckSubscriptionKey

public PredictionsResolveDefinitionStages.WithExecute withBingSpellCheckSubscriptionKey(String bingSpellCheckSubscriptionKey)

The subscription key to use when enabling bing spell check.

Parameters:

bingSpellCheckSubscriptionKey

Returns:

next definition stage

withLog

public PredictionsResolveDefinitionStages.WithExecute withLog(Boolean log)

Log query (default is true).

Parameters:

log

Returns:

next definition stage

withSpellCheck

public PredictionsResolveDefinitionStages.WithExecute withSpellCheck(Boolean spellCheck)

Enable spell checking.

Parameters:

spellCheck

Returns:

next definition stage

withStaging

public PredictionsResolveDefinitionStages.WithExecute withStaging(Boolean staging)

Use the staging endpoint slot.

Parameters:

staging

Returns:

next definition stage

withTimezoneOffset

public PredictionsResolveDefinitionStages.WithExecute withTimezoneOffset(Double timezoneOffset)

The timezone offset for the location of the request.

Parameters:

timezoneOffset

Returns:

next definition stage

withVerbose

public PredictionsResolveDefinitionStages.WithExecute withVerbose(Boolean verbose)

If true, return all intents instead of just the top scoring intent.

Parameters:

verbose

Returns:

next definition stage

Applies to