52 lines
1.9 KiB
JSON
52 lines
1.9 KiB
JSON
{
|
|
"model": null,
|
|
"signature": {
|
|
"description": "Classify a SCOTUS case text into one of 14 issue IDs.\n\nLabel meanings:\n1=Criminal Procedure, 2=Civil Rights, 3=First Amendment, 4=Due Process,\n5=Privacy, 6=Attorneys, 7=Unions, 8=Economic Activity, 9=Judicial Power,\n10=Federalism, 11=Interstate Relations, 12=Federal Taxation,\n13=Miscellaneous, 14=Private Action.\n\nAs you reason, note any uncertainties, ambiguities, and gaps \u2014 both in how the instructions apply to the task at hand and in whether you have the knowledge needed to solve it. Be honest in your reasoning when you are unsure about your answer.",
|
|
"properties": {
|
|
"opinion_text": {
|
|
"__dspy_field_type": "input",
|
|
"desc": "SCOTUS case text.",
|
|
"prefix": "Opinion Text:",
|
|
"title": "Opinion Text",
|
|
"type": "string"
|
|
},
|
|
"reasoning": {
|
|
"__dspy_field_type": "output",
|
|
"desc": "Step-by-step reasoning, including uncertainty, ambiguity, or uncertainty in your thought process when relevant.",
|
|
"prefix": "Reasoning:",
|
|
"title": "Reasoning",
|
|
"type": "string"
|
|
},
|
|
"issue_id": {
|
|
"__dspy_field_type": "output",
|
|
"desc": "Issue ID 1-14 where 1=Criminal Procedure, 2=Civil Rights, 3=First Amendment, 4=Due Process, 5=Privacy, 6=Attorneys, 7=Unions, 8=Economic Activity, 9=Judicial Power, 10=Federalism, 11=Interstate Relations, 12=Federal Taxation, 13=Miscellaneous, 14=Private Action.",
|
|
"enum": [
|
|
"1",
|
|
"2",
|
|
"3",
|
|
"4",
|
|
"5",
|
|
"6",
|
|
"7",
|
|
"8",
|
|
"9",
|
|
"10",
|
|
"11",
|
|
"12",
|
|
"13",
|
|
"14"
|
|
],
|
|
"prefix": "Issue Id:",
|
|
"title": "Issue Id",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"opinion_text",
|
|
"reasoning",
|
|
"issue_id"
|
|
],
|
|
"title": "LexGlueScotusIssueJudgeSig",
|
|
"type": "object"
|
|
}
|
|
} |