(no commit message)

This commit is contained in:
2026-01-03 16:50:11 -08:00
parent beb007ca4f
commit cc815c427e
3 changed files with 108 additions and 2 deletions

View File

@@ -1,2 +0,0 @@
# braintrust-capitals

66
config.json Normal file
View 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
View 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"
}
}
}