From 17be8faf9e8c27e1e108caa8eacdd6b9bf056191 Mon Sep 17 00:00:00 2001 From: ramnique <30795890+ramnique@users.noreply.github.com> Date: Tue, 28 Jan 2025 08:17:18 +0530 Subject: [PATCH] remove guardrails agent --- apps/rowboat/app/lib/types.ts | 1 - apps/rowboat/app/lib/utils.ts | 16 ---------------- 2 files changed, 17 deletions(-) diff --git a/apps/rowboat/app/lib/types.ts b/apps/rowboat/app/lib/types.ts index 41f6e5e2..b792eff8 100644 --- a/apps/rowboat/app/lib/types.ts +++ b/apps/rowboat/app/lib/types.ts @@ -157,7 +157,6 @@ export const WorkflowAgent = z.object({ type: z.union([ z.literal('conversation'), z.literal('post_process'), - z.literal('guardrails'), z.literal('escalation'), ]), description: z.string(), diff --git a/apps/rowboat/app/lib/utils.ts b/apps/rowboat/app/lib/utils.ts index 22033c90..a302a273 100644 --- a/apps/rowboat/app/lib/utils.ts +++ b/apps/rowboat/app/lib/utils.ts @@ -49,22 +49,6 @@ You are an helpful customer support assistant connectedAgents: [], controlType: "retain", }, - { - name: "Guardrails", - type: "guardrails", - description: "", - instructions: "Stick to the facts and do not make any assumptions.", - prompts: [], - tools: [], - model: "gpt-4o-mini", - locked: true, - toggleAble: true, - global: true, - ragReturnType: "chunks", - ragK: 3, - connectedAgents: [], - controlType: "retain", - }, { name: "Post process", type: "post_process",