(no commit message)

This commit is contained in:
2025-10-25 01:56:43 -04:00
parent 1a690186bd
commit bf8f7bf3c9
3 changed files with 42 additions and 2 deletions

View File

@@ -1,2 +0,0 @@
# receipt-classifier

38
agent.json Normal file
View File

@@ -0,0 +1,38 @@
{
"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"
}
}
}

4
config.json Normal file
View File

@@ -0,0 +1,4 @@
{
"lm": "openai/gpt-4o-mini",
"max_tokens": 500
}