(no commit message)
This commit is contained in:
28
config.json
Normal file
28
config.json
Normal file
@@ -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"
|
||||
}
|
||||
}
|
||||
28
program.json
Normal file
28
program.json
Normal file
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user