mirror of
https://github.com/HKUDS/AutoAgent
synced 2026-04-21 15:47:56 +00:00
12 lines
No EOL
494 B
Text
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,
|
|
) |