Skip to content

Commit e227a58

Browse files
committed
make schema
1 parent e444ab0 commit e227a58

File tree

1 file changed

+0
-66
lines changed

1 file changed

+0
-66
lines changed

docs/optimizer_config.schema.json

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -536,69 +536,6 @@
536536
"title": "NodeType",
537537
"type": "string"
538538
},
539-
"RegExpInitModel": {
540-
"properties": {
541-
"module_name": {
542-
"const": "regexp",
543-
"title": "Module Name",
544-
"type": "string"
545-
}
546-
},
547-
"required": [
548-
"module_name"
549-
],
550-
"title": "RegExpInitModel",
551-
"type": "object"
552-
},
553-
"RegexNodeValidator": {
554-
"description": "Search space configuration for the Regexp node.",
555-
"properties": {
556-
"node_type": {
557-
"$ref": "#/$defs/NodeType",
558-
"default": "regexp"
559-
},
560-
"target_metric": {
561-
"enum": [
562-
"regexp_partial_accuracy",
563-
"regexp_partial_precision"
564-
],
565-
"title": "Target Metric",
566-
"type": "string"
567-
},
568-
"metrics": {
569-
"anyOf": [
570-
{
571-
"items": {
572-
"enum": [
573-
"regexp_partial_accuracy",
574-
"regexp_partial_precision"
575-
],
576-
"type": "string"
577-
},
578-
"type": "array"
579-
},
580-
{
581-
"type": "null"
582-
}
583-
],
584-
"default": null,
585-
"title": "Metrics"
586-
},
587-
"search_space": {
588-
"items": {
589-
"$ref": "#/$defs/RegExpInitModel"
590-
},
591-
"title": "Search Space",
592-
"type": "array"
593-
}
594-
},
595-
"required": [
596-
"target_metric",
597-
"search_space"
598-
],
599-
"title": "RegexNodeValidator",
600-
"type": "object"
601-
},
602539
"RerankScorerInitModel": {
603540
"properties": {
604541
"module_name": {
@@ -940,9 +877,6 @@
940877
"description": "Optimizer configuration.",
941878
"items": {
942879
"anyOf": [
943-
{
944-
"$ref": "#/$defs/RegexNodeValidator"
945-
},
946880
{
947881
"$ref": "#/$defs/EmbeddingNodeValidator"
948882
},

0 commit comments

Comments
 (0)