Skip to content

Commit dfe4760

Browse files
Merge branch 'main' into SirajShaik-MSFT/CreateProactiveConversation
2 parents 1051152 + 180a7ec commit dfe4760

288 files changed

Lines changed: 749 additions & 869 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openpublishing.redirection.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1523,6 +1523,10 @@
15231523
{
15241524
"source_path": "msteams-platform/resources/schema/localization-schema.md",
15251525
"redirect_url": "/microsoft-365/extensibility/schema/loc-schema/root"
1526+
},
1527+
{
1528+
"source_path": "msteams-platform/bots/how-to/add-power-virtual-agents-bot-to-teams.md",
1529+
"redirect_url": "/microsoft-copilot-studio/unified-authoring-conversion"
15261530
}
15271531
]
15281532
}

msteams-platform/TOC.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
- name: Extend agents to Microsoft 365 hubs
2323
href: /microsoft-365-copilot/extensibility/ecosystem?toc=/microsoftteams/platform/toc.json&bc=/microsoftteams/platform/breadcrumb/toc.json
2424
displayName: AI bot, Teams AI library, Teams SDK, custom agent
25+
- name: Enable targeted messages for agents
26+
href: agents-in-teams/targeted-messages.md
27+
displayName: targeted messages, proactive messages, adaptive cards, message actions, message extension, notifications
2528
- name: Tools and SDKs
2629
items:
2730
- name: Overview
@@ -45,9 +48,11 @@
4548
- name: Build apps using Agents Toolkit
4649
href: toolkit/build-environments.md
4750
items:
48-
- name: Prerequisites to create Teams app
51+
- name: Prerequisites to create Teams agent or app
4952
href: toolkit/tools-prerequisites.md
5053
displayName: accounts to build your Teams app
54+
- name: Create new Teams agent project
55+
href: agents-in-teams/build-first-agent.md
5156
- name: Create new Teams app project
5257
href: toolkit/create-new-project.md
5358
- name: Develop your app in VSC
@@ -884,8 +889,6 @@
884889
- name: Low-code custom apps
885890
href: samples/teams-low-code-solutions.md
886891
displayName: Power BI, Power Platform apps, Project Oakdale
887-
- name: Add Power Virtual Agents chatbot
888-
href: bots/how-to/add-power-virtual-agents-bot-to-teams.md
889892
- name: App templates for Microsoft Teams
890893
href: samples/app-templates.md
891894
displayName: Attendance, Adoption, Champion Management Platform, Company Communicator, FAQ Plus, Icebreaker, Microsoft 365 Learning Pathways, Microsoft Teams Emergency Operations Center (TEOC), Tournaments of Teams

msteams-platform/agents-in-teams/build-first-agent.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,42 +16,43 @@ To build an agent in Microsoft Teams, ensure you have the following:
1616

