From 26dc656b3d9b701da07a34f5ce04a8fc315c56f7 Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 5 Jul 2023 17:38:30 -0400 Subject: [PATCH] file path --- swarms/agents/workers/agents.py | 8 ++++---- swarms/utils/utils.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/swarms/agents/workers/agents.py b/swarms/agents/workers/agents.py index 15926eb5..adcaf728 100644 --- a/swarms/agents/workers/agents.py +++ b/swarms/agents/workers/agents.py @@ -137,7 +137,7 @@ class ToolsFactory: ################ # from core.prompts.input import EVAL_PREFIX, EVAL_SUFFIX -from swarms.prompts.prompts import EVAL_PREFIX, EVAL_SUFFIX +from prompts.prompts import EVAL_PREFIX, EVAL_SUFFIX ############ @@ -444,9 +444,9 @@ from langchain.schema import ( from langchain.tools.base import BaseTool # from core.prompts.input import EVAL_TOOL_RESPONSE -from swarms.prompts.prompts import EVAL_TOOL_RESPONSE +from prompts.prompts import EVAL_TOOL_RESPONSE -from swarms.prompts.prompts import EVAL_FORMAT_INSTRUCTIONS +from prompts.prompts import EVAL_FORMAT_INSTRUCTIONS class ConversationalChatAgent(Agent): @@ -1013,7 +1013,7 @@ from langchain.schema import BaseOutputParser # from core.prompts.input import EVAL_FORMAT_INSTRUCTIONS -from swarms.prompts.prompts import EVAL_FORMAT_INSTRUCTIONS +from prompts.prompts import EVAL_FORMAT_INSTRUCTIONS class EvalOutputParser(BaseOutputParser): diff --git a/swarms/utils/utils.py b/swarms/utils/utils.py index 03ce7500..02db9047 100644 --- a/swarms/utils/utils.py +++ b/swarms/utils/utils.py @@ -404,7 +404,7 @@ class FileHandler: #############===========================> import pandas as pd -from swarms.prompts.prompts import DATAFRAME_PROMPT +from prompts.prompts import DATAFRAME_PROMPT class CsvToDataframe(BaseHandler): @@ -432,7 +432,7 @@ from PIL import Image from transformers import BlipForConditionalGeneration, BlipProcessor # from core.prompts.file import IMAGE_PROMPT -from swarms.prompts.prompts import IMAGE_PROMPT +from prompts.prompts import IMAGE_PROMPT