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

AI Label is not showing for message after bot gives adaptive card #11871

Open
faidhi066 opened this issue Nov 28, 2024 · 2 comments
Open

AI Label is not showing for message after bot gives adaptive card #11871

faidhi066 opened this issue Nov 28, 2024 · 2 comments

Comments

@faidhi066
Copy link

Type of issue

Missing information

Feedback

image
The picture above has the ai generated label. But not the bottom when its after card submission

image
This picture doesn't have ai generated label.

Can you help me how can I bring up the label in the second picture as well

This is how I am sending the message:

try {
          const kijangResponse = await generateAnswerOptionsKijang(payload);
          // statusCode
          if (kijangResponse.statusCode === 200) {
            // loggerDevLog.info(`Success 200`);
            console.log("HERE");
            // ANSWER
            const answer = kijangResponse.data.answer;
            await context.sendActivity({
              text: answer,
              channelData: {
                feedbackLoopEnabled: true, // Enable feedback buttons
              },
              entities: [
                {
                  type: "https://schema.org/Message",
                  "@type": "Message",
                  "@context": "https://schema.org",
                  additionalType: ["AIGeneratedContent"], // Enables AI label
                },
              ],
            });

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

Copy link
Contributor

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

@Nivedipa-MSFT
Copy link

@faidhi066 - Thank you for your inquiry about your Teams app development issue! We will check and update you soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants