From ceb079c684213ab9db1fb716cf454c6e8bf79ae4 Mon Sep 17 00:00:00 2001 From: tytodd Date: Fri, 2 Jan 2026 14:42:43 -0800 Subject: [PATCH] (no commit message) --- README.md | 2 -- config.json | 28 ++++++++++++++++++++++++++++ program.json | 28 ++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 config.json create mode 100644 program.json diff --git a/README.md b/README.md index f9b355a..e69de29 100644 --- a/README.md +++ b/README.md @@ -1,2 +0,0 @@ -# my-predict2 - diff --git a/config.json b/config.json new file mode 100644 index 0000000..60fde47 --- /dev/null +++ b/config.json @@ -0,0 +1,28 @@ +{ + "model": null, + "signature": { + "description": "Given the fields `question`, produce the fields `answer`.", + "properties": { + "question": { + "__dspy_field_type": "input", + "desc": "${question}", + "prefix": "Question:", + "title": "Question", + "type": "string" + }, + "answer": { + "__dspy_field_type": "output", + "desc": "${answer}", + "prefix": "Answer:", + "title": "Answer", + "type": "string" + } + }, + "required": [ + "question", + "answer" + ], + "title": "StringSignature", + "type": "object" + } +} \ No newline at end of file diff --git a/program.json b/program.json new file mode 100644 index 0000000..e1d0164 --- /dev/null +++ b/program.json @@ -0,0 +1,28 @@ +{ + "predictor": { + "traces": [], + "train": [], + "demos": [], + "signature": { + "instructions": "Given the fields `question`, produce the fields `answer`.", + "fields": [ + { + "prefix": "Question:", + "description": "${question}" + }, + { + "prefix": "Answer:", + "description": "${answer}" + } + ] + }, + "lm": null + }, + "metadata": { + "dependency_versions": { + "python": "3.11", + "dspy": "3.0.4", + "cloudpickle": "3.1" + } + } +} \ No newline at end of file