mirror of
https://github.com/meta-llama/llama-stack.git
synced 2026-01-02 14:04:30 +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": {
|
||||
|
|
|
|||
42
docs/_static/llama-stack-spec.yaml
vendored
42
docs/_static/llama-stack-spec.yaml
vendored
|
|
@ -5572,25 +5572,6 @@ components:
|
|||
required:
|
||||
- status
|
||||
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:
|
||||
|
|
@ -5639,10 +5620,6 @@ components:
|
|||
type: string
|
||||
chunk_size_in_tokens:
|
||||
type: integer
|
||||
preprocessor_chain:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/PreprocessorChainElement'
|
||||
additionalProperties: false
|
||||
required:
|
||||
- documents
|
||||
|
|
@ -6414,6 +6391,25 @@ components:
|
|||
required:
|
||||
- data_element_id
|
||||
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