Skip to content

Commit

Permalink
Support displaying the phone number type prediction. (microsoft#870)
Browse files Browse the repository at this point in the history
  • Loading branch information
simotw authored Feb 8, 2021
1 parent 8aa54d8 commit dabee73
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/react/components/pages/predict/predictResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,10 @@ export default class PredictResult extends React.Component<IPredictResultProps,
valueType = "valueGender";
postProcessedValue = prediction.valueGender;
break;
case "phoneNumber":
valueType = "phoneNumber";
postProcessedValue = prediction.valuePhoneNumber;
break;
default:
return null;
}
Expand Down

0 comments on commit dabee73

Please sign in to comment.