File size: 1,027 Bytes
cd8bd0a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "OmniRoute Caveman Rule Pack",
  "type": "object",
  "required": ["language", "category", "rules"],
  "properties": {
    "language": { "type": "string" },
    "category": { "type": "string" },
    "rules": {
      "type": "array",
      "items": {
        "type": "object",
        "required": ["name", "pattern"],
        "properties": {
          "name": { "type": "string" },
          "pattern": { "type": "string" },
          "flags": { "type": "string" },
          "replacement": { "type": "string" },
          "replacementMap": {
            "type": "object",
            "additionalProperties": { "type": "string" }
          },
          "context": { "enum": ["all", "user", "system", "assistant"] },
          "category": { "enum": ["filler", "context", "structural", "dedup", "terse", "ultra"] },
          "minIntensity": { "enum": ["lite", "full", "ultra"] },
          "description": { "type": "string" }
        }
      }
    }
  }
}