[TextAnalytics] Implement Recognize Custom Entities API #24054
Labels
blocking-release
Blocks release
Client
This issue points to a problem in the data-plane of the library.
Cognitive - Text Analytics
Milestone
Issue
We must implement the new Recognize Custom Entities API following the design presented in: apiview
This new feature will be added as one of the actions in the Analyze API.
Usage example:
Goals
Note: it's strongly recommended to use the already implemented Extractive Summarization API as a reference. It's also part of the Analyze API, and the general structures of models/tests/samples are the same.
Implementation
Tests
Note: currently we're still waiting for the service team to provide a resource we can use for testing, so live testing cannot be accomplished until then.
For each one of the tasks below, a "reference" test has been added so it can be used as a guide during implementation. The general structure of the suggested reference tests are very similar to the ones we want to implement.
Add live tests for the new Recognize Custom Entities API. Reference test class:
ExtractSummaryTests
.Add new tests in
AnalyzeMockTests
:loggingOptOut
JSON property is sent when usingRecognizeCustomEntitiesAction.DisableServiceLogs
. Reference test:AnalyzeOperationExtractSummaryWithDisableServiceLogs
.RecognizeCustomEntitiesAction
in the same request throws anArgumentException
. Reference test:AnalyzeOperationExtractSummaryWithTwoActions
.Update existing tests in
AnalyzeMockTests
:AnalyzeOperationWithActionsError
to include the new task used in the Recognize Custom Entities API.Update existing tests in
AnalyzeOperationTests
:AnalyzeOperationTest
to include the newRecognizeCustomEntitiesAction
.Documentation and Samples
The text was updated successfully, but these errors were encountered: