regenerate OpenAPI, some small changes

This commit is contained in:
Ashwin Bharambe 2024-11-12 11:17:13 -08:00
parent 04d8660247
commit 78d633123a
2 changed files with 59 additions and 61 deletions

View file

@ -21,7 +21,7 @@
"info": { "info": {
"title": "[DRAFT] Llama Stack Specification", "title": "[DRAFT] Llama Stack Specification",
"version": "0.0.1", "version": "0.0.1",
"description": "This is the specification of the llama stack that provides\n a set of endpoints and their corresponding interfaces that are tailored to\n best leverage Llama Models. The specification is still in draft and subject to change.\n Generated at 2024-11-11 18:44:30.967321" "description": "This is the specification of the llama stack that provides\n a set of endpoints and their corresponding interfaces that are tailored to\n best leverage Llama Models. The specification is still in draft and subject to change.\n Generated at 2024-11-12 11:16:58.657871"
}, },
"servers": [ "servers": [
{ {
@ -5778,8 +5778,7 @@
"provider_resource_id", "provider_resource_id",
"provider_id", "provider_id",
"type", "type",
"shield_type", "shield_type"
"params"
], ],
"title": "A safety shield resource that can be used to check content" "title": "A safety shield resource that can be used to check content"
}, },
@ -7027,7 +7026,7 @@
"provider_id": { "provider_id": {
"type": "string" "type": "string"
}, },
"provider_memorybank_id": { "provider_memory_bank_id": {
"type": "string" "type": "string"
} }
}, },
@ -7854,59 +7853,59 @@
} }
], ],
"tags": [ "tags": [
{
"name": "Datasets"
},
{
"name": "Telemetry"
},
{
"name": "PostTraining"
},
{
"name": "MemoryBanks"
},
{
"name": "Eval"
},
{
"name": "Memory"
},
{
"name": "EvalTasks"
},
{
"name": "Models"
},
{
"name": "Scoring"
},
{ {
"name": "Inference" "name": "Inference"
}, },
{
"name": "Shields"
},
{
"name": "DatasetIO"
},
{
"name": "Safety"
},
{ {
"name": "Agents" "name": "Agents"
}, },
{ {
"name": "SyntheticDataGeneration" "name": "Telemetry"
},
{
"name": "Eval"
},
{
"name": "Models"
},
{
"name": "Inspect"
},
{
"name": "EvalTasks"
}, },
{ {
"name": "ScoringFunctions" "name": "ScoringFunctions"
}, },
{ {
"name": "BatchInference" "name": "Memory"
}, },
{ {
"name": "Inspect" "name": "Safety"
},
{
"name": "DatasetIO"
},
{
"name": "MemoryBanks"
},
{
"name": "Shields"
},
{
"name": "PostTraining"
},
{
"name": "Datasets"
},
{
"name": "Scoring"
},
{
"name": "SyntheticDataGeneration"
},
{
"name": "BatchInference"
}, },
{ {
"name": "BuiltinTool", "name": "BuiltinTool",

View file

@ -2068,7 +2068,7 @@ components:
- $ref: '#/components/schemas/GraphMemoryBankParams' - $ref: '#/components/schemas/GraphMemoryBankParams'
provider_id: provider_id:
type: string type: string
provider_memorybank_id: provider_memory_bank_id:
type: string type: string
required: required:
- memory_bank_id - memory_bank_id
@ -2710,7 +2710,6 @@ components:
- provider_id - provider_id
- type - type
- shield_type - shield_type
- params
title: A safety shield resource that can be used to check content title: A safety shield resource that can be used to check content
type: object type: object
ShieldCallStep: ShieldCallStep:
@ -3398,7 +3397,7 @@ info:
description: "This is the specification of the llama stack that provides\n \ description: "This is the specification of the llama stack that provides\n \
\ a set of endpoints and their corresponding interfaces that are tailored\ \ a set of endpoints and their corresponding interfaces that are tailored\
\ to\n best leverage Llama Models. The specification is still in\ \ to\n best leverage Llama Models. The specification is still in\
\ draft and subject to change.\n Generated at 2024-11-11 18:44:30.967321" \ draft and subject to change.\n Generated at 2024-11-12 11:16:58.657871"
title: '[DRAFT] Llama Stack Specification' title: '[DRAFT] Llama Stack Specification'
version: 0.0.1 version: 0.0.1
jsonSchemaDialect: https://json-schema.org/draft/2020-12/schema jsonSchemaDialect: https://json-schema.org/draft/2020-12/schema
@ -4762,24 +4761,24 @@ security:
servers: servers:
- url: http://any-hosted-llama-stack.com - url: http://any-hosted-llama-stack.com
tags: tags:
- name: Datasets
- name: Telemetry
- name: PostTraining
- name: MemoryBanks
- name: Eval
- name: Memory
- name: EvalTasks
- name: Models
- name: Scoring
- name: Inference - name: Inference
- name: Shields
- name: DatasetIO
- name: Safety
- name: Agents - name: Agents
- name: SyntheticDataGeneration - name: Telemetry
- name: ScoringFunctions - name: Eval
- name: BatchInference - name: Models
- name: Inspect - name: Inspect
- name: EvalTasks
- name: ScoringFunctions
- name: Memory
- name: Safety
- name: DatasetIO
- name: MemoryBanks
- name: Shields
- name: PostTraining
- name: Datasets
- name: Scoring
- name: SyntheticDataGeneration
- name: BatchInference
- description: <SchemaDefinition schemaRef="#/components/schemas/BuiltinTool" /> - description: <SchemaDefinition schemaRef="#/components/schemas/BuiltinTool" />
name: BuiltinTool name: BuiltinTool
- description: <SchemaDefinition schemaRef="#/components/schemas/CompletionMessage" - description: <SchemaDefinition schemaRef="#/components/schemas/CompletionMessage"