Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 38 additions & 23 deletions docs/_static/llama-stack-spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -14849,27 +14849,6 @@
"type": "object",
"title": "Response"
},
"VectorStoreContent": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "text",
"description": "Content type, currently only \"text\" is supported"
},
"text": {
"type": "string",
"description": "The actual text content"
}
},
"additionalProperties": false,
"required": [
"type",
"text"
],
"title": "VectorStoreContent",
"description": "Content item from a vector store file or search result."
},
"VectorStoreFileContentsResponse": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -14910,7 +14889,25 @@
"content": {
"type": "array",
"items": {
"$ref": "#/components/schemas/VectorStoreContent"
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "text",
"description": "Content type, currently only \"text\" is supported"
},
"text": {
"type": "string",
"description": "The actual text content"
}
},
"additionalProperties": false,
"required": [
"type",
"text"
],
"title": "VectorStoreContent",
"description": "Content item from a vector store file or search result."
},
"description": "List of content items from the file"
}
Expand Down Expand Up @@ -15038,7 +15035,25 @@
"content": {
"type": "array",
"items": {
"$ref": "#/components/schemas/VectorStoreContent"
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "text",
"description": "Content type, currently only \"text\" is supported"
},
"text": {
"type": "string",
"description": "The actual text content"
}
},
"additionalProperties": false,
"required": [
"type",
"text"
],
"title": "VectorStoreContent",
"description": "Content item from a vector store file or search result."
},
"description": "List of content items matching the search query"
}
Expand Down
54 changes: 34 additions & 20 deletions docs/_static/llama-stack-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11021,24 +11021,6 @@ components:
Response:
type: object
title: Response
VectorStoreContent:
type: object
properties:
type:
type: string
const: text
description: >-
Content type, currently only "text" is supported
text:
type: string
description: The actual text content
additionalProperties: false
required:
- type
- text
title: VectorStoreContent
description: >-
Content item from a vector store file or search result.
VectorStoreFileContentsResponse:
type: object
properties:
Expand All @@ -11063,7 +11045,23 @@ components:
content:
type: array
items:
$ref: '#/components/schemas/VectorStoreContent'
type: object
properties:
type:
type: string
const: text
description: >-
Content type, currently only "text" is supported
text:
type: string
description: The actual text content
additionalProperties: false
required:
- type
- text
title: VectorStoreContent
description: >-
Content item from a vector store file or search result.
description: List of content items from the file
additionalProperties: false
required:
Expand Down Expand Up @@ -11154,7 +11152,23 @@ components:
content:
type: array
items:
$ref: '#/components/schemas/VectorStoreContent'
type: object
properties:
type:
type: string
const: text
description: >-
Content type, currently only "text" is supported
text:
type: string
description: The actual text content
additionalProperties: false
required:
- type
- text
title: VectorStoreContent
description: >-
Content item from a vector store file or search result.
description: >-
List of content items matching the search query
additionalProperties: false
Expand Down
1 change: 0 additions & 1 deletion llama_stack/apis/vector_io/vector_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ class VectorStoreSearchRequest(BaseModel):
rewrite_query: bool = False


@json_schema_type
class VectorStoreContent(BaseModel):
"""Content item from a vector store file or search result.

Expand Down
Loading