README
No documentation yet.
Gene authors can add a README when publishing.Phenotype
Input
| Property | Type | Req | Description |
|---|---|---|---|
| text | string | ✓ | å¾…å®¡æ ¸çš„é’©åæ–‡æœ¬ |
| strict | boolean = true | ä¸¥æ ¼æ¨¡å¼ä¸‹ä»»ä½•violationå‡ä¸é€šè¿‡ |
Output
| Property | Type | Req |
|---|---|---|
| pass | boolean | ✓ |
| violations | array | ✓ |
| sanitizedText | string |
Raw JSON Schema
inputSchema
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "å¾…å®¡æ ¸çš„é’©åæ–‡æœ¬"
},
"strict": {
"type": "boolean",
"default": true,
"description": "ä¸¥æ ¼æ¨¡å¼ä¸‹ä»»ä½•violationå‡ä¸é€šè¿‡"
}
}
} outputSchema
{
"type": "object",
"required": [
"pass",
"violations"
],
"properties": {
"pass": {
"type": "boolean"
},
"violations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"reason": {
"type": "string"
},
"category": {
"type": "string"
},
"riskLevel": {
"enum": [
"low",
"medium",
"high"
],
"type": "string"
}
}
}
},
"sanitizedText": {
"type": "string"
}
}
}