Skip to content

Commit

Permalink
Added the /build directory
Browse files Browse the repository at this point in the history
  • Loading branch information
alexheat committed Nov 17, 2024
1 parent 61f8128 commit 67f5178
Show file tree
Hide file tree
Showing 4 changed files with 133 additions and 0 deletions.
82 changes: 82 additions & 0 deletions Random User/appPackage/build/ai-plugin.dev.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/copilot/plugin/v2.1/schema.json",
"schema_version": "v2.1",
"name_for_human": "Random User",
"description_for_human": "A free, open-source API for generating random user data.",
"namespace": "randomuser",
"functions": [
{
"name": "get",
"description": "Retrieve randomly generated user data. Required Values: gender (male, female), nat (e.g., us, gb). Optional Values: results (integer, default 1).",
"capabilities": {
"response_semantics": {
"data_path": "$.results",
"properties": {
"title": "$.name.title",
"subtitle": "$.gender"
},
"static_template": {
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"body": [
{
"type": "Container",
"$data": "${$root}",
"items": [
{
"type": "TextBlock",
"text": "gender: ${if(gender, gender, 'N/A')}",
"wrap": true
},
{
"type": "TextBlock",
"text": "name.title: ${if(name.title, name.title, 'N/A')}",
"wrap": true
},
{
"type": "TextBlock",
"text": "name.first: ${if(name.first, name.first, 'N/A')}",
"wrap": true
},
{
"type": "TextBlock",
"text": "name.last: ${if(name.last, name.last, 'N/A')}",
"wrap": true
},
{
"type": "TextBlock",
"text": "location.street.number: ${if(location.street.number, location.street.number, 'N/A')}",
"wrap": true
}
]
}
]
}
}
}
}
],
"runtimes": [
{
"type": "OpenApi",
"auth": {
"type": "None"
},
"spec": {
"url": "apiSpecificationFile/openapi.yaml"
},
"run_for_functions": [
"get"
]
}
],
"capabilities": {
"localization": {},
"conversation_starters": [
{
"text": "Get Random User Data"
}
]
}
}
Binary file added Random User/appPackage/build/appPackage.dev.zip
Binary file not shown.
13 changes: 13 additions & 0 deletions Random User/appPackage/build/declarativeAgent.dev.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/copilot/declarative-agent/v1.0/schema.json",
"version": "v1.0",
"name": "Random User",
"description": "Declarative agent created with Teams Toolkit",
"instructions": "Before calling randomuser_get, make sure that you have the required values provided by the user. Required Values: gender (male, female), nat (e.g., us, gb). Optional Values: results (integer, default 1). If the user has not provided the require values, ask them to provide them. ",
"actions": [
{
"id": "action_1",
"file": "ai-plugin.json"
}
]
}
38 changes: 38 additions & 0 deletions Random User/appPackage/build/manifest.dev.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.19/MicrosoftTeams.schema.json",
"manifestVersion": "1.19",
"version": "1.0.0",
"id": "7b0ebc2a-25e8-4f09-8999-2260a9d90d55",
"developer": {
"name": "Teams App, Inc.",
"websiteUrl": "https://www.example.com",
"privacyUrl": "https://www.example.com/privacy",
"termsOfUseUrl": "https://www.example.com/termofuse"
},
"icons": {
"color": "color.png",
"outline": "outline.png"
},
"name": {
"short": "Random Userdev",
"full": "Full name for Random User"
},
"description": {
"short": "Short description for Random User",
"full": "Full description for Random User"
},
"accentColor": "#FFFFFF",
"copilotAgents": {
"declarativeAgents": [
{
"id": "declarativeAgent",
"file": "declarativeAgent.json"
}
]
},
"permissions": [
"identity",
"messageTeamMembers"
],
"validDomains": []
}

0 comments on commit 67f5178

Please sign in to comment.