Skip to content

Commit

Permalink
remove dynamic classification tests and samples (Azure#29311)
Browse files Browse the repository at this point in the history
  • Loading branch information
kristapratico authored Mar 13, 2023
1 parent 149cb6c commit ee9ff1b
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 288 deletions.
5 changes: 0 additions & 5 deletions sdk/textanalytics/azure-ai-textanalytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ The Azure Cognitive Service for Language is a cloud-based service that provides
- Custom Text Classification
- Extractive Text Summarization
- Abstractive Text Summarization
- Dynamic Classification

[Source code][source_code] | [Package (PyPI)][ta_pypi] | [API reference documentation][ta_ref_docs] | [Product documentation][language_product_documentation] | [Samples][ta_samples]

Expand Down Expand Up @@ -259,7 +258,6 @@ The following section provides several code snippets covering some of the most c
- [Custom Multi Label Classification][multi_label_classify_sample]
- [Extractive Summarization][extract_summary_sample]
- [Abstractive Summarization][abstractive_summary_sample]
- [Dynamic Classification][dynamic_classification_sample]

### Analyze Sentiment

Expand Down Expand Up @@ -817,7 +815,6 @@ Common scenarios
- Custom Multi Label Classification: [sample_multi_label_classify.py][multi_label_classify_sample] ([async_version][multi_label_classify_sample_async])
- Extractive text summarization: [sample_extract_summary.py][extract_summary_sample] ([async version][extract_summary_sample_async])
- Abstractive text summarization: [sample_abstractive_summary.py][abstractive_summary_sample] ([async version][abstractive_summary_sample_async])
- Dynamic Classification: [sample_dynamic_classification.py][dynamic_classification_sample] ([async_version][dynamic_classification_sample_async])

Advanced scenarios

Expand Down Expand Up @@ -926,8 +923,6 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con
[extract_summary_sample_async]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_extract_summary_async.py
[abstractive_summary_sample]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/textanalytics/azure-ai-textanalytics/samples/sample_abstractive_summary.py
[abstractive_summary_sample_async]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_abstractive_summary_async.py
[dynamic_classification_sample]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/textanalytics/azure-ai-textanalytics/samples/sample_dynamic_classification.py
[dynamic_classification_sample_async]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_dynamic_classification_async.py
[recognize_entity_resolutions_sample]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/textanalytics/azure-ai-textanalytics/samples/sample_recognize_entity_resolutions.py
[recognize_entity_resolutions_sample_async]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_recognize_entity_resolutions_async.py
[cla]: https://cla.microsoft.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1788,15 +1788,6 @@ def dynamic_classification(
.. versionadded:: 2022-10-01-preview
The *dynamic_classification* client method.
.. admonition:: Example:
.. literalinclude:: ../samples/sample_dynamic_classification.py
:start-after: [START dynamic_classification]
:end-before: [END dynamic_classification]
:language: python
:dedent: 4
:caption: Perform dynamic classification on a batch of documents.
"""

language_arg = language if language is not None else self._default_language
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1784,15 +1784,6 @@ async def dynamic_classification(
.. versionadded:: 2022-10-01-preview
The *dynamic_classification* client method.
.. admonition:: Example:
.. literalinclude:: ../samples/async_samples/sample_dynamic_classification_async.py
:start-after: [START dynamic_classification_async]
:end-before: [END dynamic_classification_async]
:language: python
:dedent: 4
:caption: Perform dynamic classification on a batch of documents.
"""

language_arg = language if language is not None else self._default_language
Expand Down
3 changes: 0 additions & 3 deletions sdk/textanalytics/azure-ai-textanalytics/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ These sample programs show common scenarios for the Text Analytics client's offe
|[sample_analyze_healthcare_action.py][sample_analyze_healthcare_action] and [sample_analyze_healthcare_action_async.py][sample_analyze_healthcare_action_async]|Run a healthcare and PII analysis together|
|[sample_extract_summary.py][extract_summary_sample] and [sample_extract_summary_async.py][extract_summary_sample_async]|As part of the analyze API, run extractive text summarization on documents|
|[sample_abstractive_summary.py][abstractive_summary_sample] and [sample_abstractive_summary_async.py][abstractive_summary_sample_async]|As part of the analyze API, run abstractive text summarization on documents|
|[sample_dynamic_classification.py][dynamic_classification_sample] and [sample_dynamic_classification_async.py][dynamic_classification_sample_async]|Dynamically classify documents without needing to train a model.|

## Prerequisites
* Python 3.7 or later is required to use this package
Expand Down Expand Up @@ -121,8 +120,6 @@ what you can do with the Azure Text Analytics client library.
[extract_summary_sample_async]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_extract_summary_async.py
[abstractive_summary_sample]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/textanalytics/azure-ai-textanalytics/samples/sample_abstractive_summary.py
[abstractive_summary_sample_async]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_abstractive_summary_async.py
[dynamic_classification_sample]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/textanalytics/azure-ai-textanalytics/samples/sample_dynamic_classification.py
[dynamic_classification_sample_async]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_dynamic_classification_async.py
[recognize_entity_resolutions_sample]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/textanalytics/azure-ai-textanalytics/samples/sample_recognize_entity_resolutions.py
[recognize_entity_resolutions_sample_async]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_recognize_entity_resolutions_async.py
[pip]: https://pypi.org/project/pip/
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit ee9ff1b

Please sign in to comment.