From b8bd7d7eb27aaaadae728599f64a0874f66196ea Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sun, 12 Jan 2025 15:31:30 +0000 Subject: feat: Support customizing the summarization prompt. Fixes #731 --- packages/db/schema.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/db/schema.ts') diff --git a/packages/db/schema.ts b/packages/db/schema.ts index 6498545a..9d742b45 100644 --- a/packages/db/schema.ts +++ b/packages/db/schema.ts @@ -349,8 +349,8 @@ export const customPrompts = sqliteTable( .$defaultFn(() => createId()), text: text("text").notNull(), enabled: integer("enabled", { mode: "boolean" }).notNull(), - appliesTo: text("attachedBy", { - enum: ["all", "text", "images"], + appliesTo: text("appliesTo", { + enum: ["all_tagging", "text", "images", "summary"], }).notNull(), createdAt: createdAtField(), userId: text("userId") -- cgit v1.2.3-70-g09d2