mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-05-13 19:11:02 +00:00
[fix review issue]: update setting name
This commit is contained in:
@@ -50,8 +50,8 @@ export const modelOptionsSchema = z.object({
|
||||
export const fewShotExampleSchema = z.object({
|
||||
// TODO: figure out how to make this compatible with the context enum and its namespace.
|
||||
context: z.enum(["Text", "Heading", "BlockQuotes", "UnorderedList", "NumberedList", "CodeBlock", "MathBlock", "TaskList"]),
|
||||
input: z.string().min(3, { message: "The Input must be at least 3 characters long" }),
|
||||
answer: z.string().min(3, { message: "The Answer must be at least 3 characters long" }),
|
||||
input: z.string().min(3, { message: "The input must be at least 3 characters long" }),
|
||||
answer: z.string().min(3, { message: "The answer must be at least 3 characters long" }),
|
||||
}).strict();
|
||||
|
||||
export type FewShotExample = z.infer<typeof fewShotExampleSchema>;
|
||||
|
||||
Reference in New Issue
Block a user