From 910004768d7bdd03de4817184e9f10058297de6c Mon Sep 17 00:00:00 2001 From: QinghuiMeng-M Date: Fri, 25 Oct 2024 13:52:59 +0800 Subject: [PATCH] update reference path base on teams.ai 1.5.3 (#12592) --- .../src/app/customSayCommand.ts | 4 ++-- .../custom-copilot-rag-customize/src/app/customSayCommand.ts | 4 ++-- .../src/app/customSayCommand.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/ts/custom-copilot-rag-azure-ai-search/src/app/customSayCommand.ts b/templates/ts/custom-copilot-rag-azure-ai-search/src/app/customSayCommand.ts index 703d1aec22..7357a0bf38 100644 --- a/templates/ts/custom-copilot-rag-azure-ai-search/src/app/customSayCommand.ts +++ b/templates/ts/custom-copilot-rag-azure-ai-search/src/app/customSayCommand.ts @@ -1,6 +1,6 @@ import { ActivityTypes, Channels, TurnContext } from "botbuilder"; -import { PredictedSayCommand, TurnState, Utilities, ClientCitation } from "@microsoft/teams-ai"; -import { AIEntity } from "@microsoft/teams-ai/lib/actions/SayCommand"; +import { PredictedSayCommand, TurnState, Utilities } from "@microsoft/teams-ai"; +import { AIEntity, ClientCitation } from "@microsoft/teams-ai/lib/types"; export function sayCommand(feedbackLoopEnabled = false) { return async (context: TurnContext, _state: TState, data: PredictedSayCommand) => { diff --git a/templates/ts/custom-copilot-rag-customize/src/app/customSayCommand.ts b/templates/ts/custom-copilot-rag-customize/src/app/customSayCommand.ts index 703d1aec22..7357a0bf38 100644 --- a/templates/ts/custom-copilot-rag-customize/src/app/customSayCommand.ts +++ b/templates/ts/custom-copilot-rag-customize/src/app/customSayCommand.ts @@ -1,6 +1,6 @@ import { ActivityTypes, Channels, TurnContext } from "botbuilder"; -import { PredictedSayCommand, TurnState, Utilities, ClientCitation } from "@microsoft/teams-ai"; -import { AIEntity } from "@microsoft/teams-ai/lib/actions/SayCommand"; +import { PredictedSayCommand, TurnState, Utilities } from "@microsoft/teams-ai"; +import { AIEntity, ClientCitation } from "@microsoft/teams-ai/lib/types"; export function sayCommand(feedbackLoopEnabled = false) { return async (context: TurnContext, _state: TState, data: PredictedSayCommand) => { diff --git a/templates/ts/custom-copilot-rag-microsoft365/src/app/customSayCommand.ts b/templates/ts/custom-copilot-rag-microsoft365/src/app/customSayCommand.ts index 703d1aec22..7357a0bf38 100644 --- a/templates/ts/custom-copilot-rag-microsoft365/src/app/customSayCommand.ts +++ b/templates/ts/custom-copilot-rag-microsoft365/src/app/customSayCommand.ts @@ -1,6 +1,6 @@ import { ActivityTypes, Channels, TurnContext } from "botbuilder"; -import { PredictedSayCommand, TurnState, Utilities, ClientCitation } from "@microsoft/teams-ai"; -import { AIEntity } from "@microsoft/teams-ai/lib/actions/SayCommand"; +import { PredictedSayCommand, TurnState, Utilities } from "@microsoft/teams-ai"; +import { AIEntity, ClientCitation } from "@microsoft/teams-ai/lib/types"; export function sayCommand(feedbackLoopEnabled = false) { return async (context: TurnContext, _state: TState, data: PredictedSayCommand) => {