-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rankerType got from options in QnA constructor #1953
rankerType got from options in QnA constructor #1953
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The score value should be in range of 0 and 1
/**
* Confidence on a scale from 0.0 to 1.0 that the answer matches the users intent.
*/
score: number;
Thanks @vipeketi for your comment. Not sure if I understand you, do you refer to the unit test response json? If so, I have to accept that I couldn't test the real qna service after providing the rankerType option because I assume that the qna api keys are not published. So I opted to modify directly the mock. If someone could provide the real answer from qna service for the updated unit test, I will adapt the mock. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rankertype is set now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
Who can do that? |
Merged changes. |
Fixes #1951
Description
rankerType option passed as option parameter in QnA constructor was ignored
Specific Changes
Testing