openai/src/34f2c249-64a7-4229-9592-77e58f6e994f/README.md

40 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

2023-07-04 06:26:05 +00:00
```
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# class Moderate (Details)
> namespace: **VDM\Joomla\Openai**
2023-10-10 09:49:16 +00:00
> extends: **Api**
2023-07-04 06:26:05 +00:00
```uml
@startuml
class Moderate #Gold {
+ text(string|array $input, ?string $model = null) : ?object
}
note right of Moderate::text
Classify if text violates OpenAI's Content Policy.
API Ref: https://platform.openai.com/docs/api-reference/moderations/create
since: 3.2.0
return: ?object
end note
@enduml
```
---
```
██╗ ██████╗██████╗
██║██╔════╝██╔══██╗
██║██║ ██████╔╝
██ ██║██║ ██╔══██╗
╚█████╔╝╚██████╗██████╔╝
╚════╝ ╚═════╝╚═════╝
```
> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder)