Add vocabulary hints for handwriting: Jongsma, Johan, Tatyana, St. Petersburg FL

This commit is contained in:
James 2026-02-25 14:24:04 -05:00
parent 1b4c82ab83
commit 83373885d4
1 changed files with 6 additions and 0 deletions

6
ai.go
View File

@ -165,6 +165,12 @@ func AnalyzeWithVision(imageData []byte) (*DocumentAnalysis, error) {
IMPORTANT: The full_text field MUST contain the verbatim transcription in the document's original language. This is non-negotiable. IMPORTANT: The full_text field MUST contain the verbatim transcription in the document's original language. This is non-negotiable.
**Known proper nouns** (use these exact spellings when you see similar handwriting):
- Jongsma (surname may look like "Jongoma", "Jongsoma", "Jongma")
- Johan (first name)
- Tatyana / Tanya (first name)
- St. Petersburg, Florida (city not Russia)
Respond in JSON ONLY: Respond in JSON ONLY:
{"category": "...", "doc_type": "...", "date": "...", "vendor": "...", "amount": "...", "title": "...", "summary": "...", "full_text": "..."}` {"category": "...", "doc_type": "...", "date": "...", "vendor": "...", "amount": "...", "title": "...", "summary": "...", "full_text": "..."}`