Skip to content

Commit 9b99701

Browse files
authored
Merge pull request #7882 from MicrosoftDocs/main
updating branch
2 parents 7dd825f + 236f849 commit 9b99701

40 files changed

+489
-110
lines changed

powerapps-docs/cards/card-requirements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ Cards has the same [system requirements as Power Apps](../limits-and-config.md)
4949

5050
## Supported platforms for sending cards
5151

52-
Cards can be sent to [Microsoft Teams](/send-a-card/send-card-in-teams.md) in desktop, mobile, or web clients.
52+
Cards can be sent to [Microsoft Teams](send-a-card/send-card-in-teams.md) in desktop, mobile, or web clients.

powerapps-docs/developer/data-platform/org-service/overview.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ ms.author: dikamath
77
ms.reviewer: pehecke
88
ms.topic: overview
99
ms.custom: bap-template
10-
ms.service: power-platform
1110
contributors:
1211
- JimDaly
1312
- phecke

powerapps-docs/docfx.json

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@
5050
"feedback_system": "GitHub",
5151
"feedback_github_repo": "MicrosoftDocs/powerapps-docs",
5252
"feedback_product_url": "https://ideas.powerapps.com",
53-
"search.appverid": "met150",
54-
"search.app": [
55-
"PowerApps"
56-
],
5753
"recommendations": true
5854
},
5955
"fileMetadata": {
@@ -78,7 +74,13 @@
7874
]
7975
},
8076
"searchScope": {
81-
"**.*": [ "Power Platform", "Power Apps" ]
77+
"**.*": [
78+
"Power Platform",
79+
"Power Apps"
80+
]
81+
},
82+
"ms.topic": {
83+
"developer/**/*.md": "overview"
8284
},
8385
"ms.service": {
8486
"**.*": "powerapps"
@@ -97,6 +99,31 @@
9799
"mobile/**/*.md": "mobile",
98100
"sample-apps/**/*.md": "sample-apps",
99101
"guidance/**/*.md": "guidance"
102+
},
103+
"search.app": {
104+
"**.*": [
105+
"PowerApps",
106+
"powerapps-docs"
107+
],
108+
"developer/data-platform/**/*.md": [
109+
"PowerApps",
110+
"powerapps-docs",
111+
"dataverse-docs"
112+
],
113+
"maker/data-platform/**/*.md": [
114+
"PowerApps",
115+
"powerapps-docs",
116+
"dataverse-docs"
117+
],
118+
"teams/**/*.md": [
119+
"PowerApps",
120+
"powerapps-docs",
121+
"teams-docs"
122+
],
123+
"maker/portals/**/*.md": [
124+
"PowerApps",
125+
"powerpages-docs"
126+
]
100127
}
101128
},
102129
"template": [],

