61 lines
1.9 KiB
JSON
61 lines
1.9 KiB
JSON
{
|
|
"model": null,
|
|
"signature": {
|
|
"description": "Given a question and the previous trace steps, classify whether the current\nreasoning step is grounded in the information available from prior steps.",
|
|
"properties": {
|
|
"question": {
|
|
"__dspy_field_type": "input",
|
|
"desc": "The question being answered",
|
|
"prefix": "Question:",
|
|
"title": "Question",
|
|
"type": "string"
|
|
},
|
|
"previous_traces": {
|
|
"__dspy_field_type": "input",
|
|
"desc": "List of previous trace steps (reasoning, search, search_result) leading up to the current reasoning step",
|
|
"items": {
|
|
"additionalProperties": true,
|
|
"type": "object"
|
|
},
|
|
"prefix": "Previous Traces:",
|
|
"title": "Previous Traces",
|
|
"type": "array"
|
|
},
|
|
"current_trace": {
|
|
"__dspy_field_type": "input",
|
|
"additionalProperties": true,
|
|
"desc": "The current reasoning trace step to evaluate for groundedness",
|
|
"prefix": "Current Trace:",
|
|
"title": "Current Trace",
|
|
"type": "object"
|
|
},
|
|
"reasoning": {
|
|
"__dspy_field_type": "output",
|
|
"desc": "The reasoning for your assessment. Be sure to state any uncertainties in you reasoning process.",
|
|
"prefix": "Reasoning:",
|
|
"title": "Reasoning",
|
|
"type": "string"
|
|
},
|
|
"groundedness": {
|
|
"__dspy_field_type": "output",
|
|
"desc": "Whether the reasoning step is grounded in information from prior trace steps",
|
|
"enum": [
|
|
"Grounded",
|
|
"Not Grounded"
|
|
],
|
|
"prefix": "Groundedness:",
|
|
"title": "Groundedness",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"question",
|
|
"previous_traces",
|
|
"current_trace",
|
|
"reasoning",
|
|
"groundedness"
|
|
],
|
|
"title": "ReasoningSignature",
|
|
"type": "object"
|
|
}
|
|
} |