From 85932c360bacc688d17064ce20705a5e9f47353e Mon Sep 17 00:00:00 2001 From: tytodd Date: Sun, 22 Feb 2026 12:47:50 -0800 Subject: [PATCH] (no commit message) --- README.md | 2 -- config.json | 28 ++++++++++++++++++++++++++++ program.json | 26 ++++++++++++++++++++++++++ 3 files changed, 54 insertions(+), 2 deletions(-) delete mode 100644 README.md create mode 100644 config.json create mode 100644 program.json diff --git a/README.md b/README.md deleted file mode 100644 index 2a3c12c..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# predict-test-repo - diff --git a/config.json b/config.json new file mode 100644 index 0000000..1ddaacf --- /dev/null +++ b/config.json @@ -0,0 +1,28 @@ +{ + "model": "openai/gpt-4o-mini", + "signature": { + "description": "Summarize the given text into a concise summary.", + "properties": { + "text": { + "__dspy_field_type": "input", + "desc": "The text to summarize", + "prefix": "Text:", + "title": "Text", + "type": "string" + }, + "summary": { + "__dspy_field_type": "output", + "desc": "A concise summary of the text", + "prefix": "Summary:", + "title": "Summary", + "type": "string" + } + }, + "required": [ + "text", + "summary" + ], + "title": "SummarizeSignature", + "type": "object" + } +} \ No newline at end of file diff --git a/program.json b/program.json new file mode 100644 index 0000000..a4a671c --- /dev/null +++ b/program.json @@ -0,0 +1,26 @@ +{ + "traces": [], + "train": [], + "demos": [], + "signature": { + "instructions": "Summarize the given text into a concise summary.", + "fields": [ + { + "prefix": "Text:", + "description": "The text to summarize" + }, + { + "prefix": "Summary:", + "description": "A concise summary of the text" + } + ] + }, + "lm": null, + "metadata": { + "dependency_versions": { + "python": "3.11", + "dspy": "3.1.2", + "cloudpickle": "3.1" + } + } +} \ No newline at end of file