From 99afd6e635390dd1fe55277c2602121b9d528689 Mon Sep 17 00:00:00 2001 From: Tyrin Todd Date: Wed, 8 Apr 2026 21:26:31 -0700 Subject: [PATCH] initial push --- README.md | 5 ++++- config.json | 33 +++++++++++++++++++++++++++++++++ program.json | 26 ++++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 config.json create mode 100644 program.json diff --git a/README.md b/README.md index c37dfe9..9d108d8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ -# ppp-test +--- +{} +--- +# ppp-test \ No newline at end of file diff --git a/config.json b/config.json new file mode 100644 index 0000000..860d6b2 --- /dev/null +++ b/config.json @@ -0,0 +1,33 @@ +{ + "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}", + "enum": [ + "yes", + "no", + "maybe" + ], + "prefix": "Answer:", + "title": "Answer", + "type": "string" + } + }, + "required": [ + "question", + "answer" + ], + "title": "MySignature", + "type": "object" + } +} \ No newline at end of file diff --git a/program.json b/program.json new file mode 100644 index 0000000..1fe76c9 --- /dev/null +++ b/program.json @@ -0,0 +1,26 @@ +{ + "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.1.2", + "cloudpickle": "3.1" + } + } +} \ No newline at end of file