66 lines
1.5 KiB
JSON
66 lines
1.5 KiB
JSON
{
|
|
"model": null,
|
|
"signature": {
|
|
"$defs": {
|
|
"CaptialOutput": {
|
|
"properties": {
|
|
"answer": {
|
|
"title": "Answer",
|
|
"type": "string"
|
|
},
|
|
"reasoning": {
|
|
"title": "Reasoning",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"answer",
|
|
"reasoning"
|
|
],
|
|
"title": "CaptialOutput",
|
|
"type": "object"
|
|
}
|
|
},
|
|
"description": "Given the fields `question`, `output`, produce the fields `correctness`.",
|
|
"properties": {
|
|
"question": {
|
|
"__dspy_field_type": "input",
|
|
"desc": "${question}",
|
|
"prefix": "Question:",
|
|
"title": "Question",
|
|
"type": "string"
|
|
},
|
|
"output": {
|
|
"$ref": "#/$defs/CaptialOutput",
|
|
"__dspy_field_type": "input",
|
|
"desc": "${output}",
|
|
"prefix": "Output:"
|
|
},
|
|
"correctness": {
|
|
"__dspy_field_type": "output",
|
|
"desc": "${correctness}",
|
|
"prefix": "Correctness:",
|
|
"title": "Correctness",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"question",
|
|
"output",
|
|
"correctness"
|
|
],
|
|
"title": "CapitalsSignature",
|
|
"type": "object"
|
|
},
|
|
"lm": {
|
|
"model": "gpt-4o-mini",
|
|
"model_type": "chat",
|
|
"cache": true,
|
|
"num_retries": 3,
|
|
"finetuning_model": null,
|
|
"launch_kwargs": {},
|
|
"train_kwargs": {},
|
|
"temperature": null,
|
|
"max_tokens": null
|
|
}
|
|
} |