microsoft/teams.net

Public

mirrored fromhttps://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
22df127116ef02cc5a31f714736cc25de03d7f9a

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

Samples/Samples.McpClient/DocsPrompt.cs

17lines · modecode

1using Microsoft.Teams.AI;
2using Microsoft.Teams.AI.Annotations;
3using Microsoft.Teams.Plugins.External.McpClient;
4
5namespace Samples.McpClient;
6
7[Prompt]
8[Prompt.Description("helpful assistant")]
9[Prompt.Instructions(
10 "You are a helpful assistant that can help answer questions using Microsoft docs.",
11 "You MUST use tool calls to do all your work."
12)]
13public class DocsPrompt(McpClientPlugin mcpClientPlugin)
14{
15 [ChatPlugin]
16 public readonly IChatPlugin Plugin = mcpClientPlugin;
17}