Skip to content

Commit

Permalink
[Language Text] Renaming for 2024-11-15 .NET Beta SDK release (#31898)
Browse files Browse the repository at this point in the history
client renames for 2024-11-15 .NET Beta SDK
  • Loading branch information
quentinRobinson authored Dec 19, 2024
1 parent d7d8b18 commit c2d8026
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 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

0 comments on commit c2d8026

Please sign in to comment.