← Back to Gene Catalog

litigation-strategy

Hybrid litigation.strategy

诉讼策略两阶段基因:第一阶段输出结构化策略 JSON;第二阶段在 previousStrategyOutput 约束下输出举证方案、质证提纲与代理意见草稿。知识库字段与合同审查基因区分(程序法、证据规则、可选案例);脱敏由宿主侧完成。

README

No documentation yet.

Gene authors can add a README when publishing.

Phenotype

Input

PropertyType Req Description
stage strategy | detail strategy=诉讼策略总纲;detail=举证/质证/代理意见细化(须带 previousStrategyOutput)
apiKeys object
caseTitle string 案名或标题(可选)
caseTrack civil | criminal_defense | administrative 民事 / 刑事辩护 / 行政
knowledge object
opponentAnswerText string 对方答辩状、意见等
courtProcedureNotes string 程序与庭审相关说明(可选)
opponentEvidenceText string 对方证据说明
previousStrategyOutput object stage=detail 时必填:第一阶段返回的 strategyResult 对象(宿主原样传入)
ourEvidenceMaterialsText string 我方证据清单或材料说明
complaintOrIndictmentText string 起诉书、公诉书、申请书等

Output

PropertyType Req
stage strategy | detail
caseTrack civil | criminal_defense | administrative
disclaimer string
detailResult object
strategyResult object
Raw JSON Schema

inputSchema

{
  "type": "object",
  "required": [
    "stage",
    "caseTrack",
    "knowledge",
    "apiKeys"
  ],
  "properties": {
    "stage": {
      "enum": [
        "strategy",
        "detail"
      ],
      "type": "string",
      "description": "strategy=诉讼策略总纲;detail=举证/质证/代理意见细化(须带 previousStrategyOutput)"
    },
    "apiKeys": {
      "type": "object",
      "required": [
        "llm"
      ],
      "properties": {
        "llm": {
          "type": "object",
          "required": [
            "apiKey"
          ],
          "properties": {
            "model": {
              "type": "string"
            },
            "apiKey": {
              "type": "string"
            },
            "baseUrl": {
              "type": "string"
            },
            "provider": {
              "enum": [
                "deepseek",
                "openai",
                "anthropic"
              ],
              "type": "string"
            }
          }
        }
      }
    },
    "caseTitle": {
      "type": "string",
      "description": "案名或标题(可选)"
    },
    "caseTrack": {
      "enum": [
        "civil",
        "criminal_defense",
        "administrative"
      ],
      "type": "string",
      "description": "民事 / 刑事辩护 / 行政"
    },
    "knowledge": {
      "type": "object",
      "required": [
        "proceduralLaw",
        "evidenceRules"
      ],
      "properties": {
        "cases": {
          "type": "string",
          "description": "案例知识(可选)"
        },
        "evidenceRules": {
          "type": "string",
          "description": "证据规则知识(必选)"
        },
        "proceduralLaw": {
          "type": "string",
          "description": "程序法知识(必选)"
        }
      }
    },
    "opponentAnswerText": {
      "type": "string",
      "description": "对方答辩状、意见等"
    },
    "courtProcedureNotes": {
      "type": "string",
      "description": "程序与庭审相关说明(可选)"
    },
    "opponentEvidenceText": {
      "type": "string",
      "description": "对方证据说明"
    },
    "previousStrategyOutput": {
      "type": "object",
      "description": "stage=detail 时必填:第一阶段返回的 strategyResult 对象(宿主原样传入)"
    },
    "ourEvidenceMaterialsText": {
      "type": "string",
      "description": "我方证据清单或材料说明"
    },
    "complaintOrIndictmentText": {
      "type": "string",
      "description": "起诉书、公诉书、申请书等"
    }
  }
}

outputSchema

{
  "type": "object",
  "required": [
    "stage",
    "caseTrack",
    "disclaimer"
  ],
  "properties": {
    "stage": {
      "enum": [
        "strategy",
        "detail"
      ],
      "type": "string"
    },
    "caseTrack": {
      "enum": [
        "civil",
        "criminal_defense",
        "administrative"
      ],
      "type": "string"
    },
    "disclaimer": {
      "type": "string"
    },
    "detailResult": {
      "type": "object",
      "properties": {
        "evidencePlan": {
          "type": "string"
        },
        "agencyOpinionDraft": {
          "type": "string"
        },
        "additionalChecklist": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "crossExaminationOutline": {
          "type": "string"
        }
      }
    },
    "strategyResult": {
      "type": "object",
      "properties": {
        "legalIssues": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "caseSynopsis": {
          "type": "string"
        },
        "disputeFocus": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "riskAndUnknowns": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "proceduralStrategy": {
          "type": "string"
        },
        "nextStepHintsForDetail": {
          "type": "string"
        },
        "evidenceStrategyOverview": {
          "type": "string"
        }
      }
    }
  }
}

Arena History

Date Fitness Safety Calls
Apr 2 0.5000 1.00 1