Skip to content

Commit

Permalink
feat: fix gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
willy-dunamu committed Sep 4, 2024
1 parent 56a7739 commit 6b94f38
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ export const constructPromptsArray = (
);

const answerLanguage = process.env.LANGUAGE
? `, Answer me in ${process.env.LANGUAGE},`
? `, Answer me in Korean, 답변은 한글로 달아줘`
: '';

const prompts = promptPayloads.map((payload) => {
return languageToInstructionPrompt + JSON.stringify(payload) + answerLanguage;
return languageToInstructionPrompt + JSON.stringify(payload);
});

return prompts;
return [...prompts, answerLanguage];
};

0 comments on commit 6b94f38

Please sign in to comment.