aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorDhravya Shah <[email protected]>2024-07-22 22:44:18 -0500
committerDhravya Shah <[email protected]>2024-07-22 22:44:18 -0500
commitcf1eeb86c34c92afd973defcada9841f87eeffa0 (patch)
treebc2ce3f6516ef76c117f9ed6b6b0f258acb79047 /packages
parentMerge pull request #133 from aryasaatvik/lockfile (diff)
downloadsupermemory-cf1eeb86c34c92afd973defcada9841f87eeffa0.tar.xz
supermemory-cf1eeb86c34c92afd973defcada9841f87eeffa0.zip
added ability to use pro mode, to do complex timeseries/location searches
Diffstat (limited to 'packages')
-rw-r--r--packages/shared-types/index.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/shared-types/index.ts b/packages/shared-types/index.ts
index b3e84897..051e24a4 100644
--- a/packages/shared-types/index.ts
+++ b/packages/shared-types/index.ts
@@ -17,6 +17,9 @@ export const ChatHistoryZod = z.object({
sources: z.array(SourceZod),
justification: z.string().optional(),
}),
+ proModeProcessing: z.object({
+ queries: z.array(z.string()),
+ }),
});
export type ChatHistory = z.infer<typeof ChatHistoryZod>;
@@ -77,6 +80,7 @@ export const sourcesZod = z.object({
ids: z.array(z.string()),
metadata: z.array(z.any()),
normalizedData: z.array(z.any()).optional(),
+ proModeListedQueries: z.array(z.string()).optional(),
});
export type SourcesFromApi = z.infer<typeof sourcesZod>;