openai/src/d76b2e22-c8dd-44b1-86b5-822...
Robot 783139129f
update 2024-04-07 13:20:18
2024-04-07 13:20:32 +02:00
..
README.md update 2023-10-10 14:52:14 2023-10-10 14:52:38 +02:00
code.php first commit 2023-05-20 23:36:58 +02:00
code.power first commit 2023-05-20 23:36:58 +02:00
settings.json update 2024-04-07 13:20:18 2024-04-07 13:20:32 +02:00

README.md

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

class Audio (Details)

namespace: VDM\Joomla\Openai extends: Api

@startuml
class Audio  #Gold {
  + transcribe(string $file, ?string $prompt = null, ...) : ?object
  + translation(string $file, ?string $prompt = null, ...) : ?object
}

note right of Audio::transcribe
  Transcribes audio into the input language.
API Ref: https://platform.openai.com/docs/api-reference/audio/create

  since: 3.2.0
  return: ?object
  
  arguments:
    string $file
    ?string $prompt = null
    ?string $responseFormat = null
    ?float $temperature = null
    ?string $language = null
    string $model = 'whisper-1'
end note

note right of Audio::translation
  Translate an audio file into English.
API Ref: https://platform.openai.com/docs/api-reference/audio/create

  since: 3.2.0
  return: ?object
  
  arguments:
    string $file
    ?string $prompt = null
    ?string $responseFormat = null
    ?float $temperature = null
    string $model = 'whisper-1'
end note
 
@enduml

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

Build with Joomla Component Builder