73 lines
2.0 KiB
JSON
73 lines
2.0 KiB
JSON
{
|
|
"schemaVersion": "1",
|
|
"topologies": [
|
|
"sequential"
|
|
],
|
|
"personas": [
|
|
{
|
|
"id": "researcher",
|
|
"displayName": "Researcher",
|
|
"systemPromptTemplate": "You are a researcher. Read the README.md file in the repository to understand the core architecture of the AI Ops platform. Once you understand it, output your summary.",
|
|
"toolClearance": {
|
|
"allowlist": [
|
|
"read_file",
|
|
"list_directory"
|
|
],
|
|
"banlist": []
|
|
}
|
|
},
|
|
{
|
|
"id": "writer",
|
|
"displayName": "Writer",
|
|
"systemPromptTemplate": "You are a writer. Take the summary provided by the researcher and write it to a new file called 'demo-summary.txt' in the root directory.",
|
|
"toolClearance": {
|
|
"allowlist": [
|
|
"write_file"
|
|
],
|
|
"banlist": []
|
|
}
|
|
}
|
|
],
|
|
"relationships": [
|
|
{
|
|
"parentPersonaId": "researcher",
|
|
"childPersonaId": "writer",
|
|
"constraints": {
|
|
"maxDepth": 1,
|
|
"maxChildren": 1
|
|
}
|
|
}
|
|
],
|
|
"topologyConstraints": {
|
|
"maxDepth": 5,
|
|
"maxRetries": 2
|
|
},
|
|
"pipeline": {
|
|
"entryNodeId": "research-node",
|
|
"nodes": [
|
|
{
|
|
"id": "research-node",
|
|
"actorId": "researcher_actor",
|
|
"personaId": "researcher",
|
|
"topology": {
|
|
"kind": "sequential"
|
|
}
|
|
},
|
|
{
|
|
"id": "write-node",
|
|
"actorId": "writer_actor",
|
|
"personaId": "writer",
|
|
"topology": {
|
|
"kind": "sequential"
|
|
}
|
|
}
|
|
],
|
|
"edges": [
|
|
{
|
|
"from": "research-node",
|
|
"to": "write-node",
|
|
"on": "success"
|
|
}
|
|
]
|
|
}
|
|
} |