update schema: add merchant field, rename note to description
This commit is contained in:
parent
a20de13593
commit
9e0f0c10e2
1 changed files with 4 additions and 2 deletions
|
|
@ -32,13 +32,15 @@ The script is located at `~/notes/skills/log-work-expense/scripts/ocr_receipt.py
|
|||
{
|
||||
"file": "https://s2.connorrhodes.com/agent/{sha256}.{ext}",
|
||||
"date": "YYYY-MM-DD",
|
||||
"note": "Context the user provided about the expense"
|
||||
"merchant": "Name of the merchant from the receipt (e.g. Starbucks, 7 Eleven)",
|
||||
"description": "Context the user provided about the expense"
|
||||
}
|
||||
```
|
||||
|
||||
- **file**: The S2 URL of the uploaded receipt image. Omit if no image was provided.
|
||||
- **date**: The date from the receipt, formatted as YYYY-MM-DD. If you cannot confidently read the date from the receipt, ask the user — do not guess.
|
||||
- **note**: Any context the user gave about the expense (what it was for, project, etc.). If they didn't provide context, ask what the expense was for.
|
||||
- **merchant**: Extracted from the OCR result or the receipt image.
|
||||
- **description**: What the user told you about the expense (e.g. "travel meal during LTISD onsite"). If they didn't provide context, ask.
|
||||
|
||||
4. **Confirm** — Reply with a brief confirmation showing what was logged (date, note, and file link if applicable).
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue