Skip to content

Commit

Permalink
fix: bad import
Browse files Browse the repository at this point in the history
  • Loading branch information
frankqianms committed Nov 8, 2024
1 parent 0b46500 commit be47cad
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ import sys
import traceback
import json
from typing import Any, Dict, Optional
from dataclasses import asdict

from botbuilder.core import MemoryStorage, TurnContext
from teams import Application, ApplicationOptions, TeamsAdapter
from teams.ai import AIOptions
from teams.ai.planners import AssistantsPlanner, OpenAIAssistantsOptions, AzureOpenAIAssistantsOptions
from teams.state import TurnState
from teams.feedback_loop_data import FeedbackLoopData

from config import Config

Expand Down
2 changes: 2 additions & 0 deletions templates/python/custom-copilot-assistant-new/src/bot.py.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import sys
import traceback
import json
from typing import Any, Dict, Optional
from dataclasses import asdict

from botbuilder.core import MemoryStorage, TurnContext
from state import AppTurnState
Expand All @@ -13,6 +14,7 @@ from teams.ai.models import AzureOpenAIModelOptions, OpenAIModel, OpenAIModelOpt
from teams.ai.planners import ActionPlanner, ActionPlannerOptions
from teams.ai.prompts import PromptManager, PromptManagerOptions
from teams.state import TurnState
from teams.feedback_loop_data import FeedbackLoopData

from config import Config

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import asyncio
from dataclasses import dataclass
from dataclasses import dataclass, asdict
import json
import os
import sys
import traceback
from typing import Generic, TypeVar


from botbuilder.core import MemoryStorage, TurnContext
from teams import Application, ApplicationOptions, TeamsAdapter
from teams.ai import AIOptions
Expand All @@ -14,6 +15,7 @@ from teams.ai.planners import ActionPlanner, ActionPlannerOptions
from teams.ai.prompts import PromptManager, PromptManagerOptions
from teams.ai.actions import ActionTypes
from teams.state import TurnState
from teams.feedback_loop_data import FeedbackLoopData

from azure_ai_search_data_source import AzureAISearchDataSource, AzureAISearchDataSourceOptions
from config import Config
Expand Down
2 changes: 2 additions & 0 deletions templates/python/custom-copilot-rag-customize/src/bot.py.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ import os
import sys
import traceback
import json
from dataclasses import asdict
from botbuilder.core import MemoryStorage, TurnContext
from teams import Application, ApplicationOptions, TeamsAdapter
from teams.ai import AIOptions
from teams.ai.models import AzureOpenAIModelOptions, OpenAIModel, OpenAIModelOptions
from teams.ai.planners import ActionPlanner, ActionPlannerOptions
from teams.ai.prompts import PromptManager, PromptManagerOptions
from teams.state import TurnState
from teams.feedback_loop_data import FeedbackLoopData

from my_data_source import MyDataSource

Expand Down

0 comments on commit be47cad

Please sign in to comment.