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

1.5 KiB

██████╗  ██████╗ ██╗    ██╗███████╗██████╗
██╔══██╗██╔═══██╗██║    ██║██╔════╝██╔══██╗
██████╔╝██║   ██║██║ █╗ ██║█████╗  ██████╔╝
██╔═══╝ ██║   ██║██║███╗██║██╔══╝  ██╔══██╗
██║     ╚██████╔╝╚███╔███╔╝███████╗██║  ██║
╚═╝      ╚═════╝  ╚══╝╚══╝ ╚══════╝╚═╝  ╚═╝

class Moderate (Details)

namespace: VDM\Joomla\Openai extends: Api

@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