mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-22 16:23:08 +00:00
feat: Add responses and safety impl with extra body
This commit is contained in:
parent
548ccff368
commit
e09401805f
15 changed files with 877 additions and 9 deletions
36
docs/static/deprecated-llama-stack-spec.html
vendored
36
docs/static/deprecated-llama-stack-spec.html
vendored
|
@ -8821,6 +8821,25 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"OpenAIResponseContentPartRefusal": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"const": "refusal",
|
||||
"default": "refusal"
|
||||
},
|
||||
"refusal": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"type",
|
||||
"refusal"
|
||||
],
|
||||
"title": "OpenAIResponseContentPartRefusal"
|
||||
},
|
||||
"OpenAIResponseError": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -9395,6 +9414,23 @@
|
|||
}
|
||||
},
|
||||
"OpenAIResponseOutputMessageContent": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/OpenAIResponseOutputMessageContentOutputText"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/OpenAIResponseContentPartRefusal"
|
||||
}
|
||||
],
|
||||
"discriminator": {
|
||||
"propertyName": "type",
|
||||
"mapping": {
|
||||
"output_text": "#/components/schemas/OpenAIResponseOutputMessageContentOutputText",
|
||||
"refusal": "#/components/schemas/OpenAIResponseContentPartRefusal"
|
||||
}
|
||||
}
|
||||
},
|
||||
"OpenAIResponseOutputMessageContentOutputText": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"text": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue