-
Notifications
You must be signed in to change notification settings - Fork 842
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adding capability use Cognitive Service Language Service asynch…
…ronously for Summarization (#2342) * Adding capability use Cognitive Service Language Service asynchronously. The transformer calls the async service and poll for result. The polling delay and max retry attempts is controlled by parameters. Request creation for each task is extracted into separate trait to make code more readable and manageable. There has been minimal changes in AnalyzeText class. * Adding unit test and fixing failing style test * Adding unit test and fixing style for the test. * Adding support for Custom MultiLabel Classification and Single Label classification. Unit tests are added to validate that requests and response are correct. Also added tiemout for AbstractiveSummary requests. * fixing minor problems and documentation * Fixing parameter name to reflect the name of field * Fixing failing fuzzing tests. * making traits and methods package private --------- Co-authored-by: Farrukh Masud <farrukhmasud@microsoft.com>
- Loading branch information
1 parent
bab6aed
commit 1b5df70
Showing
6 changed files
with
2,234 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.