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: Robot
GPG Key ID: 14DECD44E7E1BB95
7 changed files with 8 additions and 3 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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