1717
| Install | For using... |
1818
| --- | --- |
19-
| [Visual Studio Code](https://code.visualstudio.com/download) | JavaScript, TypeScript, or Python build environments. Use the latest version. |
19+
| [Visual Studio Code](https://code.visualstudio.com/download) | JavaScript, TypeScript, or Python (in public preview) build environments. Use the latest version. |
2020
| [Teams SDK](/microsoftteams/platform/teams-ai-library/teams/overview) | A simplified SDK for building intelligent agents. Now GA for JavaScript and C#, and in public preview for Python. |
21-
| [Microsoft 365 Agents Toolkit](https://marketplace.visualstudio.com/items?itemName=TeamsDevApp.ms-teams-vscode-extension) | Microsoft Visual Studio Code extension that creates a project scaffolding for your agent. Use the latest version.|
21+
| [Microsoft 365 Agents Toolkit](https://marketplace.visualstudio.com/items?itemName=TeamsDevApp.ms-teams-vscode-extension) | Microsoft Visual Studio Code extension that creates a project scaffolding for your agent. Use the latest version. |
2222
| [Node.js](https://nodejs.org/en/download/) | Back-end JavaScript runtime environment. For more information, see [Node.js version compatibility table for project type](~/toolkit/build-environments.md#nodejs-version-compatibility-table-for-project-type).|
23-
| [Microsoft Teams](https://www.microsoft.com/microsoft-teams/download-app) | Microsoft Teams to collaborate with everyone you work with through agents and apps for chat, meetings, and calls all in one place.|
24-
| [Azure OpenAI](https://oai.azure.com/portal)| First create your OpenAI API key to use OpenAI's Generative Pretrained Transformer (GPT). If you want to host your agent or access resources in Azure, you must create an Azure OpenAI service.|
23+
| [Microsoft Teams](https://www.microsoft.com/microsoft-teams/download-app) | Microsoft Teams to collaborate with everyone you work with through agents and apps for chat, meetings, and calls all in one place. |
24+
| [Azure OpenAI](https://oai.azure.com/portal) | OpenAI API key to use OpenAI's Generative Pretrained Transformer (GPT). If you want to host your agent or access resources in Azure, you must create an Azure OpenAI service. |
2525

2626
## Set up your environment
2727

2828
1. Install the latest versions of Visual Studio Code, Node.js, and Microsoft 365 Agents Toolkit.
2929
1. If you want to use Azure OpenAI service to access Large Language Model (LLM) for your agent, create an Azure OpenAI service on the [Azure portal](https://ms.portal.azure.com/#home) and obtain your API key.
3030

31-
For more information about setting up Azure OpenAI services, see:
32-
33-
- [Create and deploy an Azure OpenAI in Azure AI Foundry Models resource](/azure/ai-foundry/openai/how-to/create-resource?pivots=web-portal).
34-
- [Create an Azure OpenAI Resource and Deploy a Model](/microsoft-cloud/dev/tutorials/openai-acs-msgraph/02-openai-create-resource).
31+
> [!NOTE]
32+
> For more information about setting up Azure OpenAI services, see:
33+
>
34+
> - [Create and deploy an Azure OpenAI in Azure AI Foundry Models resource](/azure/ai-foundry/openai/how-to/create-resource?pivots=web-portal).
35+
> - [Create an Azure OpenAI Resource and Deploy a Model](/microsoft-cloud/dev/tutorials/openai-acs-msgraph/02-openai-create-resource).
3536
3637
## Create an agent using Microsoft 365 Agents Toolkit
3738

3839
1. Open Visual Studio Code.
3940
1. Select the Microsoft 365 Agents Toolkit :::image type="icon" source="~/assets/icons/m-365-agents-toolkit-icon.png" border="false"::: icon in the Visual Studio Code **Activity Bar**.
4041
1. Select **Create a New Agent/App**.
4142

42-
:::image type="content" source="../assets/images/agents-in-teams/first-agent-qsg/create-new-agent.png" alt-text="Screenshot shows the location of the option to create a new agent using Microsoft 365 Agents Toolkit sidebar." lightbox="../assets/images/agents-in-teams/first-agent-qsg/create-new-agent.png":::
43+
:::image type="content" source="../assets/images/agents-in-teams/first-agent-qsg/create-new-agent.png" alt-text="Screenshot shows the option to create a new agent." lightbox="../assets/images/agents-in-teams/first-agent-qsg/create-new-agent.png":::
4344

4445
1. From the **New Project** menu, select **Teams Agents and Apps**.
4546

46-
:::image type="content" source="../assets/images/agents-in-teams/first-agent-qsg/teams-agents.png" alt-text="Screenshot shows the location of the option to create a new agent or app in Teams." lightbox="../assets/images/agents-in-teams/first-agent-qsg/teams-agents.png":::
47+
:::image type="content" source="../assets/images/agents-in-teams/first-agent-qsg/teams-agents.png" alt-text="Screenshot shows the option to create a new agent or app project in Teams." lightbox="../assets/images/agents-in-teams/first-agent-qsg/teams-agents.png":::
4748

4849
1. Select **General Teams Agent** to create an agent.
4950

50-
:::image type="content" source="../assets/images/agents-in-teams/first-agent-qsg/general-teams-agent.png" alt-text="Screenshot shows the location of the option to create a new agent in Teams." lightbox="../assets/images/agents-in-teams/first-agent-qsg/general-teams-agent.png":::
51+
:::image type="content" source="../assets/images/agents-in-teams/first-agent-qsg/general-teams-agent.png" alt-text="Screenshot shows the option to create a new agent in Teams." lightbox="../assets/images/agents-in-teams/first-agent-qsg/general-teams-agent.png":::
5152

5253
1. Select a service to access Large Language Model (LLM) for your agent.
5354

54-
:::image type="content" source="../assets/images/agents-in-teams/first-agent-qsg/access-llm.png" alt-text="Screenshot shows the location of the option to select an appropriate LLM for your agent." lightbox="../assets/images/agents-in-teams/first-agent-qsg/access-llm.png":::
55+
:::image type="content" source="../assets/images/agents-in-teams/first-agent-qsg/access-llm.png" alt-text="Screenshot shows the option to select an appropriate LLM for your agent." lightbox="../assets/images/agents-in-teams/first-agent-qsg/access-llm.png":::
5556

5657
Choose one of the following options:
5758

@@ -69,19 +70,19 @@ For more information about setting up Azure OpenAI services, see:
6970

7071
1. Select the **Default folder** as the **Workspace Folder** for your agent project.
7172

72-
:::image type="content" source="../assets/images/agents-in-teams/first-agent-qsg/select-workspace.png" alt-text="Screenshot shows the field to select the workspace folder for your agent project." lightbox="../assets/images/agents-in-teams/first-agent-qsg/select-workspace.png":::
73+
:::image type="content" source="../assets/images/agents-in-teams/first-agent-qsg/select-workspace.png" alt-text="Screenshot shows the field to select the project workspace folder for your agent." lightbox="../assets/images/agents-in-teams/first-agent-qsg/select-workspace.png":::
7374

7475
1. Enter the agent name and then select **Enter**.
7576

7677
:::image type="content" source="../assets/images/agents-in-teams/first-agent-qsg/add-agent-name.png" alt-text="Screenshot shows the field to add the agent name." lightbox="../assets/images/agents-in-teams/first-agent-qsg/add-agent-name.png":::
7778

78-
The toolkit displays a message that the agent has been successfully created. You can also provision the agent at this time or later. If the toolkit displays a message to confirm if you trust the author, select **Yes, I trust the authors**.
79+
The toolkit displays a message that the agent workspace has been successfully created. You can provision the agent at this time or later. If the toolkit displays a message to confirm that you trust the author, select **Yes, I trust the authors**.
7980

8081
:::image type="content" source="../assets/images/agents-in-teams/first-agent-qsg/trust-author.png" alt-text="Screenshot shows the message for confirming if you trust the authors of the agent.":::
8182

8283
### Take a tour of the agent source code
8384

84-
Microsoft 365 Agents Toolkit creates your agent project and scaffolds the project workspace. Here's a look at the folder structure:
85+
Microsoft 365 Agents Toolkit creates and scaffolds the agent project workspace. Here's a look at the folder structure:
8586

8687
| Folder | Contents |
8788
| --- | --- |

0 commit comments

Comments
 (0)