powerapps-docs/maker/TOC.yml

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
href: ./canvas-apps/help-desk-install.md
246246
- name: Create your first app
247247
items:
248-
- name: 1 - Create an app from a design or a template
248+
- name: Create an app from a design or a template
249249
items:
250250
- name: Create an app from a template
251251
href: ./canvas-apps/get-started-test-drive.md
@@ -268,7 +268,13 @@
268268
- name: Troubleshoot common errors
269269
href: ./canvas-apps/figma/common-errors.md
270270
displayName: Troubleshoot common errors when creating app from Figma
271-
- name: 2 - Create an app using data
271+
- name: Create an app using AI Copilot (preview)
272+
items:
273+
- name: Overview
274+
href: ./canvas-apps/ai-overview.md
275+
- name: Create an app from conversations
276+
href: ./canvas-apps/ai-conversations-create-app.md
277+
- name: Create an app using data
272278
items:
273279
- name: From Microsoft Dataverse
274280
href: ./canvas-apps/data-platform-create-app.md
@@ -278,13 +284,13 @@
278284
href: ./canvas-apps/get-started-create-from-data.md
279285
- name: From Azure SQL Database
280286
href: ./canvas-apps/app-from-azure-sql-database.md
281-
- name: 3 - Make basic customizations
287+
- name: Make basic customizations
282288
items:
283-
- name: 1 - Galleries
289+
- name: Galleries
284290
href: ./canvas-apps/customize-layout-sharepoint.md
285-
- name: 2 - Forms
291+
- name: Forms
286292
href: ./canvas-apps/customize-forms-sharepoint.md
287-
- name: 3 - Cards
293+
- name: Cards
288294
href: ./canvas-apps/customize-card.md
289295
- name: Create an app from scratch
290296
items:
@@ -378,6 +384,10 @@
378384
href: ./canvas-apps/add-screen-context-variables.md
379385
- name: Add a scrolling screen
380386
href: ./canvas-apps/add-scrolling-screen.md
387+
- name: Add a chatbot (preview)
388+
href: ./canvas-apps/add-ai-chatbot.md
389+
- name: Add a copilot (preview)
390+
href: ./canvas-apps/add-ai-copilot.md
381391
- name: Configure Office 365 screens
382392
items:
383393
- name: Calendar-screen overview
@@ -642,7 +652,7 @@
642652
href: ./canvas-apps/working-with-flows.md
643653
- name: Add a flow (retired)
644654
href: ./canvas-apps/using-logic-flows.md
645-
- name: Create a rule in canvas apps
655+
- name: Convert rules to expressions
646656
href: ./canvas-apps/working-with-rules.md
647657
- name: Create or update bulk records
648658
href: ./canvas-apps/create-update-records-bulk.md
@@ -735,7 +745,7 @@
735745
- name: CountRows
736746
href: /power-platform/power-fx/reference/function-table-counts
737747
- name: Data types
738-
href: /power-platform/power-fx/reference/data-types
748+
href: /power-platform/power-fx/data-types
739749
- name: DataSourceInfo
740750
href: /power-platform/power-fx/reference/function-datasourceinfo
741751
- name: Date
@@ -1306,7 +1316,7 @@
13061316
href: ./model-driven-apps/create-a-model-driven-app.md
13071317
- name: Understanding app navigation
13081318
href: ./model-driven-apps/app-navigation.md
1309-
- name: Work with pages (preview)
1319+
- name: Work with pages
13101320
href: ./model-driven-apps/create-remove-pages.md
13111321
- name: Manage app settings
13121322
href: ./model-driven-apps/app-properties.md
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
---
2+
title: Add Chatbot control to your canvas app
3+
description: A control that enables embedding of any published Power Virtual Agent (PVA) bot into Power Apps for end-user.
4+
author: mduelae
5+
ms.topic: conceptual
6+
ms.custom:
7+
- canvas
8+
- intro-internal
9+
ms.reviewer:
10+
ms.date: 3/13/2023
11+
ms.subservice: canvas-maker
12+
ms.author: tapanm
13+
search.audienceType:
14+
- maker
15+
search.app:
16+
- PowerApps
17+
contributors:
18+
- mduelae
19+
---
20+
21+
# Add Chatbot control to a canvas app (preview)
22+
23+
[This article is prerelease documentation and is subject to change.]
24+
25+
Add Chatbot control to your canvas apps and embed a published [Power Virtual Agents](/power-virtual-agents/fundamentals-what-is-power-virtual-agents) chatbot to assist your end-users with a variety of requests—from providing simple answers to common questions to resolving issues requiring complex conversations.
26+
27+
You can use an AI bot or AI boosted conversations bot:
28+
29+
- With AI chatbots, you can create an extended tree of answers to support your users. More information: [Power Virtual Agents preview quickstart (preview)](/power-virtual-agents/preview/quickstart)
30+
31+
- With AI boosted conversations Power Virtual Agents bot your bot can have a higher ability to respond to the user by using a number of prompts or generating a response based on provided "fallback" website which you set. The "fallback" website can include internal documents or publicly available websites. More information: [AI-based boosted conversations overview (preview)](/power-virtual-agents/nlu-gpt-overview)
32+
33+
34+
You can design the Chabot control by giving it a name, change the size of the control window, and position it anywhere on the screen.
35+
36+
> [!div class="mx-imgBorder"]
37+
> ![Sample Chabot control in a canvas app.](media/chatbot-control/ai-chatbot-control-1.png)
38+
39+
40+
> [!IMPORTANT]
41+
> - This capability is in gated preview, and you'll need to apply for consideration to take part in the trial. To apply, go to [Limited preview request](https://go.microsoft.com/fwlink/?linkid=2227838).
42+
> - Preview features aren’t meant for production use and may have restricted functionality. These features are available before an official release so that customers can get early access and provide feedback.
43+
> - For more information, go to our [preview terms](https://go.microsoft.com/fwlink/?linkid=2189520).
44+
> - This capability is powered by [ Azure OpenAI Service](/azure/cognitive-services/openai/overview).
45+
> - This capability is in process of rolling out, and may not be available in your region yet.
46+
> - This capability may be subject to usage limits or capacity throttling.
47+
48+
49+
## Prerequisites
50+
51+
- Follow the prerequisites for AI features: [AI Copilot overview (preview)](ai-overview.md)
52+
- To add the Chatbot control, you need to create and publish a bot on the [Power Virtual Agents web app](/power-virtual-agents/fundamentals-what-is-power-virtual-agents-portal). You can create any bot such as an AI bot or a new generative AI enriched Power Virtual Agents bot.
53+
54+
55+
## Bot schema name
56+
57+
You need the bot schema name to add it to the Chatbot control properties in Power Apps Studio. Following these steps to get the schema name.
58+
59+
1. In Power Virtual Agents, open the bot you want to use.
60+
2. In the navigation menu, go to **Settings** > **Details**.
61+
3. Select the **Advanced** tab and note the **Schema name**.
62+
63+
64+
## Turn on the Chatbot control
65+
66+
With your [canvas app open for editing](edit-app.md):
67+
68+
1. On the command bar, select **Settings** > **Upcoming features**.
69+
2. From the **Preview** tab, set the toggle for **Chatbot component** to **On**.
70+
71+
> [!div class="mx-imgBorder"]
72+
> ![Turn on Chatbot control.](media/chatbot-control/ai-chatbot-control-2.png)
73+
74+
## Add a control with a bot
75+
76+
With your [canvas app open for editing](edit-app.md):
77+
78+
1. On the app authoring menu, select **Insert**.
79+
2. Expand the **Input** menu and then select **Chatbot (preview)**). Place the chatbot control where you want to add it on the screen.
80+
81+
> [!div class="mx-imgBorder"]
82+
> ![Add the Chatbot control.](media/chatbot-control/ai-chatbot-control-3.png)
83+
84+
2. In the Chatbot properties pane, enter the Power Virtual Agents bot schema name in the **Schema Name** field.
85+
86+
You can change the name, the position, and size of the control.
87+
88+
### Key properties
89+
90+
The following are the main properties for Chatbot control:
91+
92+
- **Schema name**: The schema name property must be entered to connect your published Power Virtual Agents bot to your canvas app. For more information on how to get the Schema name, see [Prerequisites](add-ai-chatbot.md#prerequisites) section in this article.
93+
94+
- **Header label**: This is the name of the bot that your end-user will see. If don't enter a header label, it will be **Chatbot**.
95+
96+
> [!div class="mx-imgBorder"]
97+
> ![Add schema name.](media/chatbot-control/ai-chatbot-control-4.png)
98+
99+
Use the other properties or move the control on the screen to set position and size of the control on the screen.
100+
101+
## Limitations
102+
103+
- You can only embed a bot with no user authentication.
104+
105+
## See also
106+
107+
[Power Virtual Agents preview quickstart (preview)](/power-virtual-agents/preview/quickstart)
108+
109+
[AI-based boosted conversations overview (preview)](/power-virtual-agents/nlu-gpt-overview)
110+
111+
[Use the Copilot control](add-ai-copilot.md)
112+
113+
114+
[!INCLUDE[footer-include](../../includes/footer-banner.md)]
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
---
2+
title: Add Copilot control to a canvas app
3+
description: Add copilot AI control to your canvas app.
4+
author: mduelae
5+
ms.topic: conceptual
6+
ms.custom:
7+
- canvas
8+
- intro-internal
9+
ms.reviewer:
10+
ms.date: 3/13/2023
11+
ms.subservice: canvas-maker
12+
ms.author: tapanm
13+
search.audienceType:
14+
- maker
15+
search.app:
16+
- PowerApps
17+
contributors:
18+
- mduelae
19+
---
20+
21+
# Add Copilot control to a canvas app (preview)
22+
23+
[This article is prerelease documentation and is subject to change.]
24+
25+
The Copilot control is a next-generation AI assistant that makers can add to their apps for end-users. This is an AI-powered experience for app users to get insights about the data in their apps through conversation in natural language. Makers can add this control to any app and choose what data it can answer questions about.
26+
27+
> [!IMPORTANT]
28+
> - This capability is in gated preview, and you'll need to apply for consideration to take part in the trial. To apply, go to [Limited preview request](https://go.microsoft.com/fwlink/?linkid=2227838).
29+
> - Preview features aren’t meant for production use and may have restricted functionality. These features are available before an official release so that customers can get early access and provide feedback.
30+
> - For more information, go to our [preview terms](https://go.microsoft.com/fwlink/?linkid=2189520).
31+
> - This capability is powered by [ Azure OpenAI Service](/azure/cognitive-services/openai/overview).
32+
> - This capability is in process of rolling out, and may not be available in your region yet.
33+
> - This capability may be subject to usage limits or capacity throttling.
34+
35+
36+
## Prerequisites
37+
38+
- Follow the prerequisites for AI features: [AI Copilot overview (preview)](ai-overview.md).
39+
40+
41+
## Enable Copilot control for your app:
42+
43+
With your [canvas app open for editing](edit-app.md):
44+
45+
1. On the command bar, select **Settings** > **Upcoming features**.
46+
2. From the **Preview** tab, set the toggle for **Copilot component** to **On**.
47+
48+
> [!div class="mx-imgBorder"]
49+
> ![Turn on Copilot control.](media/copilot/copilot-1.png)
50+
51+
## Add the Copilot control
52+
53+
With your [canvas app open for editing](edit-app.md):
54+
55+
1. On the app authoring menu, select **Insert**.
56+
2. Expand the **Input** menu and select **Copilot (preview)** to add this control.
57+
58+
> [!div class="mx-imgBorder"]
59+
> ![Add teh copilot control.](media/copilot/copilot-2.png)
60+
61+
## Choose data
62+
63+
1. When the Copilot control is added, select a data source from the pane. Note that at this time, only a single Dataverse table can be selected for the Copilot control.
64+
65+
> [!div class="mx-imgBorder"]
66+
> ![Select a data source.](media/copilot/copilot-3.png)
67+
68+
2. Alternatively, on the **Properties** tab of the right-hand pane, set **Data source (Items)** to the desired Dataverse table as your source of data.
69+
70+
3. Select the specific **Fields** and/or **View** over which the Copilot control answer questions.
71+
72+
> [!div class="mx-imgBorder"]
73+
> ![Select fields or views.](media/copilot/copilot-4.png)
74+
75+
Due to current limitations, the Copilot control can answer questions over Dataverse tables that are smaller in size.
76+
77+
## Configure the control (optional)
78+
79+
In addition to choosing the data source, you can also configure the following properties:
80+
81+
- **Title**: Replaces the control's default title of **Copilot**, and can be updated to something more descriptive of what this Copilot control can help app users with.
82+
83+
- **Data summary**: Helps Copilot control give better responses to questions from app users. We recommend a brief 2-3 lines describing what the app is and what sort of questions this Copilot control will answer. This property does not impact the control's UI.
84+
85+
- **Placeholder text**: Replaces the control's default placeholder text in the text input box **Ask a question about the data**. We recommend updating this to a short line sharing guidance to app users about what type of questions this Copilot control can answer.
86+
87+
> [!div class="mx-imgBorder"]
88+
> ![Configure the control.](media/copilot/copilot-5.png)
89+
90+
91+
92+
93+
94+
95+
96+
97+
98+
[!INCLUDE[footer-include](../../includes/footer-banner.md)]

0 commit comments

Comments
 (0)