Skip to content

Commit 5a9b9ea

Browse files
committed
Updating logic components docs
1 parent 25a34cc commit 5a9b9ea

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

docs/agent-studio/components/logic/logical-and.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The component takes multiple inputs and provides two outputs: `Verified` and `Un
2121

2222
In this context:
2323
- **`True`**: Any input that has a value (e.g., a non-empty string, any number, the boolean `true`, an object, an array).
24-
- **`False`**: Any input that is empty, `null`, `undefined`, or the boolean `false`.
24+
- **`False`**: Any input that is empty or the boolean `false`.
2525

2626
### Operational Rules
2727

@@ -71,7 +71,7 @@ Connect the `Verified` output to the steps that should run when everything is co
7171
## Troubleshooting Tips
7272

7373
<InfoCallout title="If your logic isn't branching as expected...">
74-
- **Check Your "False" Values:** Remember that an empty string (`""`), `null`, or an unassigned variable will be treated as `false`. Make sure a previous step isn't unintentionally producing an empty output.
74+
- **Check Your "False" Values:** Remember that an empty string (`""`) or an unassigned variable will be treated as `false`. Make sure a previous step isn't unintentionally producing an empty output.
7575
- **Inspect Input Data:** Use the **Debug** panel to check the exact value being passed into each input of the `Logic AND` component to confirm they are what you expect.
7676
- **It Only Takes One:** The `Unverified` path will be taken if even a single input is false. If the workflow is unexpectedly going down the "unverified" path, systematically check each input to find the one that is evaluating to `false`.
7777
</InfoCallout>

docs/agent-studio/components/logic/logical-at-least.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This is the core setting of the component. You define the minimum number of inpu
2525

2626
### How Inputs are Evaluated
2727
- **`True`**: Any input that has a value (e.g., a non-empty string, any number, the boolean `true`, an object, an array).
28-
- **`False`**: Any input that is empty, `null`, `undefined`, or the boolean `false`.
28+
- **`False`**: Any input that is empty or the boolean `false`.
2929

3030
<Spacer size="md" />
3131

@@ -67,7 +67,7 @@ Connect the `Verified` output to the steps that should run when the threshold is
6767

6868
<InfoCallout title="If your logic isn't branching as expected...">
6969
- **Check the Minimum Setting:** Ensure the `Minimum Inputs` setting is correct. A common mistake is an "off-by-one" error where the number is one higher or lower than intended.
70-
- **Inspect Your Inputs:** Use the **Debug** panel to check the actual values being passed to each input. An input you believe is `true` might actually be empty or `null`, causing it to be evaluated as `false`.
70+
- **Inspect Your Inputs:** Use the **Debug** panel to check the actual values being passed to each input. An input you believe is `true` might actually be empty, causing it to be evaluated as `false`.
7171
- **Verified vs. Unverified Path:** Make sure you have connected your downstream components to the correct output path (`Verified` or `Unverified`).
7272
</InfoCallout>
7373

docs/agent-studio/components/logic/logical-at-most.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This is the core setting of the component. You define the maximum number of inpu
2525

2626
### How Inputs are Evaluated
2727
- **`True`**: Any input that has a value (e.g., a non-empty string, any number, the boolean `true`, an object, an array).
28-
- **`False`**: Any input that is empty, `null`, `undefined`, or the boolean `false`.
28+
- **`False`**: Any input that is empty or the boolean `false`.
2929

3030
<Spacer size="md" />
3131

docs/agent-studio/components/logic/logical-or.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The component takes multiple inputs and provides two outputs: `Verified` and `Un
2121

2222
In this context:
2323
- **`True`**: Any input that has a value (e.g., a non-empty string, any number, the boolean `true`, an object, an array).
24-
- **`False`**: Any input that is empty, `null`, `undefined`, or the boolean `false`.
24+
- **`False`**: Any input that is empty or the boolean `false`.
2525

2626
### Operational Rules
2727

@@ -71,7 +71,7 @@ Connect the `Verified` output to the steps that should run when any valid condit
7171
## Troubleshooting Tips
7272

7373
<InfoCallout title="If your logic isn't branching as expected...">
74-
- **Check Your "False" Values:** Remember that an empty string (`""`), `null`, or an unassigned variable will be treated as `false`. An input you expect to be false might contain a value (like the string "false"), which evaluates to `true`.
74+
- **Check Your "False" Values:** Remember that an empty string (`""`) or an unassigned variable will be treated as `false`. An input you expect to be false might contain a value (like the string "false"), which evaluates to `true`.
7575
- **Inspect Input Data:** Use the **Debug** panel to check the exact value being passed into each input of the `Logic OR` component to confirm they are what you expect.
7676
- **It Only Takes One:** The `Verified` path will be taken if even a single input is true. If the workflow is unexpectedly going down the "verified" path, systematically check each input to find the one that is evaluating to `true`.
7777
</InfoCallout>

docs/agent-studio/components/logic/logical-xor.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The component takes multiple inputs and provides two outputs: `Verified` and `Un
2121

2222
In this context:
2323
- **`True`**: Any input that has a value (e.g., a non-empty string, any number, the boolean `true`, an object, an array).
24-
- **`False`**: Any input that is empty, `null`, `undefined`, or the boolean `false`.
24+
- **`False`**: Any input that is empty or the boolean `false`.
2525

2626
### Operational Rules
2727

0 commit comments

Comments
 (0)