clean up of th eprompts folder into the models since its clean

pull/39/head
Kye 1 year ago
parent b8645cc984
commit 0433161fc1

@ -9,10 +9,10 @@ from langchain.vectorstores.base import VectorStoreRetriever
from pydantic import ValidationError
from swarms.agents.models.base import AbstractModel
from swarms.agents.prompts.agent_output_parser import AgentOutputParser
from swarms.agents.prompts.agent_prompt import AIMessage, HumanMessage, SystemMessage
from swarms.agents.prompts.agent_prompt_auto import MessageFormatter, PromptConstructor
from swarms.agents.prompts.prompt_generator import FINISH_NAME
from swarms.agents.models.prompts.agent_output_parser import AgentOutputParser
from swarms.agents.models.prompts.agent_prompt import AIMessage, HumanMessage, SystemMessage
from swarms.agents.models.prompts.agent_prompt_auto import MessageFormatter, PromptConstructor
from swarms.agents.models.prompts.prompt_generator import FINISH_NAME
from swarms.agents.tools.base import BaseTool
from swarms.agents.utils.Agent import AgentOutputParser
from swarms.agents.utils.human_input import HumanInputRun

@ -18,7 +18,7 @@ from transformers import (
CLIPSegProcessor,
)
from swarms.agents.prompts.prompts import IMAGE_PROMPT
from swarms.agents.models.prompts.prompts import IMAGE_PROMPT
from swarms.agents.tools.base import tool
from swarms.agents.tools.main import BaseToolSet
from swarms.utils.logger import logger

@ -21,7 +21,7 @@ from langchain.schema import (
)
from langchain.tools.base import BaseTool
from swarms.agents.prompts.prompts import EVAL_TOOL_RESPONSE
from swarms.agents.models.prompts.prompts import EVAL_TOOL_RESPONSE
from swarms.agents.utils.Agent import Agent
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')

@ -7,7 +7,7 @@ from langchain.chat_models import ChatOpenAI
from langchain.chat_models.base import BaseChatModel
from langchain.schema import BaseOutputParser
from swarms.agents.prompts.prompts import EVAL_PREFIX, EVAL_SUFFIX
from swarms.agents.models.prompts.prompts import EVAL_PREFIX, EVAL_SUFFIX
from swarms.agents.tools.main import BaseToolSet, ToolsFactory
from .ConversationalChatAgent import ConversationalChatAgent

@ -5,7 +5,7 @@ from typing import Dict, NamedTuple
from langchain.schema import BaseOutputParser
from swarms.agents.prompts.prompts import EVAL_FORMAT_INSTRUCTIONS
from swarms.agents.models.prompts.prompts import EVAL_FORMAT_INSTRUCTIONS
class EvalOutputParser(BaseOutputParser):

Loading…
Cancel
Save