-
Notifications
You must be signed in to change notification settings - Fork 515
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
Unable to match question and answer back to the feedback #11870
Comments
Hi faidhi066! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies. Best regards, Teams Platform |
Thank you for your inquiry about your Teams app development issue! To assist you better, could you please provide the following details? Reproduction Steps: Please share the steps you took to encounter the issue. This information will help us better understand the situation and provide a more accurate response. |
loggingMiddleware.js
index.js
kijangBot.js
combined.log
As you can see the id is the same, but when we refer back to replyToId in asyncInvokeActivity it is not showing the with the same id. |
It sounds like you're encountering an issue with matching the message ID from an invoke activity to the corresponding feedback. This can be tricky, especially when the replyToId seems to differ between the invoke activity and the actual message. Ensure that you are storing the message IDs of both the sent and received messages. This includes the id of the invoke activity and the replyToId of the message. Here's an example of how you can implement this:
By storing the message IDs and using the replyToId to match the feedback with the corresponding message, you can ensure that the feedback is correctly associated with the right message. If you need more detailed guidance, you can refer to the documentation |
Type of issue
Missing information
Feedback
Store the feedback by saving message IDs and content of messages your bot sends and receives. When your bot gets an invoke request with feedback, match the message ID with the corresponding feedback.
I was referring to this documentation and was using replyToId. However, it was using a different id with the message and answer produced.
Can you help me, how can I get the based on the invoke id activity to be matched with answer and answer's replyToId (which is same, but different with invoke activity???)?
Page URL
https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/bot-messages-ai-generated-content?tabs=before%2Cbotmessage
Content source URL
https://github.com/MicrosoftDocs/msteams-docs/blob/main/msteams-platform/bots/how-to/bot-messages-ai-generated-content.md
Author
@surbhigupta
Document Id
605a8486-6e6a-31d5-e8a1-021691206099
The text was updated successfully, but these errors were encountered: