Refactor (10)
This commit is contained in:
4
index.ts
4
index.ts
@@ -65,9 +65,7 @@ const replyJobPrompt = getSystemPrompt(
|
||||
async function rephrase(text: string) {
|
||||
await using rephraseSession = new LlmSession(
|
||||
model,
|
||||
getSystemPrompt(
|
||||
"ユーザが与えたテキストを「~です」「~ます」調(丁寧な文体)で言い換えたものを、そのまま出力してください。",
|
||||
),
|
||||
"ユーザが与えたテキストを「~です」「~ます」調(丁寧な文体)で言い換えたものを、そのまま出力してください。",
|
||||
);
|
||||
await rephraseSession.init();
|
||||
const res = parseResponse(
|
||||
|
||||
Reference in New Issue
Block a user