Skip to content

Commit

Permalink
Merge branch 'main' into eslint-plugin-tsv
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeharder committed Dec 20, 2024
2 parents 29c9f1f + 1cb540f commit b02de1e
Show file tree
Hide file tree
Showing 85 changed files with 11,170 additions and 11 deletions.
11 changes: 10 additions & 1 deletion specification/cognitiveservices/Language.AnalyzeText/client.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -899,10 +899,14 @@ namespace Language.AnalyzeTextClientCustomizations;
@@clientName(analyzeTextJobStatus, "AnalyzeTextOperationStatus", "csharp");
@@clientName(analyzeTextCancelJob, "AnalyzeTextCancelOperation", "csharp");

@@clientName(EntitiesDocumentResultWithDetectedLanguage,
@@clientName(EntitiesDocumentResultWithMetadataDetectedLanguage,
"EntityActionResult",
"csharp"
);
@@clientName(EntitiesDocumentResultWithMetadata,
"EntityActionResultWithMetadata",
"csharp"
);
@@clientName(ClassificationDocumentResultWithDetectedLanguage,
"ClassificationActionResult",
"csharp"
Expand Down Expand Up @@ -932,3 +936,8 @@ namespace Language.AnalyzeTextClientCustomizations;
"HealthcareActionResult",
"csharp"
);
@@clientName(EntitiesDocumentResultWithDetectedLanguage,
"CustomEntityActionResult",
"csharp"
);
@@clientName(PiiEntityWithTags, "PiiEntity", "csharp");
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ model CustomEntitiesResult is CustomResult {
documents: Array<EntitiesDocumentResultWithDetectedLanguage>;
}

/** Contains the entity recognition task result for the document with detected language. */
@added(Versions.v2024_11_15_preview)
model EntitiesDocumentResultWithDetectedLanguage {
...EntitiesDocumentResult;
...DocumentDetectedLanguage;
}

/** Supported parameters for a Custom Single Classification task. */
model CustomSingleLabelClassificationTaskParameters is CustomTaskParameters;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,6 @@ model EntitiesDocumentResult is DocumentResult {
entities: Array<Entity>;
}

/** Contains the entity recognition task result for the document with detected language. */
@added(Versions.v2024_11_15_preview)
model EntitiesDocumentResultWithDetectedLanguage {
...EntitiesDocumentResult;
...DocumentDetectedLanguage;
}

/** Contains the entity recognition task result for the document with metadata and detected language. */
@added(Versions.v2024_11_15_preview)
model EntitiesDocumentResultWithMetadataDetectedLanguage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,11 @@ typescript:
output-folder: "$(typescript-sdks-folder)/sdk/cognitiveservices/arm-cognitiveservices"
generate-metadata: true
```
```yaml
directive:
from: swagger-document
where: $.definitions.RaiBlocklistItemsBulkDeleteRequest
transform: >
$["type"]="array"
```
Loading

0 comments on commit b02de1e

Please sign in to comment.