feat: using different prompt

This commit is contained in:
2025-02-26 20:49:55 +00:00
parent d1d6ee6762
commit 3fe48464e4

View File

@ -140,8 +140,7 @@ const IMAGE_TYPE = "image_url"
const PROMPT = ` const PROMPT = `
You are an image information extractor. The user will provide you with screenshots and your job is to extract any relevant links and text You are an image information extractor. The user will provide you with screenshots and your job is to extract any relevant links and text
that the image might contain. You will also try your best to assign some tags to this image, avoid too many tags. that the image might contain. You will also try your best to assign some tags to this image, avoid too many tags.
Be sure to extract every link (URL) that you find.
This system is part of a bookmark manager, who's main goal is to allow the user to search through various screenshots.
` `
const RESPONSE_FORMAT = ` const RESPONSE_FORMAT = `