CoolFace
Apppublic

gcjordi/ai-graph-studio

sourceHugging Facemitupdated 4d agoView on Hugging Face
1likes
optimizer.json316 linesDownload Raw Back to examples
1{2  "schemaVersion": 1,3  "id": "fcb5c100-23d5-4723-802f-b2c2f0190f26",4  "name": "Avaluador i optimitzador",5  "description": "",6  "created": "2026-09-06T15:09:46.824Z",7  "modified": "2026-09-06T15:09:46.824Z",8  "version": "1.0.0",9  "nodes": [10    {11      "id": "890ebefd-b377-425d-b8c3-1a3b1ec12f77",12      "type": "start",13      "x": 60,14      "y": 80,15      "name": "",16      "description": "",17      "notes": "",18      "provider": "Other",19      "model": "",20      "modelClass": "fast",21      "reasoning": "low",22      "latencyClass": "medium",23      "latency": 1000,24      "inputTokens": 1000,25      "outputTokens": 300,26      "executions": 1,27      "useModel": false,28      "maxIterations": 0,29      "estimatedIterations": 2,30      "condition": "",31      "exitCondition": "",32      "failures": 1,33      "route": "",34      "sensitive": false,35      "important": false,36      "external": false,37      "deterministic": false,38      "contextKey": "",39      "priceOverride": false,40      "inputPrice": 0,41      "outputPrice": 042    },43    {44      "id": "d9b9d316-a08b-48f0-b0e4-404c411f8285",45      "type": "input",46      "x": 310,47      "y": 80,48      "name": "",49      "description": "",50      "notes": "",51      "provider": "Other",52      "model": "",53      "modelClass": "fast",54      "reasoning": "low",55      "latencyClass": "medium",56      "latency": 1000,57      "inputTokens": 1000,58      "outputTokens": 300,59      "executions": 1,60      "useModel": false,61      "maxIterations": 0,62      "estimatedIterations": 2,63      "condition": "",64      "exitCondition": "",65      "failures": 1,66      "route": "",67      "sensitive": false,68      "important": false,69      "external": false,70      "deterministic": false,71      "contextKey": "",72      "priceOverride": false,73      "inputPrice": 0,74      "outputPrice": 075    },76    {77      "id": "56df5c45-597b-42a9-a4ff-756e113e4307",78      "type": "llm",79      "x": 560,80      "y": 80,81      "name": "",82      "description": "",83      "notes": "",84      "provider": "Other",85      "model": "Example Fast",86      "modelClass": "fast",87      "reasoning": "low",88      "latencyClass": "medium",89      "latency": 1000,90      "inputTokens": 1500,91      "outputTokens": 450,92      "executions": 1,93      "useModel": false,94      "maxIterations": 0,95      "estimatedIterations": 2,96      "condition": "",97      "exitCondition": "",98      "failures": 1,99      "route": "",100      "sensitive": false,101      "important": false,102      "external": false,103      "deterministic": false,104      "contextKey": "",105      "priceOverride": false,106      "inputPrice": 0,107      "outputPrice": 0,108      "title": [109        "Generador",110        "Generador",111        "Generator"112      ]113    },114    {115      "id": "2803e25b-cd5f-4d3d-8645-e33bcabaf2ba",116      "type": "evaluator",117      "x": 810,118      "y": 80,119      "name": "",120      "description": "",121      "notes": "",122      "provider": "Other",123      "model": "",124      "modelClass": "fast",125      "reasoning": "low",126      "latencyClass": "medium",127      "latency": 1000,128      "inputTokens": 1000,129      "outputTokens": 300,130      "executions": 1,131      "useModel": true,132      "maxIterations": 0,133      "estimatedIterations": 2,134      "condition": "",135      "exitCondition": "",136      "failures": 1,137      "route": "",138      "sensitive": false,139      "important": false,140      "external": false,141      "deterministic": false,142      "contextKey": "",143      "priceOverride": false,144      "inputPrice": 0,145      "outputPrice": 0146    },147    {148      "id": "3ebf699f-5429-4972-9e83-745a30756b42",149      "type": "loop",150      "x": 810,151      "y": 225,152      "name": "",153      "description": "",154      "notes": "",155      "provider": "Other",156      "model": "",157      "modelClass": "fast",158      "reasoning": "low",159      "latencyClass": "medium",160      "latency": 1000,161      "inputTokens": 1000,162      "outputTokens": 300,163      "executions": 1,164      "useModel": false,165      "maxIterations": 3,166      "estimatedIterations": 2,167      "condition": "FAIL",168      "exitCondition": "PASS",169      "failures": 1,170      "route": "",171      "sensitive": false,172      "important": false,173      "external": false,174      "deterministic": false,175      "contextKey": "",176      "priceOverride": false,177      "inputPrice": 0,178      "outputPrice": 0179    },180    {181      "id": "041e28e7-519a-4d9b-bb3a-aca23406d369",182      "type": "llm",183      "x": 810,184      "y": 370,185      "name": "",186      "description": "",187      "notes": "",188      "provider": "Other",189      "model": "Example Fast",190      "modelClass": "fast",191      "reasoning": "low",192      "latencyClass": "medium",193      "latency": 1000,194      "inputTokens": 1500,195      "outputTokens": 450,196      "executions": 1,197      "useModel": false,198      "maxIterations": 0,199      "estimatedIterations": 2,200      "condition": "",201      "exitCondition": "",202      "failures": 1,203      "route": "",204      "sensitive": false,205      "important": false,206      "external": false,207      "deterministic": false,208      "contextKey": "",209      "priceOverride": false,210      "inputPrice": 0,211      "outputPrice": 0,212      "title": [213        "Correcció",214        "Corrección",215        "Fix"216      ]217    },218    {219      "id": "86a6500b-7c6d-4fb7-ae95-1d045adc7a35",220      "type": "output",221      "x": 1060,222      "y": 80,223      "name": "",224      "description": "",225      "notes": "",226      "provider": "Other",227      "model": "",228      "modelClass": "fast",229      "reasoning": "low",230      "latencyClass": "medium",231      "latency": 1000,232      "inputTokens": 1000,233      "outputTokens": 300,234      "executions": 1,235      "useModel": false,236      "maxIterations": 0,237      "estimatedIterations": 2,238      "condition": "",239      "exitCondition": "",240      "failures": 1,241      "route": "",242      "sensitive": false,243      "important": true,244      "external": false,245      "deterministic": false,246      "contextKey": "",247      "priceOverride": false,248      "inputPrice": 0,249      "outputPrice": 0250    }251  ],252  "edges": [253    {254      "id": "2d1f2aa1-435d-4cc5-b203-a7ded76ee077",255      "source": "890ebefd-b377-425d-b8c3-1a3b1ec12f77",256      "target": "d9b9d316-a08b-48f0-b0e4-404c411f8285",257      "label": ""258    },259    {260      "id": "0f3ee75f-9d68-4aac-897c-aad1d79f7219",261      "source": "d9b9d316-a08b-48f0-b0e4-404c411f8285",262      "target": "56df5c45-597b-42a9-a4ff-756e113e4307",263      "label": ""264    },265    {266      "id": "5472034c-d1aa-4ac4-bb87-8616713f68d8",267      "source": "56df5c45-597b-42a9-a4ff-756e113e4307",268      "target": "2803e25b-cd5f-4d3d-8645-e33bcabaf2ba",269      "label": ""270    },271    {272      "id": "b3933f5f-f8cc-4e6c-a6a1-46d1e900678f",273      "source": "2803e25b-cd5f-4d3d-8645-e33bcabaf2ba",274      "target": "86a6500b-7c6d-4fb7-ae95-1d045adc7a35",275      "label": "PASS"276    },277    {278      "id": "f7aeb657-1e60-474d-9034-01a1cc09ca4e",279      "source": "2803e25b-cd5f-4d3d-8645-e33bcabaf2ba",280      "target": "3ebf699f-5429-4972-9e83-745a30756b42",281      "label": "FAIL"282    },283    {284      "id": "3d7ae958-3bab-4a33-a954-e3ec94e3c106",285      "source": "3ebf699f-5429-4972-9e83-745a30756b42",286      "target": "041e28e7-519a-4d9b-bb3a-aca23406d369",287      "label": ""288    },289    {290      "id": "a617fb1d-f4a8-4719-9d08-7cada3d58e1d",291      "source": "041e28e7-519a-4d9b-bb3a-aca23406d369",292      "target": "2803e25b-cd5f-4d3d-8645-e33bcabaf2ba",293      "label": ""294    }295  ],296  "catalog": [297    {298      "provider": "Other",299      "model": "Example Fast",300      "inputPrice": 0,301      "outputPrice": 0302    },303    {304      "provider": "Other",305      "model": "Example Reasoning",306      "inputPrice": 0,307      "outputPrice": 0308    }309  ],310  "settings": {311    "expectedBudget": 40000,312    "maxBudget": 70000,313    "maxSteps": 500,314    "currency": "EUR"315  }316}