agent-factory: generate agent auto-parse-email-content-and-extrac
This commit is contained in:
29
app/skills.py
Normal file
29
app/skills.py
Normal file
@@ -0,0 +1,29 @@
|
||||
"""
|
||||
A2A skill declarations for AutoParseEmailContentAndExtrac.
|
||||
"""
|
||||
from a2a.types import AgentSkill
|
||||
|
||||
|
||||
AUTO_PARSE_EMAIL_CONTENT_AND_EXTRAC_SKILLS = [
|
||||
AgentSkill(
|
||||
id="auto_parse_email_content_and_extrac_skill",
|
||||
name="AutoParseEmailContentAndExtrac",
|
||||
description="Parse email content and extract sender, subject, and body",
|
||||
tags=["auto-generated"],
|
||||
examples=[],
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
AGENT_CONFIG = {
|
||||
"name": "AutoParseEmailContentAndExtrac",
|
||||
"description": "Extract relevant fields from incoming support email",
|
||||
"version": "1.0.0",
|
||||
"framework": "LangGraph + Starlette",
|
||||
"capabilities": {
|
||||
"streaming": False,
|
||||
"async": True,
|
||||
},
|
||||
"input_schema": {"email_raw": "string"},
|
||||
"output_schema": {"sender_email": "string", "email_subject": "string", "email_body": "string"},
|
||||
}
|
||||
Reference in New Issue
Block a user