ComputerVision.ComputerVisionDescribeImageInStreamDefinitionStages.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 |
---|---|
ComputerVisionDescribeImageInStreamDefinitionStages.WithExecute |
withDescriptionExclude(List<DescriptionExclude> descriptionExclude)
Turn off specified domain models when generating the description. |
ComputerVisionDescribeImageInStreamDefinitionStages.WithExecute |
withLanguage(String language)
The desired language for output generation. If this parameter is not specified, the default value is "en".Supported languages:en - English, Default. es - Spanish, ja - Japanese, pt - Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', 'ja', 'pt', 'zh'. |
ComputerVisionDescribeImageInStreamDefinitionStages.WithExecute |
withMaxCandidates(Integer maxCandidates)
Maximum number of candidate descriptions to be returned. The default is 1. |
ComputerVisionDescribeImageInStreamDefinitionStages.WithExecute |
withModelVersion(String modelVersion)
Optional parameter to specify the version of the AI model. Accepted values are: "latest", "2021-04-01". Defaults to "latest". |
Method Details
withDescriptionExclude
public ComputerVisionDescribeImageInStreamDefinitionStages.WithExecute withDescriptionExclude(List
Turn off specified domain models when generating the description.
Parameters:
Returns:
withLanguage
public ComputerVisionDescribeImageInStreamDefinitionStages.WithExecute withLanguage(String language)
The desired language for output generation. If this parameter is not specified, the default value is "en".Supported languages:en - English, Default. es - Spanish, ja - Japanese, pt - Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', 'ja', 'pt', 'zh'.
Parameters:
Returns:
withMaxCandidates
public ComputerVisionDescribeImageInStreamDefinitionStages.WithExecute withMaxCandidates(Integer maxCandidates)
Maximum number of candidate descriptions to be returned. The default is 1.
Parameters:
Returns:
withModelVersion
public ComputerVisionDescribeImageInStreamDefinitionStages.WithExecute withModelVersion(String modelVersion)
Optional parameter to specify the version of the AI model. Accepted values are: "latest", "2021-04-01". Defaults to "latest".
Parameters:
Returns:
Applies to
Azure SDK for Java