30 lines
844 B
Python
30 lines
844 B
Python
"""
|
|
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"},
|
|
}
|