diff --git a/web/src/constants/agent.tsx b/web/src/constants/agent.tsx
index 5877b91b1..e1c1574d5 100644
--- a/web/src/constants/agent.tsx
+++ b/web/src/constants/agent.tsx
@@ -133,6 +133,8 @@ export enum ComparisonOperator {
EndWith = 'end with',
Empty = 'empty',
NotEmpty = 'not empty',
+ In = 'in',
+ NotIn = 'not in',
}
export const SwitchOperatorOptions = [
@@ -168,6 +170,16 @@ export const SwitchOperatorOptions = [
label: 'notEmpty',
icon: ,
},
+ {
+ value: ComparisonOperator.In,
+ label: 'in',
+ icon: ,
+ },
+ {
+ value: ComparisonOperator.NotIn,
+ label: 'notIn',
+ icon: ,
+ },
];
export const AgentStructuredOutputField = 'structured';
diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts
index 233a0d1fc..168395d22 100644
--- a/web/src/locales/en.ts
+++ b/web/src/locales/en.ts
@@ -1399,6 +1399,8 @@ Example: https://fsn1.your-objectstorage.com`,
endWith: 'Ends with',
empty: 'Is empty',
notEmpty: 'Not empty',
+ in: 'In',
+ notIn: 'Not in',
},
switchLogicOperatorOptions: {
and: 'AND',