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/cognitivelanguage/Azure.AI.Language.Documents/src/DocumentAnalysisClient.cs
+29-28Lines changed: 29 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -3,30 +3,31 @@
3
3
4
4
usingSystem;
5
5
usingSystem.Collections.Generic;
6
-
usingSystem.Linq;
7
-
usingSystem.Text;
8
-
usingAzure.Core;
9
-
usingSystem.Threading;
10
6
usingSystem.Threading.Tasks;
7
+
usingSystem.Threading;
8
+
usingAzure.Core;
11
9
usingAzure.Core.Pipeline;
10
+
usingSystem.Linq;
12
11
13
12
namespaceAzure.AI.Language.Documents
14
13
{
15
-
/// <summary> The language service API is a suite of natural language processing (NLP) skills built with best-in-class Microsoft machine learning algorithms. The API can be used to analyze unstructured text for tasks such as sentiment analysis, key phrase extraction, language detection and question answering. Further documentation can be found in <a href=\"https://docs.microsoft.com/azure/cognitive-services/language-service/overview\">https://docs.microsoft.com/azure/cognitive-services/language-service/overview</a>.0. </summary>
16
-
publicpartialclassAnalyzeDocumentsClient
14
+
[CodeGenModel("AnalyzeDocumentsClient")]
15
+
16
+
publicpartialclassDocumentAnalysisClient
17
17
{
18
-
/// <summary> Initializes a new instance of TextAnalysisClient. </summary>
18
+
/// <summary>
19
+
/// Initializes a new instance of the <see cref="DocumentAnalysisClient"/> class.
@@ -37,30 +38,30 @@ public AnalyzeDocumentsClient(Uri endpoint, TokenCredential credential, AnalyzeD
37
38
}
38
39
39
40
/// <summary> Submit a collection of text documents for analysis and get the results. Specify one or more unique tasks to be executed as a long-running operation. </summary>
40
-
/// <param name="textInput"> Contains the input to be analyzed. </param>
41
+
/// <param name="documentsInput"> Contains the documents to be analyzed. </param>
41
42
/// <param name="actions"> List of tasks to be performed as part of the LRO. </param>
42
43
/// <param name="displayName"> Name for the task. </param>
43
44
/// <param name="defaultLanguage"> Default language to use for records requesting automatic language detection. </param>
44
45
/// <param name="cancellationToken"> The cancellation token to use. </param>
45
-
/// <exception cref="ArgumentNullException"> <paramref name="textInput"/> or <paramref name="actions"/> is null. </exception>
@@ -69,31 +70,31 @@ public virtual Response<AnalyzeTextOperationState> AnalyzeTextOperation(MultiLan
69
70
}
70
71
}
71
72
72
-
/// <summary> Submit a collection of text documents for analysis and get the results. Specify one or more unique tasks to be executed as a long-running operation. </summary>
73
-
/// <param name="textInput"> Contains the input to be analyzed. </param>
73
+
/// <summary> Submit a collection of documents for analysis and get the results. Specify one or more unique tasks to be executed as a long-running operation. </summary>
74
+
/// <param name="documentsInput"> Contains the input to be analyzed. </param>
74
75
/// <param name="actions"> List of tasks to be performed as part of the LRO. </param>
75
76
/// <param name="displayName"> Name for the task. </param>
76
77
/// <param name="defaultLanguage"> Default language to use for records requesting automatic language detection. </param>
77
78
/// <param name="cancellationToken"> The cancellation token to use. </param>
78
-
/// <exception cref="ArgumentNullException"> <paramref name="textInput"/> or <paramref name="actions"/> is null. </exception>
/// Initializes a new instance of the <see cref="TextAudience"/> object.
15
+
/// Initializes a new instance of the <see cref="DocumentsAudience"/> object.
16
16
/// </summary>
17
17
/// <param name="value">The Azure Active Directory audience to use when forming authorization scopes.For the Language service, this value corresponds to a URL that identifies the Azure cloud where the resource is located. For more information: <see href="https://learn.microsoft.com/azure/azure-government/documentation-government-cognitiveservices" />.</param>
18
18
/// <exception cref="ArgumentNullException"> <paramref name="value"/> is null. </exception>
19
19
/// <remarks>Please use one of the constant members over creating a custom value unless you have special needs for doing so.</remarks>
Copy file name to clipboardExpand all lines: sdk/cognitivelanguage/Azure.AI.Language.Documents/src/Generated/AILanguageDocumentsClientBuilderExtensions.cs
0 commit comments