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] regen on latest spec in main #26763

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ def __init__(
class AbstractiveSummarizationTaskParametersBase(_serialization.Model):
"""Supported parameters for an Abstractive Summarization task.

:ivar sentence_count:
:ivar sentence_count: It controls the approximate number of sentences in the output summaries.
:vartype sentence_count: int
:ivar string_index_type: Specifies the method used to interpret string offsets. Defaults to
Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see
Expand Down Expand Up @@ -752,7 +752,8 @@ def __init__(
**kwargs
):
"""
:keyword sentence_count:
:keyword sentence_count: It controls the approximate number of sentences in the output
summaries.
:paramtype sentence_count: int
:keyword string_index_type: Specifies the method used to interpret string offsets. Defaults to
Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see
Expand All @@ -777,7 +778,7 @@ class AbstractiveSummarizationTaskParameters(AbstractiveSummarizationTaskParamet
:vartype logging_opt_out: bool
:ivar model_version:
:vartype model_version: str
:ivar sentence_count:
:ivar sentence_count: It controls the approximate number of sentences in the output summaries.
:vartype sentence_count: int
:ivar string_index_type: Specifies the method used to interpret string offsets. Defaults to
Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see
Expand Down Expand Up @@ -813,7 +814,8 @@ def __init__(
:paramtype logging_opt_out: bool
:keyword model_version:
:paramtype model_version: str
:keyword sentence_count:
:keyword sentence_count: It controls the approximate number of sentences in the output
summaries.
:paramtype sentence_count: int
:keyword string_index_type: Specifies the method used to interpret string offsets. Defaults to
Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see
Expand Down Expand Up @@ -4973,7 +4975,7 @@ class HealthcareEntity(_serialization.Model):
"Gender", "ExaminationName", "Date", "Direction", "Frequency", "MeasurementValue",
"MeasurementUnit", "RelationalOperator", "Time", "GeneOrProtein", "Variant",
"AdministrativeEvent", "CareEnvironment", "HealthcareProfession", "Diagnosis", "SymptomOrSign",
"ConditionalQualifier", "MedicationClass", "MedicationName", "Dosage", "MedicationForm",
"ConditionQualifier", "MedicationClass", "MedicationName", "Dosage", "MedicationForm",
"MedicationRoute", "FamilyRelation", and "TreatmentName".
:vartype category: str or
~azure.ai.textanalytics.v2022_10_01_preview.models.HealthcareEntityCategory
Expand Down Expand Up @@ -5037,7 +5039,7 @@ def __init__(
"Age", "Gender", "ExaminationName", "Date", "Direction", "Frequency", "MeasurementValue",
"MeasurementUnit", "RelationalOperator", "Time", "GeneOrProtein", "Variant",
"AdministrativeEvent", "CareEnvironment", "HealthcareProfession", "Diagnosis", "SymptomOrSign",
"ConditionalQualifier", "MedicationClass", "MedicationName", "Dosage", "MedicationForm",
"ConditionQualifier", "MedicationClass", "MedicationName", "Dosage", "MedicationForm",
"MedicationRoute", "FamilyRelation", and "TreatmentName".
:paramtype category: str or
~azure.ai.textanalytics.v2022_10_01_preview.models.HealthcareEntityCategory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ class HealthcareEntityCategory(str, Enum, metaclass=CaseInsensitiveEnumMeta):
HEALTHCARE_PROFESSION = "HealthcareProfession"
DIAGNOSIS = "Diagnosis"
SYMPTOM_OR_SIGN = "SymptomOrSign"
CONDITIONAL_QUALIFIER = "ConditionalQualifier"
CONDITION_QUALIFIER = "ConditionQualifier"
MEDICATION_CLASS = "MedicationClass"
MEDICATION_NAME = "MedicationName"
DOSAGE = "Dosage"
Expand Down
2 changes: 1 addition & 1 deletion sdk/textanalytics/azure-ai-textanalytics/swagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ output-folder: $(python-sdks-folder)/textanalytics/azure-ai-textanalytics/azure/
These settings apply only when `--tag=release_2022_10_01_preview` is specified on the command line.

```yaml $(tag) == 'release_2022_10_01_preview'
input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/82b2d614f620327203c3cc344d8302a832e15759/dev/cognitiveservices/data-plane/Language/analyzetext.json
input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/98891f186eba7baaf7e14c3d5b2930172c1e1386/specification/cognitiveservices/data-plane/Language/preview/2022-10-01-preview/analyzetext.json
namespace: azure.ai.textanalytics.v2022_10_01_preview
output-folder: $(python-sdks-folder)/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v2022_10_01_preview
```
Expand Down