From 187c9c5b6ed0d274c63aa9dacb4186a44c9a7024 Mon Sep 17 00:00:00 2001 From: Corina Gum <> Date: Wed, 8 Jan 2025 12:48:51 -0800 Subject: [PATCH] Publish 1.7.2 --- js/package.json | 3 +-- js/packages/teams-ai/package.json | 4 ++-- js/samples/01.getting-started/a.echoBot/package.json | 4 ++-- .../a.messageExtensions.searchCommand/package.json | 4 ++-- .../b.adaptiveCards.typeAheadBot/package.json | 4 ++-- js/samples/03.ai-concepts/a.twentyQuestions/package.json | 4 ++-- .../03.ai-concepts/b.AI-messageExtensions/package.json | 4 ++-- .../03.ai-concepts/c.actionMapping-lightBot/package.json | 4 ++-- .../03.ai-concepts/d.chainedActions-listBot/package.json | 4 ++-- .../03.ai-concepts/e.customModel-LLAMA/package.json | 4 ++-- js/samples/03.ai-concepts/f.chatModeration/package.json | 4 ++-- js/samples/04.ai-apps/a.teamsChefBot/package.json | 4 ++-- js/samples/04.ai-apps/b.devOpsBot/package.json | 4 ++-- js/samples/04.ai-apps/c.vision-cardGazer/package.json | 4 ++-- js/samples/04.ai-apps/d.assistants-mathBot/package.json | 4 ++-- js/samples/04.ai-apps/e.assistants-orderBot/package.json | 4 ++-- js/samples/04.ai-apps/f.whoBot/package.json | 4 ++-- .../04.ai-apps/g.datasource-azureAISearch/package.json | 4 ++-- .../04.ai-apps/h.datasource-azureOpenAI/package.json | 4 ++-- .../04.ai-apps/i.teamsChefBot-streaming/package.json | 2 +- .../05.authentication/a.oauth-adaptiveCard/package.json | 4 ++-- js/samples/05.authentication/b.oauth-bot/package.json | 4 ++-- .../c.oauth-messageExtension/package.json | 4 ++-- js/samples/05.authentication/d.teamsSSO-bot/package.json | 4 ++-- .../e.teamsSSO-messageExtension/package.json | 4 ++-- js/yarn.lock | 8 ++++---- 26 files changed, 52 insertions(+), 53 deletions(-) diff --git a/js/package.json b/js/package.json index 49ed08b0e..f2ab3d95c 100644 --- a/js/package.json +++ b/js/package.json @@ -21,7 +21,7 @@ }, "dependencies": { "botbuilder": "^4.23.1", - "openai": "4.77.3" + "openai": "4.77.4" }, "devDependencies": { "@azure/logger": "^1.1.4", @@ -47,7 +47,6 @@ "eslint-plugin-prettier": "^5.2.1", "exorcist": "^2.0.0", "express": "^4.21.1", - "mocha": "^10.7.3", "mocha-junit-reporter": "^2.0.0", "mocha": "^10.8.2", "ms-rest-azure": "^3.0.2", diff --git a/js/packages/teams-ai/package.json b/js/packages/teams-ai/package.json index 1687062ba..463dac446 100644 --- a/js/packages/teams-ai/package.json +++ b/js/packages/teams-ai/package.json @@ -2,7 +2,7 @@ "name": "@microsoft/teams-ai", "author": "Microsoft Corp.", "description": "SDK focused on building AI based applications for Microsoft Teams.", - "version": "1.7.1", + "version": "1.7.2", "license": "MIT", "keywords": [ "botbuilder", @@ -26,7 +26,7 @@ "types": "./lib/index.d.ts", "peerDependencies": { "botbuilder": "^4.23.1", - "openai": "4.77.3" + "openai": "4.77.4" }, "dependencies": { "@azure/msal-node": "^2.16.1", diff --git a/js/samples/01.getting-started/a.echoBot/package.json b/js/samples/01.getting-started/a.echoBot/package.json index c5bd6667f..9cc8c1da9 100644 --- a/js/samples/01.getting-started/a.echoBot/package.json +++ b/js/samples/01.getting-started/a.echoBot/package.json @@ -22,10 +22,10 @@ "url": "https://github.com/microsoft/teams-ai/" }, "dependencies": { - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "botbuilder": "^4.23.1", "dotenv": "^16.4.5", - "openai": "4.77.3", + "openai": "4.77.4", "replace": "~1.2.0", "restify": "~11.1.0" }, diff --git a/js/samples/02.teams-features/a.messageExtensions.searchCommand/package.json b/js/samples/02.teams-features/a.messageExtensions.searchCommand/package.json index 5ea1cb451..c827684b5 100644 --- a/js/samples/02.teams-features/a.messageExtensions.searchCommand/package.json +++ b/js/samples/02.teams-features/a.messageExtensions.searchCommand/package.json @@ -19,11 +19,11 @@ "url": "https://github.com/microsoft/teams-ai" }, "dependencies": { - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "axios": "^1.7.5", "botbuilder": "^4.23.1", "dotenv": "^16.4.5", - "openai": "4.77.3", + "openai": "4.77.4", "replace": "~1.2.0", "restify": "~11.1.0" }, diff --git a/js/samples/02.teams-features/b.adaptiveCards.typeAheadBot/package.json b/js/samples/02.teams-features/b.adaptiveCards.typeAheadBot/package.json index f7ed791cd..20e354946 100644 --- a/js/samples/02.teams-features/b.adaptiveCards.typeAheadBot/package.json +++ b/js/samples/02.teams-features/b.adaptiveCards.typeAheadBot/package.json @@ -22,11 +22,11 @@ "url": "https://github.com/microsoft/teams-ai" }, "dependencies": { - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "axios": "^1.7.5", "botbuilder": "^4.23.1", "dotenv": "^16.4.5", - "openai": "4.77.3", + "openai": "4.77.4", "replace": "~1.2.0", "restify": "~11.1.0" }, diff --git a/js/samples/03.ai-concepts/a.twentyQuestions/package.json b/js/samples/03.ai-concepts/a.twentyQuestions/package.json index 22c95227c..e311506a3 100644 --- a/js/samples/03.ai-concepts/a.twentyQuestions/package.json +++ b/js/samples/03.ai-concepts/a.twentyQuestions/package.json @@ -21,10 +21,10 @@ "url": "https://github.com/microsoft/teams-ai" }, "dependencies": { - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "botbuilder": "^4.23.1", "dotenv": "^16.4.5", - "openai": "4.77.3", + "openai": "4.77.4", "replace": "~1.2.0", "restify": "~11.1.0" }, diff --git a/js/samples/03.ai-concepts/b.AI-messageExtensions/package.json b/js/samples/03.ai-concepts/b.AI-messageExtensions/package.json index b0d7a48a6..c7853d641 100644 --- a/js/samples/03.ai-concepts/b.AI-messageExtensions/package.json +++ b/js/samples/03.ai-concepts/b.AI-messageExtensions/package.json @@ -20,9 +20,9 @@ }, "dependencies": { "botbuilder": "^4.23.1", - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "dotenv": "^16.4.5", - "openai": "4.77.3", + "openai": "4.77.4", "replace": "~1.2.0", "restify": "~11.1.0" }, diff --git a/js/samples/03.ai-concepts/c.actionMapping-lightBot/package.json b/js/samples/03.ai-concepts/c.actionMapping-lightBot/package.json index a800f24de..a8653d39e 100644 --- a/js/samples/03.ai-concepts/c.actionMapping-lightBot/package.json +++ b/js/samples/03.ai-concepts/c.actionMapping-lightBot/package.json @@ -21,10 +21,10 @@ "url": "https://github.com/microsoft/teams-ai" }, "dependencies": { - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "botbuilder": "^4.23.1", "dotenv": "^16.4.5", - "openai": "4.77.3", + "openai": "4.77.4", "replace": "~1.2.0", "restify": "~11.1.0" }, diff --git a/js/samples/03.ai-concepts/d.chainedActions-listBot/package.json b/js/samples/03.ai-concepts/d.chainedActions-listBot/package.json index 9dad98418..b996f85d3 100644 --- a/js/samples/03.ai-concepts/d.chainedActions-listBot/package.json +++ b/js/samples/03.ai-concepts/d.chainedActions-listBot/package.json @@ -21,10 +21,10 @@ "url": "https://github.com/microsoft/teams-ai" }, "dependencies": { - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "botbuilder": "^4.23.1", "dotenv": "^16.4.5", - "openai": "4.77.3", + "openai": "4.77.4", "replace": "~1.2.0", "restify": "~11.1.0" }, diff --git a/js/samples/03.ai-concepts/e.customModel-LLAMA/package.json b/js/samples/03.ai-concepts/e.customModel-LLAMA/package.json index 33fe03a4e..33e0d3066 100644 --- a/js/samples/03.ai-concepts/e.customModel-LLAMA/package.json +++ b/js/samples/03.ai-concepts/e.customModel-LLAMA/package.json @@ -23,8 +23,8 @@ }, "dependencies": { "botbuilder": "^4.23.1", - "@microsoft/teams-ai": "~1.7.1", - "openai": "4.77.3", + "@microsoft/teams-ai": "~1.7.2", + "openai": "4.77.4", "dotenv": "^16.4.1", "replace": "~1.2.0", "restify": "~11.1.0" diff --git a/js/samples/03.ai-concepts/f.chatModeration/package.json b/js/samples/03.ai-concepts/f.chatModeration/package.json index d38ccb439..1b0bdc346 100644 --- a/js/samples/03.ai-concepts/f.chatModeration/package.json +++ b/js/samples/03.ai-concepts/f.chatModeration/package.json @@ -19,12 +19,12 @@ "url": "https://github.com/microsoft/teams-ai" }, "dependencies": { - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "axios": "^1.7.5", "botbuilder": "^4.23.1", "dotenv": "^16.4.5", "jsonwebtoken": "^9.0.2", - "openai": "4.77.3", + "openai": "4.77.4", "replace": "~1.2.0", "restify": "~11.1.0" }, diff --git a/js/samples/04.ai-apps/a.teamsChefBot/package.json b/js/samples/04.ai-apps/a.teamsChefBot/package.json index e31c10581..e4fbcd158 100644 --- a/js/samples/04.ai-apps/a.teamsChefBot/package.json +++ b/js/samples/04.ai-apps/a.teamsChefBot/package.json @@ -22,11 +22,11 @@ "url": "https://github.com/microsoft/teams-ai" }, "dependencies": { - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "@microsoft/teams-js": "^2.32.0", "botbuilder": "^4.23.1", "dotenv": "^16.4.5", - "openai": "4.77.3", + "openai": "4.77.4", "replace": "~1.2.0", "restify": "~11.1.0", "vectra": "^0.9.0" diff --git a/js/samples/04.ai-apps/b.devOpsBot/package.json b/js/samples/04.ai-apps/b.devOpsBot/package.json index 74a4df055..e6db31acd 100644 --- a/js/samples/04.ai-apps/b.devOpsBot/package.json +++ b/js/samples/04.ai-apps/b.devOpsBot/package.json @@ -20,11 +20,11 @@ }, "dependencies": { "botbuilder": "^4.23.1", - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "dotenv": "^16.4.5", "replace": "~1.2.0", "restify": "~11.1.0", - "openai": "4.77.3" + "openai": "4.77.4" }, "devDependencies": { "@types/jsonwebtoken": "^9.0.6", diff --git a/js/samples/04.ai-apps/c.vision-cardGazer/package.json b/js/samples/04.ai-apps/c.vision-cardGazer/package.json index be3d0e127..20186a53d 100644 --- a/js/samples/04.ai-apps/c.vision-cardGazer/package.json +++ b/js/samples/04.ai-apps/c.vision-cardGazer/package.json @@ -20,10 +20,10 @@ "url": "https://github.com/microsoft/teams-ai" }, "dependencies": { - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "botbuilder": "^4.23.1", "dotenv": "^16.4.5", - "openai": "4.77.3", + "openai": "4.77.4", "replace": "~1.2.0", "restify": "~11.1.0" }, diff --git a/js/samples/04.ai-apps/d.assistants-mathBot/package.json b/js/samples/04.ai-apps/d.assistants-mathBot/package.json index a50b600e3..43ec85955 100644 --- a/js/samples/04.ai-apps/d.assistants-mathBot/package.json +++ b/js/samples/04.ai-apps/d.assistants-mathBot/package.json @@ -19,12 +19,12 @@ "url": "https://github.com/microsoft/teams-ai" }, "dependencies": { - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "axios": "^1.7.5", "botbuilder": "^4.23.1", "dotenv": "^16.4.5", "jsonwebtoken": "^9.0.2", - "openai": "4.77.3", + "openai": "4.77.4", "replace": "~1.2.0", "restify": "~11.1.0" }, diff --git a/js/samples/04.ai-apps/e.assistants-orderBot/package.json b/js/samples/04.ai-apps/e.assistants-orderBot/package.json index 9b743545d..25e3a7651 100644 --- a/js/samples/04.ai-apps/e.assistants-orderBot/package.json +++ b/js/samples/04.ai-apps/e.assistants-orderBot/package.json @@ -21,12 +21,12 @@ "url": "https://github.com/microsoft/teams-ai" }, "dependencies": { - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "axios": "^1.7.5", "botbuilder": "^4.23.1", "dotenv": "^16.4.5", "jsonwebtoken": "^9.0.2", - "openai": "4.77.3", + "openai": "4.77.4", "replace": "~1.2.0", "restify": "~11.1.0" }, diff --git a/js/samples/04.ai-apps/f.whoBot/package.json b/js/samples/04.ai-apps/f.whoBot/package.json index 3beb07211..f706ac5ad 100644 --- a/js/samples/04.ai-apps/f.whoBot/package.json +++ b/js/samples/04.ai-apps/f.whoBot/package.json @@ -19,11 +19,11 @@ "url": "https://github.com/microsoft/teams-ai" }, "dependencies": { - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "botbuilder": "^4.23.1", "botbuilder-dialogs": "^4.23.1", "dotenv": "^16.4.5", - "openai": "4.77.3", + "openai": "4.77.4", "replace": "~1.2.0", "restify": "~11.1.0" }, diff --git a/js/samples/04.ai-apps/g.datasource-azureAISearch/package.json b/js/samples/04.ai-apps/g.datasource-azureAISearch/package.json index 9f546d509..b9c55193b 100644 --- a/js/samples/04.ai-apps/g.datasource-azureAISearch/package.json +++ b/js/samples/04.ai-apps/g.datasource-azureAISearch/package.json @@ -28,11 +28,11 @@ }, "dependencies": { "@azure/search-documents": "12.1.0", - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "botbuilder": "^4.23.1", "debug": "^4.3.7", "dotenv": "^16.4.1", - "openai": "4.77.3", + "openai": "4.77.4", "replace": "~1.2.0", "restify": "~11.1.0", "vectra": "^0.9.0" diff --git a/js/samples/04.ai-apps/h.datasource-azureOpenAI/package.json b/js/samples/04.ai-apps/h.datasource-azureOpenAI/package.json index c9a238b41..911ce8e31 100644 --- a/js/samples/04.ai-apps/h.datasource-azureOpenAI/package.json +++ b/js/samples/04.ai-apps/h.datasource-azureOpenAI/package.json @@ -27,10 +27,10 @@ "dependencies": { "@azure/identity": "^4.5.0", "@azure/search-documents": "12.1.0", - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "botbuilder": "^4.23.1", "dotenv": "^16.4.1", - "openai": "4.77.3", + "openai": "4.77.4", "replace": "~1.2.0", "restify": "~11.1.0", "vectra": "^0.9.0" diff --git a/js/samples/04.ai-apps/i.teamsChefBot-streaming/package.json b/js/samples/04.ai-apps/i.teamsChefBot-streaming/package.json index b33f23b71..c8e39f590 100644 --- a/js/samples/04.ai-apps/i.teamsChefBot-streaming/package.json +++ b/js/samples/04.ai-apps/i.teamsChefBot-streaming/package.json @@ -22,7 +22,7 @@ "url": "https://github.com/microsoft/teams-ai" }, "dependencies": { - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "@microsoft/teams-js": "^2.32.0", "botbuilder": "^4.23.1", "dotenv": "^16.4.5", diff --git a/js/samples/05.authentication/a.oauth-adaptiveCard/package.json b/js/samples/05.authentication/a.oauth-adaptiveCard/package.json index 83140c8cb..454f638b8 100644 --- a/js/samples/05.authentication/a.oauth-adaptiveCard/package.json +++ b/js/samples/05.authentication/a.oauth-adaptiveCard/package.json @@ -20,10 +20,10 @@ }, "dependencies": { "@microsoft/microsoft-graph-client": "^3.0.7", - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "botbuilder": "^4.23.1", "dotenv": "^16.4.5", - "openai": "4.77.3", + "openai": "4.77.4", "isomorphic-fetch": "^3.0.0", "replace": "~1.2.0", "restify": "~11.1.0" diff --git a/js/samples/05.authentication/b.oauth-bot/package.json b/js/samples/05.authentication/b.oauth-bot/package.json index 20379586d..f3fcd1f7a 100644 --- a/js/samples/05.authentication/b.oauth-bot/package.json +++ b/js/samples/05.authentication/b.oauth-bot/package.json @@ -19,11 +19,11 @@ "url": "https://github.com/microsoft/teams-ai" }, "dependencies": { - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "botbuilder": "^4.23.1", "botbuilder-dialogs": "^4.23.1", "dotenv": "^16.4.5", - "openai": "4.77.3", + "openai": "4.77.4", "replace": "~1.2.0", "restify": "~11.1.0" }, diff --git a/js/samples/05.authentication/c.oauth-messageExtension/package.json b/js/samples/05.authentication/c.oauth-messageExtension/package.json index dbe21b5b4..71c5caecd 100644 --- a/js/samples/05.authentication/c.oauth-messageExtension/package.json +++ b/js/samples/05.authentication/c.oauth-messageExtension/package.json @@ -20,11 +20,11 @@ }, "dependencies": { "@microsoft/microsoft-graph-client": "^3.0.7", - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "botbuilder": "^4.23.1", "dotenv": "^16.4.5", "isomorphic-fetch": "^3.0.0", - "openai": "4.77.3", + "openai": "4.77.4", "replace": "~1.2.0", "restify": "~11.1.0" }, diff --git a/js/samples/05.authentication/d.teamsSSO-bot/package.json b/js/samples/05.authentication/d.teamsSSO-bot/package.json index 7a8c6e796..872734496 100644 --- a/js/samples/05.authentication/d.teamsSSO-bot/package.json +++ b/js/samples/05.authentication/d.teamsSSO-bot/package.json @@ -19,11 +19,11 @@ "url": "https://github.com/microsoft/teams-ai" }, "dependencies": { - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "botbuilder": "^4.23.1", "botbuilder-dialogs": "^4.23.1", "dotenv": "^16.4.5", - "openai": "4.77.3", + "openai": "4.77.4", "replace": "~1.2.0", "restify": "~11.1.0", "shx": "^0.3.4" diff --git a/js/samples/05.authentication/e.teamsSSO-messageExtension/package.json b/js/samples/05.authentication/e.teamsSSO-messageExtension/package.json index cc95686cf..81d273b50 100644 --- a/js/samples/05.authentication/e.teamsSSO-messageExtension/package.json +++ b/js/samples/05.authentication/e.teamsSSO-messageExtension/package.json @@ -20,12 +20,12 @@ }, "dependencies": { "@microsoft/microsoft-graph-client": "^3.0.7", - "@microsoft/teams-ai": "~1.7.1", + "@microsoft/teams-ai": "~1.7.2", "botbuilder": "^4.23.1", "botbuilder-azure-blobs": "^4.23.1", "dotenv": "^16.4.5", "isomorphic-fetch": "^3.0.0", - "openai": "4.77.3", + "openai": "4.77.4", "replace": "~1.2.0", "restify": "~11.1.0", "shx": "^0.3.4" diff --git a/js/yarn.lock b/js/yarn.lock index 7b9379805..c33b6c0b1 100644 --- a/js/yarn.lock +++ b/js/yarn.lock @@ -6818,10 +6818,10 @@ openai@4.41.1: node-fetch "^2.6.7" web-streams-polyfill "^3.2.1" -openai@4.77.3: - version "4.77.3" - resolved "https://registry.yarnpkg.com/openai/-/openai-4.77.3.tgz#10f6906f2f737a98b656b745a6b710e595ba2e4d" - integrity sha512-wLDy4+KWHz31HRFMW2+9KQuVuT2QWhs0z94w1Gm1h2Ut9vIHr9/rHZggbykZEfyiaJRVgw8ZS9K6AylDWzvPYw== +openai@4.77.4: + version "4.77.4" + resolved "https://registry.yarnpkg.com/openai/-/openai-4.77.4.tgz#1093d165efb3e13e763faf42fa62e34313e293e9" + integrity sha512-rShjKsZ/HXm1cSxXt6iFeZxiCohrVShawt0aRRQmbb+z/EXcH4OouyQZP1ShyZMb63LJajpl8aGw3DzEi8Wh9Q== dependencies: "@types/node" "^18.11.18" "@types/node-fetch" "^2.6.4"