Skip to content

Commit b6db0d4

Browse files
author
Jaakko Heusala
committed
Updated documentation
1 parent 377fb7b commit b6db0d4

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docs/select-syntax.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
The `select` operation chooses between two values based on a simple string
2-
condition. It enables basic control flow within Gendo pipelines by selecting
1+
The `select` operation chooses between two values based on a simple
2+
conditions. It enables basic control flow within Gendo pipelines by selecting
33
either a `trueValue` or a `falseValue` depending on whether the `condition`
4-
string exactly matches `"true"` (case-insensitive). This operation is
5-
compatible with local text-based models, which typically produce plain textual
6-
answers.
4+
string exactly matches `"true"` (case-insensitive).
75

86
The syntax of the `select` operation is as follows:
97

10-
select [destination] condition trueValue falseValue
8+
select [destination] value trueValue falseValue
119

1210
The `destination` identifier is optional. If omitted, the result is bound to
1311
the special slot `_`. The `condition` is required and must be a

0 commit comments

Comments
 (0)