diff --git a/src/services/export/JSONL_Format.ts b/src/services/export/JSONL_Format.ts index 17b476b..da58743 100644 --- a/src/services/export/JSONL_Format.ts +++ b/src/services/export/JSONL_Format.ts @@ -8,9 +8,9 @@ function JSONL_Formater({ answer, }: InstructionBase): string { return ( - `{${systemMessage ? `"System": "${sanitizer(systemMessage)}",` : ""}` + - `"Prompt": "${sanitizer(question)}",` + - `"Response": "${sanitizer(answer)}"}\n` + `{${systemMessage ? `"systemMessage": "${sanitizer(systemMessage)}",` : ""}` + + `"prompt": "${sanitizer(question)}",` + + `"response": "${sanitizer(answer)}"}\n` ); }