Add multimodal module: receipt images to Java records on the real OpenAI, Anthropic and Ollama models against an OCR-backed local server, validation, repair retry, accuracy by photo condition
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01JXVi2GMQ7bR5EmbUFdDj7N
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Validate, then ask once more with the problems quoted
|
||||
|
||||
SIMULATED misread (the stand-in adds 0.10 to the total on the first attempt only):
|
||||
attempts: 2, problems after: none, total: 13.87
|
||||
text sent with the second attempt:
|
||||
| Extract this receipt. A previous attempt had these problems, so re-read the image carefully: subtotal 12.75 + tax 1.12 is 13.87, total says 13.97
|
||||
| (+ 56 more lines: the system prompt and the JSON-schema format instructions Spring AI appends for entity())
|
||||
Reference in New Issue
Block a user