fix safety shield -> shield_type

This commit is contained in:
Xi Yan 2024-09-23 10:51:39 -07:00
parent 75357df02d
commit 98da002b4c
4 changed files with 43 additions and 44 deletions

View file

@ -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-09-23 10:24:44.422779"
"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-23 10:51:15.364842"
},
"servers": [
{
@ -5588,7 +5588,7 @@
"RunShieldRequest": {
"type": "object",
"properties": {
"shield": {
"shield_type": {
"type": "string"
},
"messages": {
@ -5638,7 +5638,7 @@
},
"additionalProperties": false,
"required": [
"shield",
"shield_type",
"messages",
"params"
]
@ -5969,48 +5969,48 @@
}
],
"tags": [
{
"name": "Inference"
},
{
"name": "Agents"
},
{
"name": "PostTraining"
},
{
"name": "SyntheticDataGeneration"
},
{
"name": "Models"
},
{
"name": "Memory"
},
{
"name": "Datasets"
},
{
"name": "BatchInference"
},
{
"name": "PostTraining"
},
{
"name": "Shields"
},
{
"name": "Inference"
},
{
"name": "RewardScoring"
},
{
"name": "Telemetry"
},
{
"name": "Agents"
},
{
"name": "MemoryBanks"
},
{
"name": "Safety"
},
{
"name": "Evaluations"
},
{
"name": "Shields"
},
{
"name": "Telemetry"
},
{
"name": "RewardScoring"
},
{
"name": "MemoryBanks"
},
{
"name": "Datasets"
},
{
"name": "Memory"
},
{
"name": "BuiltinTool",
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/BuiltinTool\" />"