(no commit message)
This commit is contained in:
68
config.json
Normal file
68
config.json
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
{
|
||||||
|
"model": null,
|
||||||
|
"signature": {
|
||||||
|
"description": "Analyze the text using Moral Foundations Theory (MFT) and determine which moral foundations are expressed.\nReason step-by-step about the presence or absence of each foundation.\nIn the reasoning, note ambiguity, uncertainty, implicit moral language, and cases where multiple foundations may apply.\nA text may express multiple foundations.\nSet non_moral=True only if no MFT moral foundation is clearly expressed.",
|
||||||
|
"properties": {
|
||||||
|
"text": {
|
||||||
|
"__dspy_field_type": "input",
|
||||||
|
"desc": "The text to analyze for moral foundations.",
|
||||||
|
"prefix": "Text:",
|
||||||
|
"title": "Text",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"reasoning": {
|
||||||
|
"__dspy_field_type": "output",
|
||||||
|
"desc": "Step-by-step reasoning using Moral Foundations Theory (MFT), including uncertainty, ambiguity, implicitness, and why each foundation does or does not apply.",
|
||||||
|
"prefix": "Reasoning:",
|
||||||
|
"title": "Reasoning",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"care": {
|
||||||
|
"__dspy_field_type": "output",
|
||||||
|
"desc": "Whether the text expresses the Care/Harm moral foundation in MFT, such as concern about suffering, harm, cruelty, compassion, protection, or vulnerability.",
|
||||||
|
"prefix": "Care:",
|
||||||
|
"title": "Care",
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"fairness": {
|
||||||
|
"__dspy_field_type": "output",
|
||||||
|
"desc": "Whether the text expresses the Fairness moral foundation in MFT, including fairness, justice, rights, equality, reciprocity, deservedness, or proportionality.",
|
||||||
|
"prefix": "Fairness:",
|
||||||
|
"title": "Fairness",
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"loyalty": {
|
||||||
|
"__dspy_field_type": "output",
|
||||||
|
"desc": "Whether the text expresses the Loyalty/Betrayal moral foundation in MFT, such as allegiance, solidarity, patriotism, group belonging, or betrayal of a group.",
|
||||||
|
"prefix": "Loyalty:",
|
||||||
|
"title": "Loyalty",
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"authority": {
|
||||||
|
"__dspy_field_type": "output",
|
||||||
|
"desc": "Whether the text expresses the Authority/Subversion moral foundation in MFT, such as respect for rules, hierarchy, duty, obedience, tradition, or legitimate institutions.",
|
||||||
|
"prefix": "Authority:",
|
||||||
|
"title": "Authority",
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"non_moral": {
|
||||||
|
"__dspy_field_type": "output",
|
||||||
|
"desc": "Whether the text expresses no clear Moral Foundations Theory (MFT) moral foundation. This should be true only if care, fairness, loyalty, and authority are all false.",
|
||||||
|
"prefix": "Non Moral:",
|
||||||
|
"title": "Non Moral",
|
||||||
|
"type": "boolean"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"text",
|
||||||
|
"reasoning",
|
||||||
|
"care",
|
||||||
|
"fairness",
|
||||||
|
"loyalty",
|
||||||
|
"authority",
|
||||||
|
"non_moral"
|
||||||
|
],
|
||||||
|
"title": "MoralJudgeSig",
|
||||||
|
"type": "object"
|
||||||
|
}
|
||||||
|
}
|
||||||
56
program.json
Normal file
56
program.json
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user