20 lines
603 B
Python
20 lines
603 B
Python
"""
|
|
LangGraph workflow for AutoRetrieveapplicationdefinitio agent.
|
|
"""
|
|
from langgraph.graph import StateGraph, END
|
|
|
|
from app.states.auto_retrieveapplicationdefinitio_state import AutoRetrieveapplicationdefinitioState
|
|
from app.nodes.core_node import process
|
|
|
|
|
|
def create_auto_retrieveapplicationdefinitio_workflow(llm):
|
|
"""Build and compile the AutoRetrieveapplicationdefinitio workflow graph."""
|
|
graph = StateGraph(AutoRetrieveapplicationdefinitioState)
|
|
|
|
graph.add_node("process", process)
|
|
|
|
graph.set_entry_point("process")
|
|
graph.add_edge("process", END)
|
|
|
|
return graph.compile()
|