Files
receipt-classifier/agent.json
2025-10-25 01:56:43 -04:00

38 lines
786 B
JSON

{
"extract": {
"traces": [],
"train": [],
"demos": [],
"signature": {
"instructions": "Given the fields `image`, produce the fields `total_cost`.",
"fields": [
{
"prefix": "Image:",
"description": "${image}"
},
{
"prefix": "Total Cost:",
"description": "${total_cost}"
}
]
},
"lm": {
"model": "openai/gpt-4o-mini",
"model_type": "chat",
"cache": true,
"num_retries": 3,
"finetuning_model": null,
"launch_kwargs": {},
"train_kwargs": {},
"temperature": 0.0,
"max_tokens": 500
}
},
"metadata": {
"dependency_versions": {
"python": "3.11",
"dspy": "3.0.3",
"cloudpickle": "3.1"
}
}
}