-
-
Notifications
You must be signed in to change notification settings - Fork 9
OpenAI.Moderation.Create
Andrew Lambert edited this page Feb 1, 2023
·
1 revision
OpenAI.Moderation.Create
Shared Function Create(Request As OpenAI.Request) As OpenAI.Moderation
Shared Function Create(Prompt As String, Model As OpenAI.Model = Nil) As OpenAI.Moderation| Name | Type | Comment |
|---|---|---|
| Request | Request | An OpenAI request object. |
| Name | Type | Comment |
|---|---|---|
| Prompt | String | A prompt for the AI. |
| Model | Model | Optional. An AI model to use for the request. If not specified then text-moderation-stable is used. |
Returns a new instance of OpenAI.Moderation containing the response to the query.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2023-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.