Restrict the changes to the new preprocessing API only.

This commit is contained in:
ilya-kolchinsky 2025-04-03 12:19:08 +02:00
parent 2008cd7921
commit 863f87aa15
90 changed files with 104 additions and 1138 deletions

View file

@ -8052,44 +8052,6 @@
],
"title": "HealthInfo"
},
"PreprocessorChainElement": {
"type": "object",
"properties": {
"preprocessor_id": {
"type": "string"
},
"options": {
"type": "object",
"additionalProperties": {
"oneOf": [
{
"type": "null"
},
{
"type": "boolean"
},
{
"type": "number"
},
{
"type": "string"
},
{
"type": "array"
},
{
"type": "object"
}
]
}
}
},
"additionalProperties": false,
"required": [
"preprocessor_id"
],
"title": "PreprocessorChainElement"
},
"RAGDocument": {
"type": "object",
"properties": {
@ -8171,12 +8133,6 @@
},
"chunk_size_in_tokens": {
"type": "integer"
},
"preprocessor_chain": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PreprocessorChainElement"
}
}
},
"additionalProperties": false,
@ -9382,6 +9338,44 @@
],
"title": "PreprocessingDataElement"
},
"PreprocessorChainElement": {
"type": "object",
"properties": {
"preprocessor_id": {
"type": "string"
},
"options": {
"type": "object",
"additionalProperties": {
"oneOf": [
{
"type": "null"
},
{
"type": "boolean"
},
{
"type": "number"
},
{
"type": "string"
},
{
"type": "array"
},
{
"type": "object"
}
]
}
}
},
"additionalProperties": false,
"required": [
"preprocessor_id"
],
"title": "PreprocessorChainElement"
},
"PreprocessRequest": {
"type": "object",
"properties": {