Skip to content
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

Composer Bot with QnA Intent recognized triggers duplicate QnA queries #6792

Closed
sw-joelmut opened this issue May 16, 2024 · 0 comments · Fixed by #6793
Closed

Composer Bot with QnA Intent recognized triggers duplicate QnA queries #6792

sw-joelmut opened this issue May 16, 2024 · 0 comments · Fixed by #6793
Assignees
Labels
bug Indicates an unexpected problem or an unintended behavior.

Comments

@sw-joelmut
Copy link
Collaborator

Version

4.18.1

Describe the bug

Using a basic Composer bot with CustomQuestionAnswering and a QnA trigger, the bot works, but it sends multiple requests and traces to the CQA service with duplicated activities.

To Reproduce

  1. The bot has been shared internally.
  2. The bot consists of the following triggers, being the problematic one, the QnA Intent recognized trigger that Composer generates.
    image
  3. Configure CQA resource with items in the knowledge base to generate prompts in the bot's chat.
  4. Chat to the bot and see the double QnA trace when responding to a prompt.

Expected behavior

Avoid QnA trace and request duplication.

@sw-joelmut sw-joelmut added the bug Indicates an unexpected problem or an unintended behavior. label May 16, 2024
@sw-joelmut sw-joelmut self-assigned this May 16, 2024
tracyboehrer pushed a commit that referenced this issue May 28, 2024
…te QnA queries (#6793)

* Fix double QnA trace

* Fix unit tests and create new one
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or an unintended behavior.
Projects
None yet
1 participant