Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TA] Based on latest v3.1-preview.5 and added disableServiceLogs and AnalyzeSentimen action support #21262

Merged
merged 12 commits into from
May 19, 2021
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ public AnalyzeHealthcareEntitiesOptions setIncludeStatistics(boolean includeStat
/**
* Set the value of {@code disableServiceLogs}.
*
* @param disableServiceLogs If a boolean value was specified in the request this field will contain
* logging information about the document payload.
* @param disableServiceLogs The default value of this property is 'false'. This means, Text Analytics service logs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for healthcare, the default value is true. same for PII

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@deyaaeldeen hmm or maybe not?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the swagger, only PiiTask sets this value to true... so better leave as you have it for now and we can start a conversation with the service team about it

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

* your input text for 48 hours, solely to allow for troubleshooting issues. Setting this property to true,
* disables input logging and may limit our ability to investigate issues that occur.
*
* @return the {@link AnalyzeHealthcareEntitiesOptions} object itself.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ public AnalyzeSentimentOptions setIncludeStatistics(boolean includeStatistics) {
/**
* Set the value of {@code disableServiceLogs}.
*
* @param disableServiceLogs If a boolean value was specified in the request this field will contain
* logging information about the document payload.
* @param disableServiceLogs The default value of this property is 'false'. This means, Text Analytics service logs
* your input text for 48 hours, solely to allow for troubleshooting issues. Setting this property to true,
* disables input logging and may limit our ability to investigate issues that occur.
*
* @return the {@link AnalyzeSentimentOptions} object itself.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ public ExtractKeyPhrasesOptions setIncludeStatistics(boolean includeStatistics)
/**
* Set the value of {@code disableServiceLogs}.
*
* @param disableServiceLogs If a boolean value was specified in the request this field will contain
* logging information about the document payload.
* @param disableServiceLogs The default value of this property is 'false'. This means, Text Analytics service logs
* your input text for 48 hours, solely to allow for troubleshooting issues. Setting this property to true,
* disables input logging and may limit our ability to investigate issues that occur.
*
* @return the {@link ExtractKeyPhrasesOptions} object itself.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ public RecognizeEntitiesOptions setIncludeStatistics(boolean includeStatistics)
/**
* Set the value of {@code disableServiceLogs}.
*
* @param disableServiceLogs If a boolean value was specified in the request this field will contain
* logging information about the document payload.
* @param disableServiceLogs The default value of this property is 'false'. This means, Text Analytics service logs
* your input text for 48 hours, solely to allow for troubleshooting issues. Setting this property to true,
* disables input logging and may limit our ability to investigate issues that occur.
*
* @return the {@link RecognizeEntitiesOptions} object itself.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ public RecognizeLinkedEntitiesOptions setIncludeStatistics(boolean includeStatis
/**
* Set the value of {@code disableServiceLogs}.
*
* @param disableServiceLogs If a boolean value was specified in the request this field will contain
* logging information about the document payload.
* @param disableServiceLogs The default value of this property is 'false'. This means, Text Analytics service logs
* your input text for 48 hours, solely to allow for troubleshooting issues. Setting this property to true,
* disables input logging and may limit our ability to investigate issues that occur.
*
* @return the {@link RecognizeLinkedEntitiesOptions} object itself.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ public RecognizePiiEntitiesOptions setIncludeStatistics(boolean includeStatistic
/**
* Set the value of {@code disableServiceLogs}.
*
* @param disableServiceLogs If a boolean value was specified in the request this field will contain
* logging information about the document payload.
* @param disableServiceLogs The default value of this property is 'false'. This means, Text Analytics service logs
* your input text for 48 hours, solely to allow for troubleshooting issues. Setting this property to true,
* disables input logging and may limit our ability to investigate issues that occur.
*
* @return the {@link RecognizePiiEntitiesOptions} object itself.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ public TextAnalyticsRequestOptions setIncludeStatistics(boolean includeStatistic
/**
* Get the value of {@code disableServiceLogs}.
*
* @return The value of {@code disableServiceLogs}.
* @return The value of {@code disableServiceLogs}. The default value of this property is 'false'. This means,
* Text Analytics service logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting
* this property to true, disables input logging and may limit our ability to investigate issues that occur.
*/
public boolean isServiceLogsDisabled() {
return disableServiceLogs;
Expand All @@ -72,8 +74,9 @@ public boolean isServiceLogsDisabled() {
/**
* Set the value of {@code disableServiceLogs}.
*
* @param disableServiceLogs If a boolean value was specified in the request this field will contain
* logging information about the document payload.
* @param disableServiceLogs The default value of this property is 'false'. This means, Text Analytics service logs
* your input text for 48 hours, solely to allow for troubleshooting issues. Setting this property to true,
* disables input logging and may limit our ability to investigate issues that occur.
*
* @return the {@link TextAnalyticsRequestOptions} object itself.
*/
Expand Down