diff --git a/README.md b/README.md deleted file mode 100644 index 553b9ff..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# qa - diff --git a/config.json b/config.json new file mode 100644 index 0000000..dbc6ad5 --- /dev/null +++ b/config.json @@ -0,0 +1,36 @@ +{ + "model": null, + "signature": { + "description": "Given the fields `question`, produce the fields `reasoning`, `answer`.", + "properties": { + "question": { + "__dspy_field_type": "input", + "desc": "${question}", + "prefix": "Question:", + "title": "Question", + "type": "string" + }, + "reasoning": { + "__dspy_field_type": "output", + "desc": "${reasoning}", + "prefix": "Reasoning:", + "title": "Reasoning", + "type": "string" + }, + "answer": { + "__dspy_field_type": "output", + "desc": "${answer}", + "prefix": "Answer:", + "title": "Answer", + "type": "string" + } + }, + "required": [ + "question", + "reasoning", + "answer" + ], + "title": "QA", + "type": "object" + } +} \ No newline at end of file diff --git a/program.json b/program.json new file mode 100644 index 0000000..0af2b7b --- /dev/null +++ b/program.json @@ -0,0 +1,30 @@ +{ + "traces": [], + "train": [], + "demos": [], + "signature": { + "instructions": "Given the fields `question`, produce the fields `reasoning`, `answer`.", + "fields": [ + { + "prefix": "Question:", + "description": "${question}" + }, + { + "prefix": "Reasoning:", + "description": "${reasoning}" + }, + { + "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