mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-04 18:13:44 +00:00
chore: support default model in moderations API
# What does this PR do? ## Test Plan
This commit is contained in:
parent
7b90e0e9c8
commit
3381874de9
23 changed files with 211 additions and 36 deletions
5
docs/static/deprecated-llama-stack-spec.html
vendored
5
docs/static/deprecated-llama-stack-spec.html
vendored
|
|
@ -8185,13 +8185,12 @@
|
|||
},
|
||||
"model": {
|
||||
"type": "string",
|
||||
"description": "The content moderation model you would like to use."
|
||||
"description": "(Optional) The content moderation model you would like to use."
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"input",
|
||||
"model"
|
||||
"input"
|
||||
],
|
||||
"title": "RunModerationRequest"
|
||||
},
|
||||
|
|
|
|||
3
docs/static/deprecated-llama-stack-spec.yaml
vendored
3
docs/static/deprecated-llama-stack-spec.yaml
vendored
|
|
@ -6104,11 +6104,10 @@ components:
|
|||
model:
|
||||
type: string
|
||||
description: >-
|
||||
The content moderation model you would like to use.
|
||||
(Optional) The content moderation model you would like to use.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- input
|
||||
- model
|
||||
title: RunModerationRequest
|
||||
ModerationObject:
|
||||
type: object
|
||||
|
|
|
|||
5
docs/static/llama-stack-spec.html
vendored
5
docs/static/llama-stack-spec.html
vendored
|
|
@ -6919,13 +6919,12 @@
|
|||
},
|
||||
"model": {
|
||||
"type": "string",
|
||||
"description": "The content moderation model you would like to use."
|
||||
"description": "(Optional) The content moderation model you would like to use."
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"input",
|
||||
"model"
|
||||
"input"
|
||||
],
|
||||
"title": "RunModerationRequest"
|
||||
},
|
||||
|
|
|
|||
3
docs/static/llama-stack-spec.yaml
vendored
3
docs/static/llama-stack-spec.yaml
vendored
|
|
@ -5230,11 +5230,10 @@ components:
|
|||
model:
|
||||
type: string
|
||||
description: >-
|
||||
The content moderation model you would like to use.
|
||||
(Optional) The content moderation model you would like to use.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- input
|
||||
- model
|
||||
title: RunModerationRequest
|
||||
ModerationObject:
|
||||
type: object
|
||||
|
|
|
|||
5
docs/static/stainless-llama-stack-spec.html
vendored
5
docs/static/stainless-llama-stack-spec.html
vendored
|
|
@ -8591,13 +8591,12 @@
|
|||
},
|
||||
"model": {
|
||||
"type": "string",
|
||||
"description": "The content moderation model you would like to use."
|
||||
"description": "(Optional) The content moderation model you would like to use."
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"input",
|
||||
"model"
|
||||
"input"
|
||||
],
|
||||
"title": "RunModerationRequest"
|
||||
},
|
||||
|
|
|
|||
3
docs/static/stainless-llama-stack-spec.yaml
vendored
3
docs/static/stainless-llama-stack-spec.yaml
vendored
|
|
@ -6443,11 +6443,10 @@ components:
|
|||
model:
|
||||
type: string
|
||||
description: >-
|
||||
The content moderation model you would like to use.
|
||||
(Optional) The content moderation model you would like to use.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- input
|
||||
- model
|
||||
title: RunModerationRequest
|
||||
ModerationObject:
|
||||
type: object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue