mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-27 18:50:41 +00:00
regenerate openapi spec
This commit is contained in:
parent
9f1be108ce
commit
f3f5873e9e
3 changed files with 46 additions and 32 deletions
|
@ -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-09-17 12:55:45.538053"
|
"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-09-18 19:27:39.955190"
|
||||||
},
|
},
|
||||||
"servers": [
|
"servers": [
|
||||||
{
|
{
|
||||||
|
@ -2587,6 +2587,9 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"const": "brave_search"
|
"const": "brave_search"
|
||||||
},
|
},
|
||||||
|
"api_key": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"engine": {
|
"engine": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
|
@ -2601,6 +2604,7 @@
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [
|
"required": [
|
||||||
"type",
|
"type",
|
||||||
|
"api_key",
|
||||||
"engine"
|
"engine"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -2663,13 +2667,17 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"const": "wolfram_alpha"
|
"const": "wolfram_alpha"
|
||||||
},
|
},
|
||||||
|
"api_key": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"remote_execution": {
|
"remote_execution": {
|
||||||
"$ref": "#/components/schemas/RestAPIExecutionConfig"
|
"$ref": "#/components/schemas/RestAPIExecutionConfig"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [
|
"required": [
|
||||||
"type"
|
"type",
|
||||||
|
"api_key"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"CreateAgentRequest": {
|
"CreateAgentRequest": {
|
||||||
|
@ -5141,25 +5149,7 @@
|
||||||
],
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"name": "Agents"
|
"name": "BatchInference"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Safety"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "SyntheticDataGeneration"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Telemetry"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Datasets"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "RewardScoring"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Evaluations"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "PostTraining"
|
"name": "PostTraining"
|
||||||
|
@ -5168,11 +5158,29 @@
|
||||||
"name": "Inference"
|
"name": "Inference"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BatchInference"
|
"name": "Safety"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RewardScoring"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Telemetry"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Evaluations"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "SyntheticDataGeneration"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Memory"
|
"name": "Memory"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Agents"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Datasets"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "BuiltinTool",
|
"name": "BuiltinTool",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/BuiltinTool\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/BuiltinTool\" />"
|
||||||
|
|
|
@ -1651,6 +1651,8 @@ components:
|
||||||
SearchToolDefinition:
|
SearchToolDefinition:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
api_key:
|
||||||
|
type: string
|
||||||
engine:
|
engine:
|
||||||
enum:
|
enum:
|
||||||
- bing
|
- bing
|
||||||
|
@ -1671,6 +1673,7 @@ components:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- type
|
- type
|
||||||
|
- api_key
|
||||||
- engine
|
- engine
|
||||||
type: object
|
type: object
|
||||||
Session:
|
Session:
|
||||||
|
@ -2336,6 +2339,8 @@ components:
|
||||||
WolframAlphaToolDefinition:
|
WolframAlphaToolDefinition:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
api_key:
|
||||||
|
type: string
|
||||||
input_shields:
|
input_shields:
|
||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/ShieldDefinition'
|
$ref: '#/components/schemas/ShieldDefinition'
|
||||||
|
@ -2351,12 +2356,13 @@ components:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- type
|
- type
|
||||||
|
- api_key
|
||||||
type: object
|
type: object
|
||||||
info:
|
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-09-17 12:55:45.538053"
|
\ draft and subject to change.\n Generated at 2024-09-18 19:27:39.955190"
|
||||||
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
|
||||||
|
@ -3144,17 +3150,17 @@ security:
|
||||||
servers:
|
servers:
|
||||||
- url: http://any-hosted-llama-stack.com
|
- url: http://any-hosted-llama-stack.com
|
||||||
tags:
|
tags:
|
||||||
- name: Agents
|
- name: BatchInference
|
||||||
- name: Safety
|
|
||||||
- name: SyntheticDataGeneration
|
|
||||||
- name: Telemetry
|
|
||||||
- name: Datasets
|
|
||||||
- name: RewardScoring
|
|
||||||
- name: Evaluations
|
|
||||||
- name: PostTraining
|
- name: PostTraining
|
||||||
- name: Inference
|
- name: Inference
|
||||||
- name: BatchInference
|
- name: Safety
|
||||||
|
- name: RewardScoring
|
||||||
|
- name: Telemetry
|
||||||
|
- name: Evaluations
|
||||||
|
- name: SyntheticDataGeneration
|
||||||
- name: Memory
|
- name: Memory
|
||||||
|
- name: Agents
|
||||||
|
- name: Datasets
|
||||||
- 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"
|
||||||
|
|
|
@ -28,4 +28,4 @@ if [ ${#missing_packages[@]} -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PYTHONPATH=$PYTHONPATH:../.. python -m rfcs.openapi_generator.generate $*
|
PYTHONPATH=$PYTHONPATH:../.. python -m docs.openapi_generator.generate $*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue