From 803a189e54fa59ca91c542fb196398ac9e8d90ce Mon Sep 17 00:00:00 2001 From: aB0t Date: Tue, 10 Oct 2023 11:49:16 +0200 Subject: [PATCH] update 2023-10-10 10:16:07 --- src/08abd2df-1406-4939-a1a6-94d2fce3f043/README.md | 1 + src/13ef84f4-25b0-43dd-a9f6-0722abf220c1/README.md | 2 +- src/34f2c249-64a7-4229-9592-77e58f6e994f/README.md | 1 + src/4c58b254-aea5-40aa-b54d-9586a1690451/README.md | 3 ++- src/796cca70-2577-4f8f-9a05-ac37db1f2f02/README.md | 1 + src/c464393e-7606-406e-8463-a86774590966/README.md | 2 +- src/c54c92da-2dd7-4136-81c9-1785f2fa0af5/README.md | 1 + 7 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/08abd2df-1406-4939-a1a6-94d2fce3f043/README.md b/src/08abd2df-1406-4939-a1a6-94d2fce3f043/README.md index 3fdadcf..a89c99d 100644 --- a/src/08abd2df-1406-4939-a1a6-94d2fce3f043/README.md +++ b/src/08abd2df-1406-4939-a1a6-94d2fce3f043/README.md @@ -8,6 +8,7 @@ ``` # class Models (Details) > namespace: **VDM\Joomla\Openai** +> extends: **Api** ```uml @startuml class Models #Gold { diff --git a/src/13ef84f4-25b0-43dd-a9f6-0722abf220c1/README.md b/src/13ef84f4-25b0-43dd-a9f6-0722abf220c1/README.md index 54950a5..597cd11 100644 --- a/src/13ef84f4-25b0-43dd-a9f6-0722abf220c1/README.md +++ b/src/13ef84f4-25b0-43dd-a9f6-0722abf220c1/README.md @@ -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') diff --git a/src/34f2c249-64a7-4229-9592-77e58f6e994f/README.md b/src/34f2c249-64a7-4229-9592-77e58f6e994f/README.md index ee7991e..60eb0cb 100644 --- a/src/34f2c249-64a7-4229-9592-77e58f6e994f/README.md +++ b/src/34f2c249-64a7-4229-9592-77e58f6e994f/README.md @@ -8,6 +8,7 @@ ``` # class Moderate (Details) > namespace: **VDM\Joomla\Openai** +> extends: **Api** ```uml @startuml class Moderate #Gold { diff --git a/src/4c58b254-aea5-40aa-b54d-9586a1690451/README.md b/src/4c58b254-aea5-40aa-b54d-9586a1690451/README.md index d9a4674..9b99ff9 100644 --- a/src/4c58b254-aea5-40aa-b54d-9586a1690451/README.md +++ b/src/4c58b254-aea5-40aa-b54d-9586a1690451/README.md @@ -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) diff --git a/src/796cca70-2577-4f8f-9a05-ac37db1f2f02/README.md b/src/796cca70-2577-4f8f-9a05-ac37db1f2f02/README.md index e6445db..668853c 100644 --- a/src/796cca70-2577-4f8f-9a05-ac37db1f2f02/README.md +++ b/src/796cca70-2577-4f8f-9a05-ac37db1f2f02/README.md @@ -8,6 +8,7 @@ ``` # class Completions (Details) > namespace: **VDM\Joomla\Openai** +> extends: **Api** ```uml @startuml class Completions #Gold { diff --git a/src/c464393e-7606-406e-8463-a86774590966/README.md b/src/c464393e-7606-406e-8463-a86774590966/README.md index 26fac87..72eeb43 100644 --- a/src/c464393e-7606-406e-8463-a86774590966/README.md +++ b/src/c464393e-7606-406e-8463-a86774590966/README.md @@ -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 diff --git a/src/c54c92da-2dd7-4136-81c9-1785f2fa0af5/README.md b/src/c54c92da-2dd7-4136-81c9-1785f2fa0af5/README.md index 09d7df8..90f335f 100644 --- a/src/c54c92da-2dd7-4136-81c9-1785f2fa0af5/README.md +++ b/src/c54c92da-2dd7-4136-81c9-1785f2fa0af5/README.md @@ -8,6 +8,7 @@ ``` # class Chat (Details) > namespace: **VDM\Joomla\Openai** +> extends: **Api** ```uml @startuml class Chat #Gold {