aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorDhravya <[email protected]>2024-06-16 19:13:32 -0500
committerDhravya <[email protected]>2024-06-16 19:13:32 -0500
commit76c48ccb600d172f362d7cd237094d6082454825 (patch)
tree2181eb10c103c558442c661071d7ad8f747189df /packages
parentadded sources to the response (diff)
downloadsupermemory-76c48ccb600d172f362d7cd237094d6082454825.tar.xz
supermemory-76c48ccb600d172f362d7cd237094d6082454825.zip
add number of chunks to the respnose and only show unique values
Diffstat (limited to 'packages')
-rw-r--r--packages/shared-types/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/shared-types/index.ts b/packages/shared-types/index.ts
index 46e3edba..b8792369 100644
--- a/packages/shared-types/index.ts
+++ b/packages/shared-types/index.ts
@@ -10,6 +10,7 @@ export const ChatHistoryZod = z.object({
source: z.string(),
title: z.string(),
content: z.string(),
+ numChunks: z.number().optional().default(1),
}),
),
}),