Skip to content

Commit c0aec6e

Browse files
committed
feat: add feedback loops, gate node, and GUI improvements
1 parent e9a83c7 commit c0aec6e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2534
-936
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ repos:
127127
# Evidence: Testable rulepacks, widely adopted in SAST programs
128128
# ============================================================================
129129
- repo: https://github.com/returntocorp/semgrep
130-
rev: v1.89.0
130+
rev: v1.99.0
131131
hooks:
132132
- id: semgrep
133133
name: semgrep (AST-based security & policy)

examples/workflows/chain-of-thought.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ nodes:
1313
defect rate. Factory B produces 35% with 3% defect rate. Factory C
1414
produces 25% with 5% defect rate. If a random product is defective,
1515
what's the probability it came from Factory C?
16+
separator: "\n"
1617

1718
- id: step1_understand
1819
type: simple/llm
@@ -99,6 +100,7 @@ nodes:
99100
position: { x: 2100, y: 250 }
100101
properties:
101102
texts: []
103+
separator: "\n"
102104

103105
edges:
104106
- source: problem

examples/workflows/debate-arena.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ nodes:
1212
Should artificial general intelligence (AGI) development be paused
1313
until we have better alignment techniques and international governance
1414
frameworks?
15+
separator: "\n"
1516

1617
- id: pro_opening
1718
type: simple/llm
@@ -139,6 +140,7 @@ nodes:
139140
position: { x: 1700, y: 250 }
140141
properties:
141142
texts: []
143+
separator: "\n"
142144

143145
edges:
144146
- source: topic

examples/workflows/expert-panel.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ nodes:
1212
How should a city of 2 million people prepare for climate change over
1313
the next 30 years? Consider infrastructure, economy, social systems,
1414
and technology.
15+
separator: "\n"
1516

1617
- id: scientist
1718
type: simple/llm
@@ -122,6 +123,7 @@ nodes:
122123
position: { x: 1500, y: 300 }
123124
properties:
124125
texts: []
126+
separator: "\n"
125127

126128
edges:
127129
- source: problem

examples/workflows/hello-world.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ nodes:
88
position: { x: 100, y: 200 }
99
properties:
1010
texts: ["Say hello world in a creative and friendly way!"]
11+
separator: "\n"
1112
hidden: false
1213

1314
- id: llm-main
@@ -25,6 +26,7 @@ nodes:
2526
position: { x: 800, y: 200 }
2627
properties:
2728
texts: []
29+
separator: "\n"
2830
hidden: false
2931

3032
edges:

examples/workflows/knowledge-bank.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ nodes:
88
position: { x: 100, y: 100 }
99
properties:
1010
texts:
11-
[
12-
"Design a sustainable city transportation system for a metropolitan area of 5 million people.",
13-
]
11+
- "Design a sustainable city transportation system for a metropolitan area of 5 million people."
12+
separator: "\n"
1413

1514
- id: llm_urbanist
1615
type: simple/llm

examples/workflows/multi-model-comparison.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ nodes:
77
type: simple/text
88
position: { x: 100, y: 300 }
99
properties:
10-
texts: ["Write a haiku about programming. Be creative and philosophical."]
10+
pages: [["Write a haiku about programming. Be creative and philosophical."]]
11+
current_page: 0
12+
mode: append
1113

1214
- id: llm1
1315
type: simple/llm
@@ -40,19 +42,25 @@ nodes:
4042
type: simple/text
4143
position: { x: 800, y: 100 }
4244
properties:
43-
texts: []
45+
pages: []
46+
current_page: 0
47+
mode: append
4448

4549
- id: output2
4650
type: simple/text
4751
position: { x: 800, y: 300 }
4852
properties:
49-
texts: []
53+
pages: []
54+
current_page: 0
55+
mode: append
5056

5157
- id: output3
5258
type: simple/text
5359
position: { x: 800, y: 500 }
5460
properties:
55-
texts: []
61+
pages: []
62+
current_page: 0
63+
mode: append
5664

5765
edges:
5866
- source: prompt

examples/workflows/peer-review.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ nodes:
77
type: simple/text
88
position: { x: 100, y: 100 }
99
properties:
10-
texts: ["What is dark matter"]
10+
pages: [["What is dark matter"]]
11+
current_page: 0
12+
mode: append
1113
hidden: false
1214

1315
- id: llm_researcher1

examples/workflows/prompt-template.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,25 @@ nodes:
77
type: simple/text
88
position: { x: 100, y: 100 }
99
properties:
10-
texts: ["artificial intelligence"]
10+
pages: [["artificial intelligence"]]
11+
current_page: 0
12+
mode: append
1113

1214
- id: style
1315
type: simple/text
1416
position: { x: 100, y: 250 }
1517
properties:
16-
texts: ["a curious 5-year-old child"]
18+
pages: [["a curious 5-year-old child"]]
19+
current_page: 0
20+
mode: append
1721

1822
- id: length
1923
type: simple/text
2024
position: { x: 100, y: 400 }
2125
properties:
22-
texts: ["3 sentences"]
26+
pages: [["3 sentences"]]
27+
current_page: 0
28+
mode: append
2329

2430
- id: template
2531
type: simple/template
@@ -40,7 +46,9 @@ nodes:
4046
type: simple/text
4147
position: { x: 1150, y: 250 }
4248
properties:
43-
texts: []
49+
pages: []
50+
current_page: 0
51+
mode: append
4452

4553
edges:
4654
- source: topic

0 commit comments

Comments
 (0)