From 27f9278d4005ab9278ac68b77bdb287141e8309e Mon Sep 17 00:00:00 2001 From: henry Date: Sat, 21 Dec 2024 15:22:36 -0500 Subject: [PATCH] prompt engineering changes --- core/util/chatDescriber.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/util/chatDescriber.ts b/core/util/chatDescriber.ts index 20eab20b7..a10edbe72 100644 --- a/core/util/chatDescriber.ts +++ b/core/util/chatDescriber.ts @@ -8,7 +8,7 @@ import type { IMessenger } from "../protocol/messenger"; export class ChatDescriber { static maxTokens = 12; static prompt: string | undefined = - "Given the following... please reply with a short summary that is 4-8 words in length, you should summarize what the user is asking for OR what the user is trying to accomplish. You should only respond with the summary, no additional text or explanation, you don't need ending punctuation.\n\n"; + "Given the following... please reply with a title for the chat that is 3-4 words in length, all words used should be directly related to the content of the chat, avoid using verbs unless they are directly related to the content of the chat, no additional text or explanation, you don't need ending punctuation.\n\n"; static messenger: IMessenger; static async describe(