Skip to content

Commit

Permalink
Bump package and all samples
Browse files Browse the repository at this point in the history
  • Loading branch information
Corina Gum committed Sep 3, 2024
1 parent 5fa361c commit 15a2589
Show file tree
Hide file tree
Showing 24 changed files with 107 additions and 132 deletions.
12 changes: 6 additions & 6 deletions js/packages/teams-ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@microsoft/teams-ai",
"author": "Microsoft Corp.",
"description": "SDK focused on building AI based applications for Microsoft Teams.",
"version": "1.3.1",
"version": "1.4.0",
"license": "MIT",
"keywords": [
"botbuilder",
Expand All @@ -25,17 +25,17 @@
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"peerDependencies": {
"botbuilder": "^4.22.1",
"openai": "^4.41.0"
"botbuilder": "^4.23.0",
"openai": "^4.41.1"
},
"dependencies": {
"@azure/openai-assistants": "1.0.0-beta.5",
"@azure/msal-node": "^2.13.1",
"axios": "^1.7.5",
"botbuilder-dialogs": "^4.23.0",
"botframework-connector": "^4.22.1",
"botframework-schema": "^4.22.1",
"botframework-streaming": "^4.22.1",
"botframework-connector": "^4.23.0",
"botframework-schema": "^4.23.0",
"botframework-streaming": "^4.23.0",
"gpt-tokenizer": "^2.2.1",
"json-colorizer": "^2.2.2",
"jsonschema": "1.4.1",
Expand Down
4 changes: 2 additions & 2 deletions js/samples/01.getting-started/a.echoBot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"url": "https://github.com/microsoft/teams-ai/"
},
"dependencies": {
"@microsoft/teams-ai": "~1.3.1",
"@microsoft/teams-ai": "~1.4.0",
"botbuilder": "^4.23.0",
"dotenv": "^16.4.5",
"openai": "4.28.4",
"openai": "4.41.1",
"replace": "~1.2.0",
"restify": "~11.1.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"url": "https://github.com/microsoft/teams-ai"
},
"dependencies": {
"@microsoft/teams-ai": "~1.3.1",
"@microsoft/teams-ai": "~1.4.0",
"axios": "^1.7.5",
"botbuilder": "^4.23.0",
"dotenv": "^16.4.5",
"openai": "4.28.4",
"openai": "4.41.1",
"replace": "~1.2.0",
"restify": "~11.1.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"url": "https://github.com/microsoft/teams-ai"
},
"dependencies": {
"@microsoft/teams-ai": "~1.3.1",
"@microsoft/teams-ai": "~1.4.0",
"axios": "^1.7.5",
"botbuilder": "^4.23.0",
"dotenv": "^16.4.5",
"openai": "4.28.4",
"openai": "4.41.1",
"replace": "~1.2.0",
"restify": "~11.1.0"
},
Expand Down
4 changes: 2 additions & 2 deletions js/samples/03.ai-concepts/a.twentyQuestions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"url": "https://github.com/microsoft/teams-ai"
},
"dependencies": {
"@microsoft/teams-ai": "~1.3.1",
"@microsoft/teams-ai": "~1.4.0",
"botbuilder": "^4.23.0",
"dotenv": "^16.4.5",
"openai": "4.28.4",
"openai": "4.41.1",
"replace": "~1.2.0",
"restify": "~11.1.0"
},
Expand Down
4 changes: 2 additions & 2 deletions js/samples/03.ai-concepts/b.AI-messageExtensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
},
"dependencies": {
"botbuilder": "^4.23.0",
"@microsoft/teams-ai": "~1.3.1",
"@microsoft/teams-ai": "~1.4.0",
"dotenv": "^16.4.5",
"openai": "4.28.4",
"openai": "4.41.1",
"replace": "~1.2.0",
"restify": "~11.1.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"url": "https://github.com/microsoft/teams-ai"
},
"dependencies": {
"@microsoft/teams-ai": "~1.3.1",
"@microsoft/teams-ai": "~1.4.0",
"botbuilder": "^4.23.0",
"dotenv": "^16.4.5",
"openai": "4.28.4",
"openai": "4.41.1",
"replace": "~1.2.0",
"restify": "~11.1.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"url": "https://github.com/microsoft/teams-ai"
},
"dependencies": {
"@microsoft/teams-ai": "~1.3.1",
"@microsoft/teams-ai": "~1.4.0",
"botbuilder": "^4.23.0",
"dotenv": "^16.4.5",
"openai": "4.28.4",
"openai": "4.41.1",
"replace": "~1.2.0",
"restify": "~11.1.0"
},
Expand Down
4 changes: 2 additions & 2 deletions js/samples/03.ai-concepts/e.customModel-LLAMA/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
},
"dependencies": {
"botbuilder": "^4.23.0",
"@microsoft/teams-ai": "~1.3.1",
"openai": "4.28.4",
"@microsoft/teams-ai": "~1.4.0",
"openai": "4.41.1",
"dotenv": "^16.4.1",
"replace": "~1.2.0",
"restify": "~11.1.0"
Expand Down
4 changes: 2 additions & 2 deletions js/samples/03.ai-concepts/f.chatModeration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"url": "https://github.com/microsoft/teams-ai"
},
"dependencies": {
"@microsoft/teams-ai": "~1.3.1",
"@microsoft/teams-ai": "~1.4.0",
"axios": "^1.7.5",
"botbuilder": "^4.23.0",
"dotenv": "^16.4.5",
"jsonwebtoken": "^9.0.2",
"openai": "4.28.4",
"openai": "4.41.1",
"replace": "~1.2.0",
"restify": "~11.1.0"
},
Expand Down
4 changes: 2 additions & 2 deletions js/samples/04.ai-apps/a.teamsChefBot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
"url": "https://github.com/microsoft/teams-ai"
},
"dependencies": {
"@microsoft/teams-ai": "~1.3.1",
"@microsoft/teams-ai": "~1.4.0",
"@microsoft/teams-js": "^2.27.0",
"@microsoft/teamsfx": "^2.3.2",
"botbuilder": "^4.23.0",
"dotenv": "^16.4.5",
"openai": "4.28.4",
"openai": "4.41.1",
"replace": "~1.2.0",
"restify": "~11.1.0",
"vectra": "^0.9.0"
Expand Down
2 changes: 1 addition & 1 deletion js/samples/04.ai-apps/b.devOpsBot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"botbuilder": "^4.23.0",
"@microsoft/teams-ai": "~1.3.1",
"@microsoft/teams-ai": "~1.4.0",
"dotenv": "^16.4.5",
"replace": "~1.2.0",
"restify": "~11.1.0",
Expand Down
4 changes: 2 additions & 2 deletions js/samples/04.ai-apps/c.vision-cardGazer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"url": "https://github.com/microsoft/teams-ai"
},
"dependencies": {
"@microsoft/teams-ai": "~1.3.1",
"@microsoft/teams-ai": "~1.4.0",
"@microsoft/teamsfx": "^2.3.2",
"botbuilder": "^4.23.0",
"dotenv": "^16.4.5",
"openai": "4.28.4",
"openai": "4.41.1",
"replace": "~1.2.0",
"restify": "~11.1.0"
},
Expand Down
4 changes: 2 additions & 2 deletions js/samples/04.ai-apps/d.assistants-mathBot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"url": "https://github.com/microsoft/teams-ai"
},
"dependencies": {
"@microsoft/teams-ai": "~1.3.1",
"@microsoft/teams-ai": "~1.4.0",
"axios": "^1.7.5",
"botbuilder": "^4.23.0",
"dotenv": "^16.4.5",
"jsonwebtoken": "^9.0.2",
"openai": "4.28.4",
"openai": "4.41.1",
"replace": "~1.2.0",
"restify": "~11.1.0"
},
Expand Down
4 changes: 2 additions & 2 deletions js/samples/04.ai-apps/e.assistants-orderBot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"url": "https://github.com/microsoft/teams-ai"
},
"dependencies": {
"@microsoft/teams-ai": "~1.3.1",
"@microsoft/teams-ai": "~1.4.0",
"axios": "^1.7.5",
"botbuilder": "^4.23.0",
"dotenv": "^16.4.5",
"jsonwebtoken": "^9.0.2",
"openai": "4.28.4",
"openai": "4.41.1",
"replace": "~1.2.0",
"restify": "~11.1.0"
},
Expand Down
4 changes: 2 additions & 2 deletions js/samples/04.ai-apps/f.whoBot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"url": "https://github.com/microsoft/teams-ai"
},
"dependencies": {
"@microsoft/teams-ai": "~1.3.1",
"@microsoft/teams-ai": "~1.4.0",
"botbuilder": "^4.23.0",
"botbuilder-dialogs": "^4.23.0",
"dotenv": "^16.4.5",
"openai": "4.28.4",
"openai": "4.41.1",
"replace": "~1.2.0",
"restify": "~11.1.0"
},
Expand Down
4 changes: 2 additions & 2 deletions js/samples/04.ai-apps/g.datasource-azureAISearch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
},
"dependencies": {
"@azure/search-documents": "12.1.0",
"@microsoft/teams-ai": "~1.3.1",
"@microsoft/teams-ai": "~1.4.0",
"@microsoft/teamsfx": "^2.3.2",
"botbuilder": "^4.23.0",
"debug": "^4.3.6",
"dotenv": "^16.4.1",
"openai": "4.28.4",
"openai": "4.41.1",
"replace": "~1.2.0",
"restify": "~11.1.0",
"vectra": "^0.9.0"
Expand Down
108 changes: 54 additions & 54 deletions js/samples/04.ai-apps/h.datasource-azureOpenAI/package.json
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@
{
"name": "teams-azureopenai-demo",
"version": "1.0.0",
"description": "Sample bot demonstrating using Azure AI Search for RAG.",
"author": "Microsoft",
"license": "MIT",
"main": "./lib/index.js",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"dev:teamsfx": "env-cmd --silent -f .env npm run dev",
"dev:teamsfx:testtool": "env-cmd --silent -f .env npm run dev",
"dev:teamsfx:launch-testtool": "env-cmd --silent -f env/.env.testtool teamsapptester start",
"dev": "nodemon --watch ./src --exec node --inspect=9239 --signal SIGINT -r ts-node/register ./src/index.ts",
"build": "tsc --build && copyfiles -u 3 src/prompts/chat/config.json lib/prompts/chat/",
"clean": "rimraf node_modules lib",
"lint": "eslint **/src/**/*.{j,t}s{,x} --fix --no-error-on-unmatched-pattern",
"start": "tsc --build && node ./lib/index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "nodemon --watch ./src -e ts --exec \"yarn start\""
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/teams-ai"
},
"dependencies": {
"@azure/identity": "^4.4.1",
"@azure/search-documents": "12.1.0",
"@microsoft/teams-ai": "~1.3.1",
"@microsoft/teamsfx": "^2.3.2",
"botbuilder": "^4.23.0",
"dotenv": "^16.4.1",
"openai": "4.28.4",
"replace": "~1.2.0",
"restify": "~11.1.0",
"vectra": "^0.9.0"
},
"devDependencies": {
"@types/debug": "^4.1.12",
"@types/jsonwebtoken": "^8.5.0",
"@types/node": "^20.16.1",
"@types/restify": "8.5.12",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"copyfiles": "^2.4.1",
"debug": "^4.3.6",
"env-cmd": "^10.1.0",
"eslint": "^8.57.0",
"nodemon": "~3.0.1",
"prettier": "^3.3.3",
"rimraf": "^5.0.10",
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
}
"name": "teams-azureopenai-demo",
"version": "1.0.0",
"description": "Sample bot demonstrating using Azure AI Search for RAG.",
"author": "Microsoft",
"license": "MIT",
"main": "./lib/index.js",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"dev:teamsfx": "env-cmd --silent -f .env npm run dev",
"dev:teamsfx:testtool": "env-cmd --silent -f .env npm run dev",
"dev:teamsfx:launch-testtool": "env-cmd --silent -f env/.env.testtool teamsapptester start",
"dev": "nodemon --watch ./src --exec node --inspect=9239 --signal SIGINT -r ts-node/register ./src/index.ts",
"build": "tsc --build && copyfiles -u 3 src/prompts/chat/config.json lib/prompts/chat/",
"clean": "rimraf node_modules lib",
"lint": "eslint **/src/**/*.{j,t}s{,x} --fix --no-error-on-unmatched-pattern",
"start": "tsc --build && node ./lib/index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "nodemon --watch ./src -e ts --exec \"yarn start\""
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/teams-ai"
},
"dependencies": {
"@azure/identity": "^4.4.1",
"@azure/search-documents": "12.1.0",
"@microsoft/teams-ai": "~1.4.0",
"@microsoft/teamsfx": "^2.3.2",
"botbuilder": "^4.23.0",
"dotenv": "^16.4.1",
"openai": "4.41.1",
"replace": "~1.2.0",
"restify": "~11.1.0",
"vectra": "^0.9.0"
},
"devDependencies": {
"@types/debug": "^4.1.12",
"@types/jsonwebtoken": "^8.5.0",
"@types/node": "^20.16.1",
"@types/restify": "8.5.12",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"copyfiles": "^2.4.1",
"debug": "^4.3.6",
"env-cmd": "^10.1.0",
"eslint": "^8.57.0",
"nodemon": "~3.0.1",
"prettier": "^3.3.3",
"rimraf": "^5.0.10",
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
},
"dependencies": {
"@microsoft/microsoft-graph-client": "^3.0.7",
"@microsoft/teams-ai": "~1.3.1",
"@microsoft/teams-ai": "~1.4.0",
"botbuilder": "^4.23.0",
"dotenv": "^16.4.5",
"openai": "4.28.4",
"openai": "4.41.1",
"isomorphic-fetch": "^3.0.0",
"replace": "~1.2.0",
"restify": "~11.1.0"
Expand Down
4 changes: 2 additions & 2 deletions js/samples/05.authentication/b.oauth-bot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"url": "https://github.com/microsoft/teams-ai"
},
"dependencies": {
"@microsoft/teams-ai": "~1.3.1",
"@microsoft/teams-ai": "~1.4.0",
"botbuilder": "^4.23.0",
"botbuilder-dialogs": "^4.23.0",
"dotenv": "^16.4.5",
"openai": "4.28.4",
"openai": "4.41.1",
"replace": "~1.2.0",
"restify": "~11.1.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
},
"dependencies": {
"@microsoft/microsoft-graph-client": "^3.0.7",
"@microsoft/teams-ai": "~1.3.1",
"@microsoft/teams-ai": "~1.4.0",
"botbuilder": "^4.23.0",
"dotenv": "^16.4.5",
"isomorphic-fetch": "^3.0.0",
"openai": "4.28.4",
"openai": "4.41.1",
"replace": "~1.2.0",
"restify": "~11.1.0"
},
Expand Down
Loading

0 comments on commit 15a2589

Please sign in to comment.