mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-31 05:53:53 +00:00
Restrict the changes to the new preprocessing API only.
This commit is contained in:
parent
2008cd7921
commit
863f87aa15
90 changed files with 104 additions and 1138 deletions
82
docs/_static/llama-stack-spec.html
vendored
82
docs/_static/llama-stack-spec.html
vendored
|
|
@ -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": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue