Elffuss BraidHub

kikocis/continue public

e8ee99375f3e · 510 BRawPermalink
1import { chatFeedbackEventAllSchema } from "./index.js";
2
3export const chatFeedbackEventSchema_0_2_0 = chatFeedbackEventAllSchema.pick({
4 // base
5 timestamp: true,
6 userId: true,
7 userAgent: true,
8 selectedProfileId: true,
9 eventName: true,
10 schema: true,
11
12 // other
13 prompt: true,
14 completion: true,
15 modelTitle: true,
16 feedback: true,
17 sessionId: true,
18});
19
20export const chatFeedbackEventSchema_0_2_0_noCode =
21 chatFeedbackEventSchema_0_2_0.omit({
22 prompt: true,
23 completion: true,
24 });