improvement: added "detail": "high" to image for chatgpt's benefit
This commit is contained in:
parent
906fcc78b1
commit
3d09cbbef8
@ -100,7 +100,8 @@ def image_to_anki(image_paths: str | list[str]) -> tuple[str | None, Any]:
|
|||||||
] + [{
|
] + [{
|
||||||
"type": "image_url",
|
"type": "image_url",
|
||||||
"image_url": {
|
"image_url": {
|
||||||
"url": f"data:image/jpeg;base64,{base64_image}"
|
"url": f"data:image/jpeg;base64,{base64_image}",
|
||||||
|
"detail": "high"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for base64_image in images]
|
for base64_image in images]
|
||||||
|
Loading…
Reference in New Issue
Block a user