Former-commit-id: d16b200244ed962d6293227ed14ae98bdfefe22c
pull/160/head
Kye 2 years ago
parent 8cafdaeecf
commit 446b67a55e

@ -5,7 +5,7 @@ from typing import Dict, List
from fastapi.templating import Jinja2Templates from fastapi.templating import Jinja2Templates
from swarms.agents.utils.AgentManager import AgentManager from swarms.agents.utils.agent_creator import AgentManager
from swarms.utils.main import BaseHandler, FileHandler, FileType from swarms.utils.main import BaseHandler, FileHandler, FileType
from swarms.tools.main import ExitConversation, RequestsGet, CodeEditor, Terminal from swarms.tools.main import ExitConversation, RequestsGet, CodeEditor, Terminal

@ -9,8 +9,8 @@ from langchain.memory.chat_memory import BaseChatMemory
from swarms.tools.main import BaseToolSet, ToolsFactory from swarms.tools.main import BaseToolSet, ToolsFactory
from swarms.prompts.prompts import EVAL_PREFIX, EVAL_SUFFIX from swarms.prompts.prompts import EVAL_PREFIX, EVAL_SUFFIX
from swarms.agents.utils.AgentBuilder import AgentSetup from swarms.agents.utils.agent_setup import AgentSetup
from swarms.agents.utils.EvalOutputParser import EVALCallbackHandler, ExecutionTracingCallbackHandler from swarms.agents.utils.callback import EVALCallbackHandler, ExecutionTracingCallbackHandler
callback_manager_instance = CallbackManager(EVALCallbackHandler()) callback_manager_instance = CallbackManager(EVALCallbackHandler())

@ -12,7 +12,7 @@ from langchain.callbacks.base import BaseCallbackManager
from .ConversationalChatAgent import ConversationalChatAgent from .ConversationalChatAgent import ConversationalChatAgent
# from .ChatOpenAI import ChatOpenAI # from .ChatOpenAI import ChatOpenAI
from langchain.chat_models import ChatOpenAI from langchain.chat_models import ChatOpenAI
from .EvalOutputParser import EvalOutputParser from .callback import EvalOutputParser

@ -4,7 +4,7 @@ import logging
from pathlib import Path from pathlib import Path
from typing import Dict, List from typing import Dict, List
from swarms.agents.utils.AgentManager import AgentCreator from swarms.agents.utils.agent_creator import AgentCreator
from swarms.utils.main import BaseHandler, FileHandler, FileType from swarms.utils.main import BaseHandler, FileHandler, FileType
from swarms.tools.main import ExitConversation, RequestsGet, CodeEditor, Terminal from swarms.tools.main import ExitConversation, RequestsGet, CodeEditor, Terminal
from swarms.utils.main import CsvToDataframe from swarms.utils.main import CsvToDataframe

Loading…
Cancel
Save