update config schema files
This commit is contained in:
parent
38d98e4801
commit
27772b9f2b
3 changed files with 145 additions and 4 deletions
50
docs/static/schemas/config.json
vendored
50
docs/static/schemas/config.json
vendored
|
|
@ -1395,6 +1395,46 @@
|
|||
}
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"enum": ["docs"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
"params": {
|
||||
"properties": {
|
||||
"sites": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"startUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"rootUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"maxDepth": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": ["title", "startUrl"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["sites"]
|
||||
}
|
||||
},
|
||||
"required": ["params"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
|
|
@ -1955,7 +1995,13 @@
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"enum": ["cohere", "voyage", "llm", "free-trial", "huggingface-tei"]
|
||||
"enum": [
|
||||
"cohere",
|
||||
"voyage",
|
||||
"llm",
|
||||
"free-trial",
|
||||
"huggingface-tei"
|
||||
]
|
||||
},
|
||||
"params": {
|
||||
"type": "object"
|
||||
|
|
@ -2070,7 +2116,7 @@
|
|||
"default": false
|
||||
},
|
||||
"truncation_direction": {
|
||||
"enum": ["Right","Left"],
|
||||
"enum": ["Right", "Left"],
|
||||
"markdownDescription": "Wether to truncate sequences from the `left` or `right`.",
|
||||
"default": "Right"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1395,6 +1395,46 @@
|
|||
}
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"enum": ["docs"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
"params": {
|
||||
"properties": {
|
||||
"sites": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"startUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"rootUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"maxDepth": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": ["title", "startUrl"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["sites"]
|
||||
}
|
||||
},
|
||||
"required": ["params"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
|
|
@ -1955,7 +1995,13 @@
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"enum": ["cohere", "voyage", "llm", "free-trial", "huggingface-tei"]
|
||||
"enum": [
|
||||
"cohere",
|
||||
"voyage",
|
||||
"llm",
|
||||
"free-trial",
|
||||
"huggingface-tei"
|
||||
]
|
||||
},
|
||||
"params": {
|
||||
"type": "object"
|
||||
|
|
@ -2070,7 +2116,7 @@
|
|||
"default": false
|
||||
},
|
||||
"truncation_direction": {
|
||||
"enum": ["Right","Left"],
|
||||
"enum": ["Right", "Left"],
|
||||
"markdownDescription": "Wether to truncate sequences from the `left` or `right`.",
|
||||
"default": "Right"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1541,6 +1541,55 @@
|
|||
}
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"enum": [
|
||||
"docs"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
"params": {
|
||||
"properties": {
|
||||
"sites": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"startUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"rootUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"maxDepth": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"title",
|
||||
"startUrl"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"sites"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"params"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue