From be7bd62a74dff2880b8f3427996142276259752c Mon Sep 17 00:00:00 2001 From: ItzCrazyKns <95534749+ItzCrazyKns@users.noreply.github.com> Date: Sat, 27 Dec 2025 20:02:49 +0530 Subject: [PATCH] feat(prompts): update media --- src/lib/prompts/media/image.ts | 1 + src/lib/prompts/media/videos.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/lib/prompts/media/image.ts b/src/lib/prompts/media/image.ts index d4584cb..91708b8 100644 --- a/src/lib/prompts/media/image.ts +++ b/src/lib/prompts/media/image.ts @@ -3,6 +3,7 @@ import { ChatTurnMessage } from '@/lib/types'; export const imageSearchPrompt = ` You will be given a conversation below and a follow up question. You need to rephrase the follow-up question so it is a standalone question that can be used by the LLM to search the web for images. You need to make sure the rephrased question agrees with the conversation and is relevant to the conversation. +Make sure to make the querey standalone and not something very broad, use context from the answers in the conversation to make it specific so user can get best image search results. Output only the rephrased query in query key JSON format. Do not include any explanation or additional text. `; diff --git a/src/lib/prompts/media/videos.ts b/src/lib/prompts/media/videos.ts index adaa7b5..cfc8334 100644 --- a/src/lib/prompts/media/videos.ts +++ b/src/lib/prompts/media/videos.ts @@ -3,6 +3,7 @@ import { ChatTurnMessage } from '@/lib/types'; export const videoSearchPrompt = ` You will be given a conversation below and a follow up question. You need to rephrase the follow-up question so it is a standalone question that can be used by the LLM to search Youtube for videos. You need to make sure the rephrased question agrees with the conversation and is relevant to the conversation. +Make sure to make the querey standalone and not something very broad, use context from the answers in the conversation to make it specific so user can get best video search results. Output only the rephrased query in query key JSON format. Do not include any explanation or additional text. `;