Description
Library name and version
Azure.AI.DocumentIntelligence 1.0.0
Describe the bug
DocumentIntelligenceClient
exposes the following methods where we can pass stringIndexType
.
ClassifyDocumentAsync
:
AnalyzeDocumentAsync
And there are overloads for these methods that accepts ClassifyDocumentOptions
and AnalyzeDocumentOptions
respectively. In these options stringIndexType
is missing.
Expected behavior
stringIndexType
should be exposed as properties in ClassifyDocumentOptions
and AnalyzeDocumentOptions
, so consumers can configure those options when calling the overloads that accepts ClassifyDocumentOptions
and AnalyzeDocumentOptions
and not have to call above methods just because when they need to pass stringIndexType
.
P.S: Should we make above methods that accepts several number of parameters internal and allow consumers to use methods that accepts options only. I saw a comment recommending the consumers to use methods that accepts Options.
Actual behavior
stringIndexType
is missing in ClassifyDocumentOptions
and AnalyzeDocumentOptions
.
Reproduction Steps
N/A
Environment
N/A