moderations
Creates, updates, deletes, gets or lists a moderations
resource.
Overview
Name | moderations |
Type | Resource |
Id | openai.moderations.moderations |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
create_moderation | INSERT | data__input |
INSERT
example
Use the following StackQL query and manifest file to create a new moderations
resource.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO openai.moderations.moderations (
data__input,
data__model
)
SELECT
'{{ input }}',
'{{ model }}'
;
/*+ create */
INSERT INTO openai.moderations.moderations (
data__input
)
SELECT
'{{ input }}'
;
- name: moderations
props:
- name: data__input
value: string
- name: input
value: string
- name: model
value: string