From bf8f7bf3c9a71f9472e18c67dc2ab55cb9010b8c Mon Sep 17 00:00:00 2001 From: Farouk Adeleke Date: Sat, 25 Oct 2025 01:56:43 -0400 Subject: [PATCH] (no commit message) --- README.md | 2 -- agent.json | 38 ++++++++++++++++++++++++++++++++++++++ config.json | 4 ++++ 3 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 agent.json create mode 100644 config.json diff --git a/README.md b/README.md index b00c972..e69de29 100644 --- a/README.md +++ b/README.md @@ -1,2 +0,0 @@ -# receipt-classifier - diff --git a/agent.json b/agent.json new file mode 100644 index 0000000..28abe86 --- /dev/null +++ b/agent.json @@ -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" + } + } +} \ No newline at end of file diff --git a/config.json b/config.json new file mode 100644 index 0000000..ef41a38 --- /dev/null +++ b/config.json @@ -0,0 +1,4 @@ +{ + "lm": "openai/gpt-4o-mini", + "max_tokens": 500 +} \ No newline at end of file