AutoAgent/metachain/agents/math/objective_extraction_agent.py.back
2025-02-07 21:37:18 +08:00

12 lines
No EOL
494 B
Text

from metachain import Agent
from metachain.registry import register_plugin_agent
@register_plugin_agent(name="Objective Extraction Agent", func_name = "get_objective_extraction_agent")
def get_objective_extraction_agent(model):
instruction = """
This agent is specialized in analyzing math problems and extracting the main objective or question being asked.
"""
return Agent(
name="Objective Extraction Agent",
description=instruction,
model=model,
)