From 7ff5800dea3feb328df2b73e26e56087061f6848 Mon Sep 17 00:00:00 2001 From: Xi Yan Date: Thu, 10 Oct 2024 15:30:34 -0700 Subject: [PATCH] generate openapi --- docs/resources/llama-stack-spec.html | 66 ++++++++++++++-------------- docs/resources/llama-stack-spec.yaml | 26 +++++------ 2 files changed, 46 insertions(+), 46 deletions(-) diff --git a/docs/resources/llama-stack-spec.html b/docs/resources/llama-stack-spec.html index 96ef7e4bb..a2f92b6e4 100644 --- a/docs/resources/llama-stack-spec.html +++ b/docs/resources/llama-stack-spec.html @@ -21,7 +21,7 @@ "info": { "title": "[DRAFT] Llama Stack Specification", "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-10-09 21:10:09.073430" + "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-10-10 15:29:56.831109" }, "servers": [ { @@ -355,7 +355,7 @@ "200": { "description": "OK", "content": { - "application/json": { + "text/event-stream": { "schema": { "$ref": "#/components/schemas/AgentTurnResponseStreamChunk" } @@ -6074,36 +6074,6 @@ } ], "tags": [ - { - "name": "RewardScoring" - }, - { - "name": "Memory" - }, - { - "name": "SyntheticDataGeneration" - }, - { - "name": "Models" - }, - { - "name": "Safety" - }, - { - "name": "BatchInference" - }, - { - "name": "Agents" - }, - { - "name": "MemoryBanks" - }, - { - "name": "Shields" - }, - { - "name": "Datasets" - }, { "name": "Evaluations" }, @@ -6111,14 +6081,44 @@ "name": "Inspect" }, { - "name": "PostTraining" + "name": "RewardScoring" + }, + { + "name": "Datasets" + }, + { + "name": "Models" }, { "name": "Telemetry" }, + { + "name": "PostTraining" + }, + { + "name": "SyntheticDataGeneration" + }, + { + "name": "BatchInference" + }, { "name": "Inference" }, + { + "name": "Agents" + }, + { + "name": "Memory" + }, + { + "name": "Safety" + }, + { + "name": "Shields" + }, + { + "name": "MemoryBanks" + }, { "name": "BuiltinTool", "description": "" diff --git a/docs/resources/llama-stack-spec.yaml b/docs/resources/llama-stack-spec.yaml index 9307ee47b..c9822d6ca 100644 --- a/docs/resources/llama-stack-spec.yaml +++ b/docs/resources/llama-stack-spec.yaml @@ -2507,7 +2507,7 @@ info: 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-10-09 21:10:09.073430" + \ draft and subject to change.\n Generated at 2024-10-10 15:29:56.831109" title: '[DRAFT] Llama Stack Specification' version: 0.0.1 jsonSchemaDialect: https://json-schema.org/draft/2020-12/schema @@ -2693,7 +2693,7 @@ paths: responses: '200': content: - application/json: + text/event-stream: schema: $ref: '#/components/schemas/AgentTurnResponseStreamChunk' description: OK @@ -3712,21 +3712,21 @@ security: servers: - url: http://any-hosted-llama-stack.com tags: -- name: RewardScoring -- name: Memory -- name: SyntheticDataGeneration -- name: Models -- name: Safety -- name: BatchInference -- name: Agents -- name: MemoryBanks -- name: Shields -- name: Datasets - name: Evaluations - name: Inspect -- name: PostTraining +- name: RewardScoring +- name: Datasets +- name: Models - name: Telemetry +- name: PostTraining +- name: SyntheticDataGeneration +- name: BatchInference - name: Inference +- name: Agents +- name: Memory +- name: Safety +- name: Shields +- name: MemoryBanks - description: name: BuiltinTool - description: