mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-08 03:08:21 +00:00
OCR try
This commit is contained in:
parent
9588768b70
commit
a87030b88b
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ app.post(
|
|||
const input = {
|
||||
image: [...new Uint8Array(buffer)],
|
||||
prompt:
|
||||
"What's in this image? caption everything you see in great detail",
|
||||
"What's in this image? caption everything you see in great detail. If it has text, do an OCR and extract all of it.",
|
||||
max_tokens: 1024,
|
||||
};
|
||||
const response = await c.env.AI.run(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue