91 lines
2.2 KiB
JSON
91 lines
2.2 KiB
JSON
{
|
|
"generate_thought.predict": {
|
|
"traces": [],
|
|
"train": [],
|
|
"demos": [],
|
|
"signature": {
|
|
"instructions": "Generate thoughts about questions",
|
|
"fields": [
|
|
{
|
|
"prefix": "Context:",
|
|
"description": "may contain relevant facts and psychological insights"
|
|
},
|
|
{
|
|
"prefix": "Question:",
|
|
"description": "${question}"
|
|
},
|
|
{
|
|
"prefix": "Reasoning: Let's think step by step in order to",
|
|
"description": "${reasoning}"
|
|
},
|
|
{
|
|
"prefix": "Thought:",
|
|
"description": "a thought that might help answer the question"
|
|
}
|
|
]
|
|
},
|
|
"lm": {
|
|
"model": "gpt-3.5-turbo",
|
|
"model_type": "chat",
|
|
"cache": true,
|
|
"num_retries": 3,
|
|
"finetuning_model": null,
|
|
"launch_kwargs": {},
|
|
"train_kwargs": {},
|
|
"temperature": null,
|
|
"max_tokens": 1000
|
|
}
|
|
},
|
|
"generate_answer.predict": {
|
|
"traces": [],
|
|
"train": [],
|
|
"demos": [],
|
|
"signature": {
|
|
"instructions": "Generate answers to the questions",
|
|
"fields": [
|
|
{
|
|
"prefix": "Context:",
|
|
"description": "may contain relevant facts and psychological insights"
|
|
},
|
|
{
|
|
"prefix": "Question:",
|
|
"description": "${question}"
|
|
},
|
|
{
|
|
"prefix": "Thought:",
|
|
"description": "a thought that might help answer the question"
|
|
},
|
|
{
|
|
"prefix": "Answer Choices:",
|
|
"description": "${answer_choices}"
|
|
},
|
|
{
|
|
"prefix": "Reasoning: Let's think step by step in order to",
|
|
"description": "${reasoning}"
|
|
},
|
|
{
|
|
"prefix": "Answer:",
|
|
"description": "often between 1 and 5 words"
|
|
}
|
|
]
|
|
},
|
|
"lm": {
|
|
"model": "gpt-3.5-turbo",
|
|
"model_type": "chat",
|
|
"cache": true,
|
|
"num_retries": 3,
|
|
"finetuning_model": null,
|
|
"launch_kwargs": {},
|
|
"train_kwargs": {},
|
|
"temperature": null,
|
|
"max_tokens": 1000
|
|
}
|
|
},
|
|
"metadata": {
|
|
"dependency_versions": {
|
|
"python": "3.13",
|
|
"dspy": "3.0.4",
|
|
"cloudpickle": "3.1"
|
|
}
|
|
}
|
|
} |