mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
36 lines
785 B
JSON
36 lines
785 B
JSON
{
|
|
"nodes": [
|
|
{
|
|
"id": "s",
|
|
"type": "startCall",
|
|
"position": {"x": 0, "y": 0},
|
|
"data": {"name": "Start", "prompt": "Greet the caller."}
|
|
},
|
|
{
|
|
"id": "a",
|
|
"type": "agentNode",
|
|
"position": {"x": 200, "y": 0},
|
|
"data": {"name": "Agent", "prompt": "Continue the conversation."}
|
|
},
|
|
{
|
|
"id": "e",
|
|
"type": "endCall",
|
|
"position": {"x": 400, "y": 0},
|
|
"data": {"name": "End", "prompt": "Say goodbye."}
|
|
}
|
|
],
|
|
"edges": [
|
|
{
|
|
"id": "s-a",
|
|
"source": "s",
|
|
"target": "a",
|
|
"data": {"label": "start to agent", "condition": "always"}
|
|
},
|
|
{
|
|
"id": "a-e",
|
|
"source": "a",
|
|
"target": "e",
|
|
"data": {"label": "agent to end", "condition": "always"}
|
|
}
|
|
]
|
|
}
|