Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .config/samples-config-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -912,8 +912,8 @@
],
"time": "5 mins to run",
"configuration": "Manual configurations required",
"thumbnailPath": "assets/coffee-agent-thumbnail.png",
"gifPath": "assets/coffee-agent-thumbnail.png",
"thumbnailPath": "assets/coffee-agent-sample-response.png",
"gifPath": "assets/coffee-agent-sample-response.png",
"suggested": false
}
]
Expand Down
3 changes: 2 additions & 1 deletion coffee-agent/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ node_modules/
.env
appPackage/build
.localConfigs
.localConfigs.playground
.localConfigs.playground
dist
28 changes: 28 additions & 0 deletions coffee-agent/.webappignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.webappignore
.fx
.deployment
.localConfigs.playground
.localConfigs
.notification.localstore.json
.notification.playgroundstore.json
.vscode
*.js.map
*.ts.map
*.ts
.git*
.tsbuildinfo
CHANGELOG.md
readme.md
local.settings.json
test
tsconfig.json
.DS_Store
m365agents.yml
m365agents.*.yml
/env/
/node_modules/.bin
/node_modules/ts-node
/node_modules/typescript
/appPackage/
/infra/
/devTools/
2 changes: 1 addition & 1 deletion coffee-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Originally from our Build 2025 Lab, this sample is built with the [Microsoft Tea

This Coffee Agent helps teams coordinate their daily coffee orders by randomly selecting coffee shops and orderers, managing team coffee orders, and maintaining information about available coffee shops and their offerings. It's perfect for teams that want to streamline their coffee coordination process while having fun with their daily caffeine routine.

![Coffee Agent Demo](assets/coffee-agent-thumbnail.png)
![Coffee Agent Demo](assets/coffee-agent-sample-response.png)

## This sample illustrates
- Use Microsoft 365 Agents Toolkit to create an AI-powered Teams bot
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions coffee-agent/infra/azure.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,17 @@ resource webApp 'Microsoft.Web/sites@2021-02-01' = {
value: '1'
}
{
name: 'clientId'
name: 'CLIENT_ID'
value: identity.properties.clientId
}
{
name: 'tenantId'
name: 'TENANT_ID'
value: identity.properties.tenantId
}
{
name: 'BOT_TYPE'
value: 'UserAssignedMsi'
}
{
name: 'AZURE_OPENAI_API_KEY'
value: azureOpenAIKey
Expand Down
Loading
Loading