| ▲ | dhruvbird 10 hours ago | |
This ^^^^ While the provided schema has a "quantity" field, it doesn't mention the units. <code> class Item(BaseModel):
class Receipt(BaseModel):
</code>There needs to be a better evaluation and a better provided schema that captures the full details of what is expected to be captured. > What kind of error should it return if there's no total listed on the receipt? Should it even return an error or is it OK for it to return total = null? Additionally, the schema allows optional fields, so the LLM is free to skip missing fields if they are specified as such. | ||