42 lines
924 B
JSON
42 lines
924 B
JSON
{
|
|
"predictor": {
|
|
"traces": [],
|
|
"train": [],
|
|
"demos": [],
|
|
"signature": {
|
|
"instructions": "Given the fields `question`, `context`, produce the fields `answer`.",
|
|
"fields": [
|
|
{
|
|
"prefix": "Question:",
|
|
"description": "${question}"
|
|
},
|
|
{
|
|
"prefix": "Context:",
|
|
"description": "${context}"
|
|
},
|
|
{
|
|
"prefix": "Answer:",
|
|
"description": "Answer to the question, based on the passage"
|
|
}
|
|
]
|
|
},
|
|
"lm": {
|
|
"model": "openai/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.1.2",
|
|
"cloudpickle": "3.1"
|
|
}
|
|
}
|
|
} |