mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-01 11:56:25 +02:00
Simplify vision LLM image description prompt
This commit is contained in:
parent
afd3c2cde2
commit
caaec2e0a7
1 changed files with 3 additions and 6 deletions
|
|
@ -4,12 +4,9 @@ import mimetypes
|
||||||
from langchain_core.messages import HumanMessage
|
from langchain_core.messages import HumanMessage
|
||||||
|
|
||||||
_PROMPT = (
|
_PROMPT = (
|
||||||
"Analyze this image thoroughly and produce a detailed markdown description.\n\n"
|
"Describe this image in markdown. "
|
||||||
"Include:\n"
|
"Transcribe any visible text verbatim. "
|
||||||
"- All visible text, transcribed verbatim\n"
|
"Be concise but complete — let the image content guide the level of detail."
|
||||||
"- Description of diagrams, charts, tables, or visual structures\n"
|
|
||||||
"- Key subjects, objects, or scenes depicted\n\n"
|
|
||||||
"Output only the markdown content, no preamble."
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue