aws-solutions / qnabot-on-aws

AWS QnABot is a multi-channel, multi-language conversational interface (chatbot) that responds to your customer's questions, answers, and feedback. The solution allows you to deploy a fully functional chatbot across multiple channels including chat, voice, SMS and Amazon Alexa.
https://aws.amazon.com/solutions/implementations/aws-qnabot
Apache License 2.0
401 stars 253 forks source link

QIDs are not matching correctly when the opensearch score is less than 1 #592

Closed ihmaws closed 1 year ago

ihmaws commented 1 year ago

Describe the bug in certain circumstances, a QID match would return a score of <1 from opensearch. In this case, match would fail because the generic OS threshold of 1 was being used. Any QID matched above 0 should be returned as a hit

To Reproduce Create new question with:

Expected behavior QnaBot should correctly match the QID and return a response of answer

Please complete the following information about the solution:

ihmaws commented 1 year ago

Fixed as of v5.3.2