Skip to content

Commit 70e3239

Browse files
Update apps/sim/lib/table/llm/enrichment.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
1 parent 15b58f7 commit 70e3239

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/lib/table/llm/enrichment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Example order: [{"field":"${numberCol.name}","direction":"desc"}] for highest fi
146146
147147
INSTRUCTIONS:
148148
1. Build the filter yourself from the user's question - do NOT ask for confirmation. If the question names no condition at all ("the 5 most recent rows"), omit filter entirely and use order and limit instead of inventing one
149-
2. A single condition is a plain object: {"field":"<column>","op":"<operator>","value":<value>}
149+
2. A single condition is a plain object: {"field":"<column>","op":"<operator>","value":<value>}; use an array value for in/nin and omit value for isNull, isNotNull, isEmpty, and isNotEmpty
150150
3. For multiple conditions wrap them in {"all":[...]} for AND or {"any":[...]} for OR; groups nest
151151
4. Operators: eq, ne, gt, gte, lt, lte, in, nin, like, ilike, nlike, nilike, contains, ncontains, startsWith, endsWith, isNull, isNotNull, isEmpty, isNotEmpty
152152
${wildcardRule}

0 commit comments

Comments
 (0)