Skip to content

Update prompt-suggestions.md for Teams SDK samples changes#14260

Open
Pranjal-MSFT wants to merge 5 commits intomainfrom
pranjalb-teamssdk-sample-code-updation-6
Open

Update prompt-suggestions.md for Teams SDK samples changes#14260
Pranjal-MSFT wants to merge 5 commits intomainfrom
pranjalb-teamssdk-sample-code-updation-6

Conversation

@Pranjal-MSFT
Copy link
Copy Markdown
Collaborator

No description provided.

@microsoft-production-github-app
Copy link
Copy Markdown

Acrolinx Scorecards

We currently enforce a minimum score of 80.

Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article Score Issues Scorecard Processed
msteams-platform/bots/how-to/conversations/prompt-suggestions.md 88 42 link

More info about Acrolinx

Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit aa08728:

✅ Validation status: passed

File Status Preview URL Details
msteams-platform/bots/how-to/conversations/prompt-suggestions.md ✅Succeeded View

For more details, please refer to the build report.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 62ff0f3:

✅ Validation status: passed

File Status Preview URL Details
msteams-platform/bots/how-to/conversations/prompt-suggestions.md ✅Succeeded View
msteams-platform/includes/bots/suggested-actions.md ✅Succeeded View

For more details, please refer to the build report.

@microsoft-production-github-app
Copy link
Copy Markdown

Acrolinx Scorecards

We currently enforce a minimum score of 80.

Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article Score Issues Scorecard Processed
msteams-platform/bots/how-to/conversations/prompt-suggestions.md 88 42 link
msteams-platform/includes/bots/suggested-actions.md 94 2 link

More info about Acrolinx

Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates bot documentation to align prompt suggestions / suggested actions guidance with newer Teams SDK sample references and type links.

Changes:

  • Updated suggested-actions.md to point card action / suggestedActions / activity references to microsoft/teams.ts source types and removed an Action.Compose code-sample link.
  • Updated prompt-suggestions.md metadata date and replaced prior mention-removal guidance/snippets with new language snippets that route commands based on normalized text.
  • Updated sample references to newer TeamsSDK/bot-quickstart sample locations.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.

File Description
msteams-platform/includes/bots/suggested-actions.md Updates type/reference links for suggested actions and removes a sample link in the Action.Compose section.
msteams-platform/bots/how-to/conversations/prompt-suggestions.md Refreshes date and replaces mention-stripping guidance/snippets with new command-routing examples and updated sample links.

Comment thread msteams-platform/bots/how-to/conversations/prompt-suggestions.md
Comment thread msteams-platform/bots/how-to/conversations/prompt-suggestions.md
Comment thread msteams-platform/bots/how-to/conversations/prompt-suggestions.md Outdated
Comment thread msteams-platform/bots/how-to/conversations/prompt-suggestions.md Outdated
Comment thread msteams-platform/bots/how-to/conversations/prompt-suggestions.md Outdated
Comment thread msteams-platform/bots/how-to/conversations/prompt-suggestions.md
Comment thread msteams-platform/includes/bots/suggested-actions.md
Comment thread msteams-platform/includes/bots/suggested-actions.md
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit a02344a:

✅ Validation status: passed

File Status Preview URL Details
msteams-platform/bots/how-to/conversations/prompt-suggestions.md ✅Succeeded View
msteams-platform/includes/bots/suggested-actions.md ✅Succeeded View

For more details, please refer to the build report.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@microsoft-production-github-app
Copy link
Copy Markdown

Acrolinx Scorecards

We currently enforce a minimum score of 80.

Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article Score Issues Scorecard Processed
msteams-platform/bots/how-to/conversations/prompt-suggestions.md 88 42 link
msteams-platform/includes/bots/suggested-actions.md 92 3 link

More info about Acrolinx

Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

@microsoft-production-github-app
Copy link
Copy Markdown

Acrolinx Scorecards

We currently enforce a minimum score of 80.

Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article Score Issues Scorecard Processed
msteams-platform/bots/how-to/conversations/prompt-suggestions.md 87 44 link
msteams-platform/includes/bots/suggested-actions.md 92 3 link

More info about Acrolinx

Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 107f4e6:

✅ Validation status: passed

File Status Preview URL Details
msteams-platform/bots/how-to/conversations/prompt-suggestions.md ✅Succeeded View
msteams-platform/includes/bots/suggested-actions.md ✅Succeeded View

For more details, please refer to the build report.

You can parse out the **\@Mention** portion of the message text using a static method provided with the Microsoft Bot Framework. It's a method of the `Activity` class named `RemoveRecipientMention`.

The C# code to parse out the **\@Mention** portion of the message text is as follows:
In C#, Teams SDK does not feature a method to **\@Mention** portion. You can refer to the code snippet below on how to handle commands in your bot.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

method to remove

@microsoft-production-github-app
Copy link
Copy Markdown

Acrolinx Scorecards

We currently enforce a minimum score of 80.

Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article Score Issues Scorecard Processed
msteams-platform/bots/how-to/conversations/prompt-suggestions.md 87 44 link
msteams-platform/includes/bots/suggested-actions.md 92 3 link

More info about Acrolinx

Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 9bc3144:

✅ Validation status: passed

File Status Preview URL Details
msteams-platform/bots/how-to/conversations/prompt-suggestions.md ✅Succeeded View
msteams-platform/includes/bots/suggested-actions.md ✅Succeeded View

For more details, please refer to the build report.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants