agent-factory: generate agent auto-parse-email-content-and-extrac

This commit is contained in:
2026-04-07 20:54:30 +00:00
parent 9ac8be2c02
commit 58e98ad062
18 changed files with 549 additions and 0 deletions

View File

View File

@@ -0,0 +1,19 @@
"""
LangGraph workflow for AutoParseEmailContentAndExtrac agent.
"""
from langgraph.graph import StateGraph, END
from app.states.auto_parse_email_content_and_extrac_state import AutoParseEmailContentAndExtracState
from app.nodes.core_node import process
def create_auto_parse_email_content_and_extrac_workflow(llm):
"""Build and compile the AutoParseEmailContentAndExtrac workflow graph."""
graph = StateGraph(AutoParseEmailContentAndExtracState)
graph.add_node("process", process)
graph.set_entry_point("process")
graph.add_edge("process", END)
return graph.compile()