Skip to content

Commit 8f6a700

Browse files
committed
Updates per PR review comments
1 parent bc1d192 commit 8f6a700

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

hub/apps/develop/action-framework/action-json.md

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Describes the format of the action definition JSON file format for Action Framew
1919
"actions": [
2020
{
2121
"id": "Contoso.SampleGreeting",
22-
"description": "A simple greeting action.",
22+
"description": "Send greeting with Contoso",
2323
"icon": "ms-resource//...",
2424
"inputs": [
2525
{
@@ -50,13 +50,13 @@ Describes the format of the action definition JSON file format for Action Framew
5050
"uri": "contoso://greetUser? userName=${UserFriendlyName.Text}&petName=${PetName.Text}",
5151
},
5252
"where": [
53-
"${UserFriendlyName.Text.Length > 3}"
53+
"${UserFriendlyName.Length > 3}"
5454
]
5555
}
5656
},
5757
{
5858
"id": "Contoso.SampleGetText",
59-
"description": "Summarize a file",
59+
"description": "Summarize file with Contoso",
6060
"icon": "ms-resource://...",
6161
"inputs": [
6262
{
@@ -144,6 +144,7 @@ The **ActionEntityKind** enumeration specifies the types of entities that are su
144144
| "File" | Includes all file types that are not supported by photo or document entity types. |
145145
| "Photo" | Image file types. Supported image file extensions are ".jpg", ".jpeg", and ".png" |
146146
| "Document" | Document file types. Supported document file extensions are ".doc", ".docx", ".pdf", ".txt" |
147+
| "Text" | Supports strings of text |
147148

148149
## Entity properties
149150

@@ -180,21 +181,11 @@ The *Photo* entity supports all of the properties of *File* in addition to the f
180181
| Property | Type | Description |
181182
|----------|------|-------------|
182183
| "Text" | string | The full text. |
183-
| "TextFormat" | ActionEntityTextFormat | The format of the text. |
184184
| "ShortText" | string | A shortened version of the text, suitable for UI display. |
185185
| "Title" | string | The title of the text. |
186186
| "Description" | string | A description of the text. |
187187
| "Length" | double | The length of the text in characters. |
188-
| "WordCount" | double | The number of words in the text. |
189-
190-
## ActionEntityKind enumeration
191-
192-
The **ActionEntityTextFormat** enumeration specifies the types text formatting recognized by the "Text.TextFormat" entity property.
193-
194-
| Entity kind string | Description |
195-
|-------|------------|-------------|
196-
| "Plain" | Plain text. |
197-
| "Markdown" | Markdown formatted text. |
188+
| "WordCount" | double | The number of words in the text. |
198189

199190
## Where clauses
200191

hub/apps/develop/action-framework/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@ ms.localizationpriority: medium
1111
TBD - Overview content
1212

1313

14+
## Responsible AI Notes
1415

16+
When building AI backed actions, it is your responsibility as the Action author to perform content moderation and abuse monitoring when it comes to entities returned to the user. For more information about Microsoft Responsible AI policies for more information, see [Microsoft Responsible AI: Principles and approach](https://www.microsoft.com/en-us/ai/principles-and-approach)
1517

16-
18+
> [!NOTE]
19+
> Consider if children should have access to the action using the ‘age-rating’ property in the action definition.
1720
1821
## Related articles
1922

0 commit comments

Comments
 (0)