update 2023-10-10 10:16:07

This commit is contained in:
Robot 2023-10-10 11:49:16 +02:00
parent a15c785c23
commit 803a189e54
Signed by untrusted user: Robot
GPG Key ID: 14DECD44E7E1BB95
7 changed files with 8 additions and 3 deletions

View File

@ -8,6 +8,7 @@
``` ```
# class Models (Details) # class Models (Details)
> namespace: **VDM\Joomla\Openai** > namespace: **VDM\Joomla\Openai**
> extends: **Api**
```uml ```uml
@startuml @startuml
class Models #Gold { class Models #Gold {

View File

@ -10,7 +10,7 @@
> namespace: **VDM\Joomla\Openai\Utilities** > namespace: **VDM\Joomla\Openai\Utilities**
```uml ```uml
@startuml @startuml
class Uri << (F,LightGreen) >> #Green { class Uri << (F,LightGreen) >> #RoyalBlue {
- string $version - string $version
- string $url - string $url
+ __construct(string $url = 'https://api.openai.com', string $version = 'v1') + __construct(string $url = 'https://api.openai.com', string $version = 'v1')

View File

@ -8,6 +8,7 @@
``` ```
# class Moderate (Details) # class Moderate (Details)
> namespace: **VDM\Joomla\Openai** > namespace: **VDM\Joomla\Openai**
> extends: **Api**
```uml ```uml
@startuml @startuml
class Moderate #Gold { class Moderate #Gold {

View File

@ -8,9 +8,10 @@
``` ```
# final class Http (Details) # final class Http (Details)
> namespace: **VDM\Joomla\Openai\Utilities** > namespace: **VDM\Joomla\Openai\Utilities**
> extends: **JoomlaHttp**
```uml ```uml
@startuml @startuml
class Http << (F,LightGreen) >> #Green { class Http << (F,LightGreen) >> #RoyalBlue {
# array $defaultHeaders # array $defaultHeaders
+ __construct(?string $token, ?string $orgToken = null) + __construct(?string $token, ?string $orgToken = null)
+ setTokens(?string $token = null, ?string $orgToken = null) + setTokens(?string $token = null, ?string $orgToken = null)

View File

@ -8,6 +8,7 @@
``` ```
# class Completions (Details) # class Completions (Details)
> namespace: **VDM\Joomla\Openai** > namespace: **VDM\Joomla\Openai**
> extends: **Api**
```uml ```uml
@startuml @startuml
class Completions #Gold { class Completions #Gold {

View File

@ -10,7 +10,7 @@
> namespace: **VDM\Joomla\Openai\Utilities** > namespace: **VDM\Joomla\Openai\Utilities**
```uml ```uml
@startuml @startuml
class Response << (F,LightGreen) >> #Green { class Response << (F,LightGreen) >> #RoyalBlue {
+ get(JoomlaResponse $response, int $expectedCode = 200, ...) : mixed + get(JoomlaResponse $response, int $expectedCode = 200, ...) : mixed
+ get_(JoomlaResponse $response, array $validate = [200 => null]) : mixed + get_(JoomlaResponse $response, array $validate = [200 => null]) : mixed
# body(JoomlaResponse $response, mixed $default = null) : mixed # body(JoomlaResponse $response, mixed $default = null) : mixed

View File

@ -8,6 +8,7 @@
``` ```
# class Chat (Details) # class Chat (Details)
> namespace: **VDM\Joomla\Openai** > namespace: **VDM\Joomla\Openai**
> extends: **Api**
```uml ```uml
@startuml @startuml
class Chat #Gold { class Chat #Gold {