From 1cefffee2e8e9405e2576b8a3713eda0afe88684 Mon Sep 17 00:00:00 2001 From: Kye Date: Fri, 21 Jul 2023 19:05:31 -0400 Subject: [PATCH] clean up Former-commit-id: 9b134189373e945c873524fa7a195346912b97fc --- setup.py | 2 +- swarms/agents/utils/ConversationalChatAgent.py | 2 +- swarms/agents/utils/agent_creator.py | 2 +- swarms/agents/utils/agent_setup.py | 2 +- swarms/agents/utils/output_parser.py | 2 +- swarms/utils/main.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index 93ebc0b5..d227fc4d 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages setup( name = 'swarms', packages = find_packages(exclude=[]), - version = '0.8.9', + version = '0.9.0', license='MIT', description = 'Swarms - Pytorch', author = 'Kye Gomez', diff --git a/swarms/agents/utils/ConversationalChatAgent.py b/swarms/agents/utils/ConversationalChatAgent.py index 778e38f5..b0a2ebef 100644 --- a/swarms/agents/utils/ConversationalChatAgent.py +++ b/swarms/agents/utils/ConversationalChatAgent.py @@ -26,7 +26,7 @@ from langchain.agents.agent import AgentOutputParser from langchain.schema import AgentAction -from swarms.prompts.prompts import EVAL_TOOL_RESPONSE +from .prompts import EVAL_TOOL_RESPONSE diff --git a/swarms/agents/utils/agent_creator.py b/swarms/agents/utils/agent_creator.py index 6a4d2c4d..97aa30ef 100644 --- a/swarms/agents/utils/agent_creator.py +++ b/swarms/agents/utils/agent_creator.py @@ -7,7 +7,7 @@ from langchain.callbacks.manager import CallbackManager from langchain.chains.conversation.memory import ConversationBufferMemory from langchain.memory.chat_memory import BaseChatMemory from swarms.agents.tools.main import BaseToolSet, ToolsFactory -from swarms.prompts.prompts import EVAL_PREFIX, EVAL_SUFFIX +from swarms.agents.prompts.prompts import EVAL_PREFIX, EVAL_SUFFIX from swarms.agents.utils.agent_setup import AgentSetup # from .callback import EVALCallbackHandler, ExecutionTracingCallbackHandler diff --git a/swarms/agents/utils/agent_setup.py b/swarms/agents/utils/agent_setup.py index b0116ea8..7fc9d318 100644 --- a/swarms/agents/utils/agent_setup.py +++ b/swarms/agents/utils/agent_setup.py @@ -1,6 +1,6 @@ import os -from swarms.prompts.prompts import EVAL_PREFIX, EVAL_SUFFIX +from swarms.agents.prompts.prompts import EVAL_PREFIX, EVAL_SUFFIX from swarms.agents.tools.main import BaseToolSet from swarms.agents.tools.main import ToolsFactory diff --git a/swarms/agents/utils/output_parser.py b/swarms/agents/utils/output_parser.py index ccf630cd..4b4b8e71 100644 --- a/swarms/agents/utils/output_parser.py +++ b/swarms/agents/utils/output_parser.py @@ -3,7 +3,7 @@ from typing import Dict from langchain.schema import BaseOutputParser -from swarms.prompts.prompts import EVAL_FORMAT_INSTRUCTIONS +from swarms.agents.prompts.prompts import EVAL_FORMAT_INSTRUCTIONS class EvalOutputParser(BaseOutputParser): @staticmethod diff --git a/swarms/utils/main.py b/swarms/utils/main.py index 78e9b7f8..7b1dd6ba 100644 --- a/swarms/utils/main.py +++ b/swarms/utils/main.py @@ -400,7 +400,7 @@ class FileHandler: #############===========================> -from swarms.prompts.prompts import DATAFRAME_PROMPT +from swarms.agents.prompts.prompts import DATAFRAME_PROMPT import pandas as pd class CsvToDataframe(BaseHandler):