You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/documentintelligence/Azure.AI.DocumentIntelligence/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
### Features Added
6
6
- Added methods `GetAnalyzeBatchResult`, `GetAnalyzeBatchResults`, `DeleteAnalyzeBatchResult`, and `DeleteAnalyzeResult` to `DocumentIntelligenceClient`.
7
7
- Added class `AnalyzeBatchOperationDetails` to be used as the output of the `GetAnalyzeBatchResult` and `GetAnalyzeBatchResults` APIs.
8
+
- Added overloads for the `AnalyzeDocument` API that take only required parameters.
8
9
- Added property `ModifiedOn` to `DocumentModelDetails` and to `DocumentClassifierDetails`.
9
10
- Added member `Skipped` to `DocumentIntelligenceOperationStatus` (former `OperationStatus`).
10
11
- Exposed `JsonModelWriteCore` for model serialization procedure.
Copy file name to clipboardExpand all lines: sdk/documentintelligence/Azure.AI.DocumentIntelligence/api/Azure.AI.DocumentIntelligence.netstandard2.0.cs
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -811,8 +811,12 @@ public DocumentIntelligenceClient(System.Uri endpoint, Azure.Core.TokenCredentia
// CUSTOM CODE NOTE: adding overloads for common scenarios of the AnalyzeDocument method.
145
+
146
+
/// <summary> Analyzes document with document model. </summary>
147
+
/// <param name="waitUntil"> <see cref="WaitUntil.Completed"/> if the method should wait to return until the long-running operation has completed on the service; <see cref="WaitUntil.Started"/> if it should return after starting the operation. For more information on long-running operations, please see <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/LongRunningOperations.md"> Azure.Core Long-Running Operation samples</see>. </param>
148
+
/// <param name="modelId"> Unique document model name. </param>
149
+
/// <param name="uriSource"> Document URL to analyze. </param>
150
+
/// <param name="cancellationToken"> The cancellation token to use. </param>
151
+
/// <exception cref="ArgumentNullException"> <paramref name="modelId"/> or <paramref name="uriSource"/> is null. </exception>
152
+
/// <exception cref="ArgumentException"> <paramref name="modelId"/> is an empty string, and was expected to be non-empty. </exception>
/// <summary> Analyzes document with document model. </summary>
161
+
/// <param name="waitUntil"> <see cref="WaitUntil.Completed"/> if the method should wait to return until the long-running operation has completed on the service; <see cref="WaitUntil.Started"/> if it should return after starting the operation. For more information on long-running operations, please see <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/LongRunningOperations.md"> Azure.Core Long-Running Operation samples</see>. </param>
162
+
/// <param name="modelId"> Unique document model name. </param>
163
+
/// <param name="uriSource"> Document URL to analyze. </param>
164
+
/// <param name="cancellationToken"> The cancellation token to use. </param>
165
+
/// <exception cref="ArgumentNullException"> <paramref name="modelId"/> or <paramref name="uriSource"/> is null. </exception>
166
+
/// <exception cref="ArgumentException"> <paramref name="modelId"/> is an empty string, and was expected to be non-empty. </exception>
/// <summary> Analyzes document with document model. </summary>
175
+
/// <param name="waitUntil"> <see cref="WaitUntil.Completed"/> if the method should wait to return until the long-running operation has completed on the service; <see cref="WaitUntil.Started"/> if it should return after starting the operation. For more information on long-running operations, please see <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/LongRunningOperations.md"> Azure.Core Long-Running Operation samples</see>. </param>
176
+
/// <param name="modelId"> Unique document model name. </param>
177
+
/// <param name="bytesSource">
178
+
/// Bytes of the document to analyze.
179
+
/// <para>
180
+
/// To assign a byte[] to this property use <see cref="BinaryData.FromBytes(byte[])"/>.
181
+
/// The byte[] will be serialized to a Base64 encoded string.
/// <summary> Analyzes document with document model. </summary>
204
+
/// <param name="waitUntil"> <see cref="WaitUntil.Completed"/> if the method should wait to return until the long-running operation has completed on the service; <see cref="WaitUntil.Started"/> if it should return after starting the operation. For more information on long-running operations, please see <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/LongRunningOperations.md"> Azure.Core Long-Running Operation samples</see>. </param>
205
+
/// <param name="modelId"> Unique document model name. </param>
206
+
/// <param name="bytesSource">
207
+
/// Bytes of the document to analyze.
208
+
/// <para>
209
+
/// To assign a byte[] to this property use <see cref="BinaryData.FromBytes(byte[])"/>.
210
+
/// The byte[] will be serialized to a Base64 encoded string.
0 commit comments