mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-10 04:08:31 +00:00
update
This commit is contained in:
parent
39980dc83f
commit
139d5bded6
2 changed files with 20 additions and 147 deletions
59
docs/_static/llama-stack-spec.html
vendored
59
docs/_static/llama-stack-spec.html
vendored
|
@ -40,7 +40,6 @@
|
|||
}
|
||||
],
|
||||
"paths": {
|
||||
<<<<<<< HEAD
|
||||
"/v1/eval/tasks/{task_id}/evaluations": {
|
||||
"post": {
|
||||
"responses": {
|
||||
|
@ -235,8 +234,6 @@
|
|||
"deprecated": true
|
||||
}
|
||||
},
|
||||
=======
|
||||
>>>>>>> 974941be (deprecation in OpenAPI spec)
|
||||
"/v1/eval-tasks": {
|
||||
"get": {
|
||||
"responses": {
|
||||
|
@ -245,27 +242,18 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
<<<<<<< HEAD
|
||||
"$ref": "#/components/schemas/ListBenchmarksResponse"
|
||||
=======
|
||||
"$ref": "#/components/schemas/ListEvalTasksResponse"
|
||||
>>>>>>> 974941be (deprecation in OpenAPI spec)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
<<<<<<< HEAD
|
||||
"Benchmarks"
|
||||
=======
|
||||
"EvalTasks"
|
||||
>>>>>>> 974941be (deprecation in OpenAPI spec)
|
||||
],
|
||||
"description": "",
|
||||
"parameters": [],
|
||||
"deprecated": true
|
||||
<<<<<<< HEAD
|
||||
},
|
||||
"post": {
|
||||
"responses": {
|
||||
|
@ -330,8 +318,6 @@
|
|||
"required": true
|
||||
},
|
||||
"deprecated": true
|
||||
=======
|
||||
>>>>>>> 974941be (deprecation in OpenAPI spec)
|
||||
}
|
||||
},
|
||||
"/v1/datasetio/rows": {
|
||||
|
@ -2659,50 +2645,7 @@
|
|||
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
|
||||
"components": {
|
||||
"schemas": {
|
||||
<<<<<<< HEAD
|
||||
"AgentCandidate": {
|
||||
=======
|
||||
"EvalTask": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"const": "eval_task",
|
||||
"default": "eval_task"
|
||||
},
|
||||
"dataset_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"config": {
|
||||
"$ref": "#/components/schemas/AgentConfig"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"type",
|
||||
"config"
|
||||
]
|
||||
},
|
||||
"ListEvalTasksResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"sampling_params": {
|
||||
"$ref": "#/components/schemas/SamplingParams"
|
||||
},
|
||||
"input_shields": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/EvalTask"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"data"
|
||||
]
|
||||
},
|
||||
"AppendRowsRequest": {
|
||||
>>>>>>> 974941be (deprecation in OpenAPI spec)
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
|
@ -2729,7 +2672,7 @@
|
|||
"input_shields": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/ToolDef"
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"output_shields": {
|
||||
|
|
108
docs/_static/llama-stack-spec.yaml
vendored
108
docs/_static/llama-stack-spec.yaml
vendored
|
@ -10,7 +10,6 @@ info:
|
|||
servers:
|
||||
- url: http://any-hosted-llama-stack.com
|
||||
paths:
|
||||
<<<<<<< HEAD
|
||||
/v1/eval/tasks/{task_id}/evaluations:
|
||||
post:
|
||||
responses:
|
||||
|
@ -126,8 +125,6 @@ paths:
|
|||
schema:
|
||||
type: string
|
||||
deprecated: true
|
||||
=======
|
||||
>>>>>>> 974941be (deprecation in OpenAPI spec)
|
||||
/v1/eval-tasks:
|
||||
get:
|
||||
responses:
|
||||
|
@ -136,7 +133,6 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
<<<<<<< HEAD
|
||||
$ref: '#/components/schemas/ListBenchmarksResponse'
|
||||
tags:
|
||||
- Benchmarks
|
||||
|
@ -183,14 +179,6 @@ paths:
|
|||
$ref: '#/components/schemas/DeprecatedRunEvalRequest'
|
||||
required: true
|
||||
deprecated: true
|
||||
=======
|
||||
$ref: '#/components/schemas/ListEvalTasksResponse'
|
||||
tags:
|
||||
- EvalTasks
|
||||
description: ''
|
||||
parameters: []
|
||||
deprecated: true
|
||||
>>>>>>> 974941be (deprecation in OpenAPI spec)
|
||||
/v1/datasetio/rows:
|
||||
get:
|
||||
responses:
|
||||
|
@ -1610,52 +1598,7 @@ jsonSchemaDialect: >-
|
|||
https://json-schema.org/draft/2020-12/schema
|
||||
components:
|
||||
schemas:
|
||||
<<<<<<< HEAD
|
||||
AgentCandidate:
|
||||
=======
|
||||
EvalTask:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
const: eval_task
|
||||
default: eval_task
|
||||
dataset_id:
|
||||
type: string
|
||||
scoring_functions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
metadata:
|
||||
type: object
|
||||
additionalProperties:
|
||||
oneOf:
|
||||
- type: 'null'
|
||||
- type: boolean
|
||||
- type: number
|
||||
- type: string
|
||||
- type: array
|
||||
- type: object
|
||||
additionalProperties: false
|
||||
required:
|
||||
- type
|
||||
- dataset_id
|
||||
- scoring_functions
|
||||
- metadata
|
||||
ListEvalTasksResponse:
|
||||
type: object
|
||||
properties:
|
||||
sampling_params:
|
||||
$ref: '#/components/schemas/SamplingParams'
|
||||
input_shields:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/EvalTask'
|
||||
additionalProperties: false
|
||||
required:
|
||||
- data
|
||||
AppendRowsRequest:
|
||||
>>>>>>> 974941be (deprecation in OpenAPI spec)
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
|
@ -2922,47 +2865,34 @@ components:
|
|||
TextDelta:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type:
|
||||
type: string
|
||||
description:
|
||||
const: text
|
||||
default: text
|
||||
text:
|
||||
type: string
|
||||
parameters:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/ToolParameter'
|
||||
metadata:
|
||||
type: object
|
||||
additionalProperties:
|
||||
oneOf:
|
||||
- type: 'null'
|
||||
- type: boolean
|
||||
- type: number
|
||||
- type: string
|
||||
- type: array
|
||||
- type: object
|
||||
additionalProperties: false
|
||||
required:
|
||||
- name
|
||||
ToolParameter:
|
||||
- type
|
||||
- text
|
||||
ToolCallDelta:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type:
|
||||
type: string
|
||||
parameter_type:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
required:
|
||||
type: boolean
|
||||
default: true
|
||||
default:
|
||||
const: tool_call
|
||||
default: tool_call
|
||||
tool_call:
|
||||
oneOf:
|
||||
- type: 'null'
|
||||
- type: boolean
|
||||
- type: number
|
||||
- type: string
|
||||
- type: array
|
||||
- type: object
|
||||
- $ref: '#/components/schemas/ToolCall'
|
||||
parse_status:
|
||||
type: string
|
||||
enum:
|
||||
- started
|
||||
- in_progress
|
||||
- failed
|
||||
- succeeded
|
||||
additionalProperties: false
|
||||
required:
|
||||
- type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue