MTOR-Testing / agents /classifier_agent.py
TANMIHA's picture
Update agents/classifier_agent.py
f483382 verified
Raw History Blame Contribute Delete
398 Bytes
import os
from pathlib import Path
from autogen import AssistantAgent
from utility.prompt import classifier_prompt
from utility.llm_config import llm_config
from dotenv import load_dotenv
load_dotenv()
def get_classifier_agent():
agent_cls = AssistantAgent(
name="ClassifierAgent",
llm_config=llm_config,
system_message = classifier_prompt
)
return agent_cls