openai/src/796cca70-2577-4f8f-9a05-ac3...
Robot 783139129f
update 2024-04-07 13:20:18
2024-04-07 13:20:32 +02:00
..
README.md update 2023-10-10 10:16:07 2023-10-10 11:49:16 +02:00
code.php update 2023-07-04 08:26:01 2023-07-04 08:26:05 +02:00
code.power update 2023-07-04 08:26:01 2023-07-04 08:26:05 +02:00
settings.json update 2024-04-07 13:20:18 2024-04-07 13:20:32 +02:00

README.md

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

class Completions (Details)

namespace: VDM\Joomla\Openai extends: Api

@startuml
class Completions  #Gold {
  + create(string $model, string|array $prompt, ...) : ?object
}

note right of Completions::create
  Create a completion using the OpenAI API.
API Ref: https://platform.openai.com/docs/api-reference/completions

  since: 3.2.0
  return: ?object
  
  arguments:
    string $model
    string|array $prompt
    ?int $maxTokens = null
    ?string $suffix = null
    ?float $temperature = null
    ?float $topP = null
    ?int $n = null
    ?bool $stream = null
    ?int $logprobs = null
    ?bool $echo = null
    string|null $stop = null
    ?float $presencePenalty = null
    ?float $frequencyPenalty = null
    ?int $bestOf = null
    ?array $logitBias = null
    ?string $user = null
end note
 
@enduml

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

Build with Joomla Component Builder