aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authoratsggx <121321634+atsggx@users.noreply.github.com>2025-10-11 18:10:24 +0530
committerGitHub <noreply@github.com>2025-10-11 13:40:24 +0100
commitf1e8cea21cc822917cf2596916b01aad81c563f4 (patch)
tree73126f87b40fe585bd3c44cb069dbd961b040375 /packages
parent36ffbdf8b5ad24e38c266e31b0dcd6d6312dda76 (diff)
downloadkarakeep-f1e8cea21cc822917cf2596916b01aad81c563f4.tar.zst
fix: Correct grammatical errors in prompts (#2020)
Corrected "who's" to "whose" in buildImagePrompt and buildTextPrompt.
Diffstat (limited to 'packages')
-rw-r--r--packages/shared/prompts.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/shared/prompts.ts b/packages/shared/prompts.ts
index 6928ec3e..40f74773 100644
--- a/packages/shared/prompts.ts
+++ b/packages/shared/prompts.ts
@@ -21,7 +21,7 @@ function truncateContent(content: string, length: number) {
export function buildImagePrompt(lang: string, customPrompts: string[]) {
return `
-You are an expert who's responsibility is to help with automatic text tagging for a read-it-later app.
+You are an expert whose responsibility is to help with automatic text tagging for a read-it-later app.
Please analyze the attached image and suggest relevant tags that describe its key themes, topics, and main ideas. The rules are:
- Aim for a variety of tags, including broad categories, specific keywords, and potential sub-genres.
- The tags must be in ${lang}.
@@ -40,7 +40,7 @@ export function buildTextPrompt(
) {
content = preprocessContent(content);
const constructPrompt = (c: string) => `
-You are an expert who's your responsibility is to help with automatic tagging for a read-it-later app.
+You are an expert whose responsibility is to help with automatic tagging for a read-it-later app.
Please analyze the TEXT_CONTENT below and suggest relevant tags that describe its key themes, topics, and main ideas. The rules are:
- Aim for a variety of tags, including broad categories, specific keywords, and potential sub-genres.
- The tags must be in ${lang}.