-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add detector_id in response for orchestrator apis (#278)
* added detector_id to TokenClassificationResults Signed-off-by: Shonda-Adena-Witherspoon <[email protected]> * added detector_id to detection_result model Signed-off-by: Shonda-Adena-Witherspoon <[email protected]> * updated detector_id field to be optional Signed-off-by: Shonda-Adena-Witherspoon <[email protected]> * added detecor_id to contentanaylysisresponse data model Signed-off-by: Shonda-Adena-Witherspoon <[email protected]> * modified relevant unit tests to add detector_id field in expected results Signed-off-by: Shonda-Adena-Witherspoon <[email protected]> * updated streaming_content to utilize new detector_id field Signed-off-by: Shonda-Adena-Witherspoon <[email protected]> * fixed issues with clippy Signed-off-by: Shonda-Adena-Witherspoon <[email protected]> * updated formatting using cargo +nightly fmt Signed-off-by: Shonda-Adena-Witherspoon <[email protected]> * updated addition of detector_id in detectorresult instantiations and reverted nlp proto Signed-off-by: Shonda-Adena-Witherspoon <[email protected]> * Update src/orchestrator/unary.rs Update setting the detector_id in the TokenClassificationResult. Co-authored-by: Dan Clark <[email protected]> Signed-off-by: swith004 <[email protected]> * updated TokenClassificationResult data model and detector_id setting Signed-off-by: Shonda-Adena-Witherspoon <[email protected]> * updated detector_id comments for consistency Signed-off-by: Shonda-Adena-Witherspoon <[email protected]> * Update comment for detector_id Co-authored-by: Evaline Ju <[email protected]> Signed-off-by: swith004 <[email protected]> * add space in comment for detector_id Co-authored-by: Evaline Ju <[email protected]> Signed-off-by: swith004 <[email protected]> * Update comment for detector_id Co-authored-by: Evaline Ju <[email protected]> Signed-off-by: swith004 <[email protected]> * add detector_id comment to new line Co-authored-by: Evaline Ju <[email protected]> Signed-off-by: swith004 <[email protected]> * update detector_id comment Co-authored-by: Evaline Ju <[email protected]> Signed-off-by: swith004 <[email protected]> --------- Signed-off-by: Shonda-Adena-Witherspoon <[email protected]> Signed-off-by: swith004 <[email protected]> Co-authored-by: Shonda-Adena-Witherspoon <[email protected]> Co-authored-by: Dan Clark <[email protected]> Co-authored-by: Evaline Ju <[email protected]>
- Loading branch information
1 parent
cf5dd83
commit 1dd51fb
Showing
12 changed files
with
75 additions
and
27 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
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
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
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
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
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
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
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
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
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
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
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