(no commit message)
This commit is contained in:
66
config.json
Normal file
66
config.json
Normal file
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"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
|
||||
}
|
||||
}
|
||||
42
program.json
Normal file
42
program.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"predictor": {
|
||||
"traces": [],
|
||||
"train": [],
|
||||
"demos": [],
|
||||
"signature": {
|
||||
"instructions": "Given the fields `question`, `output`, produce the fields `correctness`.",
|
||||
"fields": [
|
||||
{
|
||||
"prefix": "Question:",
|
||||
"description": "${question}"
|
||||
},
|
||||
{
|
||||
"prefix": "Output:",
|
||||
"description": "${output}"
|
||||
},
|
||||
{
|
||||
"prefix": "Correctness:",
|
||||
"description": "${correctness}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"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
|
||||
}
|
||||
},
|
||||
"metadata": {
|
||||
"dependency_versions": {
|
||||
"python": "3.11",
|
||||
"dspy": "3.0.4",
|
||||
"cloudpickle": "3.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user