Update 2024-06-25 3:06:22

This commit is contained in:
Robot 2024-06-25 15:06:46 +02:00
parent fc0878cb55
commit dc4494ab01
Signed by untrusted user: Robot
GPG Key ID: 14DECD44E7E1BB95
54 changed files with 120 additions and 187 deletions

View File

@ -23,7 +23,7 @@ This repository contains an index (see below) of all the approved powers within
# Index of powers
- **Namespace**: [VastDevelopmentMethod\Joomla\Openai](#vastdevelopmentmethod-joomla-openai)
- **Namespace**: [VDM\Joomla\Openai](#vdm-joomla-openai)
- **abstract class Factory** | [Details](src/d78bee89-6f7e-42b6-917e-17f05b238490) | [Code](src/d78bee89-6f7e-42b6-917e-17f05b238490/code.php) | [Settings](src/d78bee89-6f7e-42b6-917e-17f05b238490/settings.json) | Super__d78bee89_6f7e_42b6_917e_17f05b238490__Power
- **class Audio** | [Details](src/d76b2e22-c8dd-44b1-86b5-822768b317a3) | [Code](src/d76b2e22-c8dd-44b1-86b5-822768b317a3/code.php) | [Settings](src/d76b2e22-c8dd-44b1-86b5-822768b317a3/settings.json) | Super__d76b2e22_c8dd_44b1_86b5_822768b317a3__Power
@ -36,14 +36,14 @@ This repository contains an index (see below) of all the approved powers within
- **class Images** | [Details](src/bb8973c1-261f-4b55-8f9b-9ee98843fced) | [Code](src/bb8973c1-261f-4b55-8f9b-9ee98843fced/code.php) | [Settings](src/bb8973c1-261f-4b55-8f9b-9ee98843fced/settings.json) | Super__bb8973c1_261f_4b55_8f9b_9ee98843fced__Power
- **class Models** | [Details](src/08abd2df-1406-4939-a1a6-94d2fce3f043) | [Code](src/08abd2df-1406-4939-a1a6-94d2fce3f043/code.php) | [Settings](src/08abd2df-1406-4939-a1a6-94d2fce3f043/settings.json) | Super__08abd2df_1406_4939_a1a6_94d2fce3f043__Power
- **class Moderate** | [Details](src/34f2c249-64a7-4229-9592-77e58f6e994f) | [Code](src/34f2c249-64a7-4229-9592-77e58f6e994f/code.php) | [Settings](src/34f2c249-64a7-4229-9592-77e58f6e994f/settings.json) | Super__34f2c249_64a7_4229_9592_77e58f6e994f__Power
- **Namespace**: [VastDevelopmentMethod\Joomla\Openai\Abstraction](#vastdevelopmentmethod-joomla-openai-abstraction)
- **Namespace**: [VDM\Joomla\Openai\Abstraction](#vdm-joomla-openai-abstraction)
- **abstract class Api** | [Details](src/585de711-2784-4f89-90bf-94a8a63366f1) | [Code](src/585de711-2784-4f89-90bf-94a8a63366f1/code.php) | [Settings](src/585de711-2784-4f89-90bf-94a8a63366f1/settings.json) | Super__585de711_2784_4f89_90bf_94a8a63366f1__Power
- **Namespace**: [VastDevelopmentMethod\Joomla\Openai\Service](#vastdevelopmentmethod-joomla-openai-service)
- **Namespace**: [VDM\Joomla\Openai\Service](#vdm-joomla-openai-service)
- **class Api** | [Details](src/ccf3141a-929d-4466-b122-9ace2eea8d70) | [Code](src/ccf3141a-929d-4466-b122-9ace2eea8d70/code.php) | [Settings](src/ccf3141a-929d-4466-b122-9ace2eea8d70/settings.json) | Super__ccf3141a_929d_4466_b122_9ace2eea8d70__Power
- **class Utilities** | [Details](src/07858e1f-5698-4227-8941-03dc93557938) | [Code](src/07858e1f-5698-4227-8941-03dc93557938/code.php) | [Settings](src/07858e1f-5698-4227-8941-03dc93557938/settings.json) | Super__07858e1f_5698_4227_8941_03dc93557938__Power
- **Namespace**: [VastDevelopmentMethod\Joomla\Openai\Utilities](#vastdevelopmentmethod-joomla-openai-utilities)
- **Namespace**: [VDM\Joomla\Openai\Utilities](#vdm-joomla-openai-utilities)
- **final class Http** | [Details](src/4c58b254-aea5-40aa-b54d-9586a1690451) | [Code](src/4c58b254-aea5-40aa-b54d-9586a1690451/code.php) | [Settings](src/4c58b254-aea5-40aa-b54d-9586a1690451/settings.json) | Super__4c58b254_aea5_40aa_b54d_9586a1690451__Power
- **final class Response** | [Details](src/c464393e-7606-406e-8463-a86774590966) | [Code](src/c464393e-7606-406e-8463-a86774590966/code.php) | [Settings](src/c464393e-7606-406e-8463-a86774590966/settings.json) | Super__c464393e_7606_406e_8463_a86774590966__Power

View File

@ -7,7 +7,8 @@
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# class Utilities (Details)
> namespace: **VastDevelopmentMethod\Joomla\Openai\Service**
> namespace: **VDM\Joomla\Openai\Service**
> extends: ****
```uml
@startuml
class Utilities #Gold {

View File

@ -9,15 +9,15 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VastDevelopmentMethod\Joomla\Openai\Service;
namespace VDM\Joomla\Openai\Service;
use Joomla\DI\Container;
use Joomla\DI\ServiceProviderInterface;
use VastDevelopmentMethod\Joomla\Openai\Utilities\Uri;
use VastDevelopmentMethod\Joomla\Openai\Utilities\Response;
use VastDevelopmentMethod\Joomla\Openai\Utilities\Http;
use VastDevelopmentMethod\Joomla\Utilities\Component\Helper;
use VDM\Joomla\Openai\Utilities\Uri;
use VDM\Joomla\Openai\Utilities\Response;
use VDM\Joomla\Openai\Utilities\Http;
use VDM\Joomla\Utilities\Component\Helper;
/**

View File

@ -1,7 +1,7 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends": "",
"guid": "07858e1f-5698-4227-8941-03dc93557938",
"implements": [
"-1"
@ -29,6 +29,7 @@
"as": "default"
}
},
"extendsinterfaces": null,
"namespace": "[[[NamespacePrefix]]]\\Joomla\\Openai\\Service.Utilities",
"description": "The Openai Utilities Service\r\n\r\n@since 3.2.0",
"implements_custom": "ServiceProviderInterface",

View File

@ -7,7 +7,7 @@
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# class Models (Details)
> namespace: **VastDevelopmentMethod\Joomla\Openai**
> namespace: **VDM\Joomla\Openai**
> extends: **Api**
```uml
@startuml

View File

@ -9,10 +9,10 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VastDevelopmentMethod\Joomla\Openai;
namespace VDM\Joomla\Openai;
use VastDevelopmentMethod\Joomla\Openai\Abstraction\Api;
use VDM\Joomla\Openai\Abstraction\Api;
/**

View File

@ -10,6 +10,7 @@
"system_name": "Joomla.Openai.Models",
"type": "class",
"use_selection": null,
"extendsinterfaces": null,
"namespace": "[[[NamespacePrefix]]]\\Joomla\\Openai\\Models",
"description": "The Openai Models\r\n\r\n@since 3.2.0",
"licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/joomla\/Component-Builder>\r\n * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n *\/\r\n",

View File

@ -7,7 +7,7 @@
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# class FineTunes (Details)
> namespace: **VastDevelopmentMethod\Joomla\Openai**
> namespace: **VDM\Joomla\Openai**
> extends: **Api**
```uml
@startuml

View File

@ -9,10 +9,10 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VastDevelopmentMethod\Joomla\Openai;
namespace VDM\Joomla\Openai;
use VastDevelopmentMethod\Joomla\Openai\Abstraction\Api;
use VDM\Joomla\Openai\Abstraction\Api;
/**

View File

@ -10,6 +10,7 @@
"system_name": "Joomla.Openai.FineTunes",
"type": "class",
"use_selection": null,
"extendsinterfaces": null,
"namespace": "[[[NamespacePrefix]]]\\Joomla\\Openai\\FineTunes",
"description": "The Openai Fine Tunes\r\n\r\n@since 3.2.0",
"licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/joomla\/Component-Builder>\r\n * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n *\/\r\n",

View File

@ -7,7 +7,8 @@
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# final class Uri (Details)
> namespace: **VastDevelopmentMethod\Joomla\Openai\Utilities**
> namespace: **VDM\Joomla\Openai\Utilities**
> extends: ****
```uml
@startuml
class Uri << (F,LightGreen) >> #RoyalBlue {

View File

@ -9,7 +9,7 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VastDevelopmentMethod\Joomla\Openai\Utilities;
namespace VDM\Joomla\Openai\Utilities;
use Joomla\Uri\Uri as JoomlaUri;

View File

@ -1,7 +1,7 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends": "",
"guid": "13ef84f4-25b0-43dd-a9f6-0722abf220c1",
"implements": null,
"load_selection": null,
@ -10,6 +10,7 @@
"system_name": "Joomla.Openai.Utilities.Uri",
"type": "final class",
"use_selection": null,
"extendsinterfaces": null,
"namespace": "[[[NamespacePrefix]]]\\Joomla\\Openai\\Utilities.Uri",
"description": "The Openai Uri\r\n\r\n@since 3.2.0",
"licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/joomla\/Component-Builder>\r\n * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n *\/\r\n",

View File

@ -7,7 +7,7 @@
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# class Moderate (Details)
> namespace: **VastDevelopmentMethod\Joomla\Openai**
> namespace: **VDM\Joomla\Openai**
> extends: **Api**
```uml
@startuml

View File

@ -9,10 +9,10 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VastDevelopmentMethod\Joomla\Openai;
namespace VDM\Joomla\Openai;
use VastDevelopmentMethod\Joomla\Openai\Abstraction\Api;
use VDM\Joomla\Openai\Abstraction\Api;
/**

View File

@ -10,6 +10,7 @@
"system_name": "Joomla.Openai.Moderate",
"type": "class",
"use_selection": null,
"extendsinterfaces": null,
"namespace": "[[[NamespacePrefix]]]\\Joomla\\Openai\\Moderate",
"description": "The Openai Moderate\r\n\r\n@since 3.2.0",
"licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/joomla\/Component-Builder>\r\n * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n *\/\r\n",

View File

@ -7,7 +7,7 @@
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# final class Http (Details)
> namespace: **VastDevelopmentMethod\Joomla\Openai\Utilities**
> namespace: **VDM\Joomla\Openai\Utilities**
> extends: **JoomlaHttp**
```uml
@startuml

View File

@ -9,7 +9,7 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VastDevelopmentMethod\Joomla\Openai\Utilities;
namespace VDM\Joomla\Openai\Utilities;
use Joomla\CMS\Http\Http as JoomlaHttp;

View File

@ -10,6 +10,7 @@
"system_name": "Joomla.Openai.Utilities.Http",
"type": "final class",
"use_selection": null,
"extendsinterfaces": null,
"namespace": "[[[NamespacePrefix]]]\\Joomla\\Openai\\Utilities.Http",
"description": "The Openai Http\r\n\r\n@since 3.2.0",
"extends_custom": "JoomlaHttp",

View File

@ -7,7 +7,8 @@
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# abstract class Api (Details)
> namespace: **VastDevelopmentMethod\Joomla\Openai\Abstraction**
> namespace: **VDM\Joomla\Openai\Abstraction**
> extends: ****
```uml
@startuml
abstract Api #Orange {

View File

@ -9,12 +9,12 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VastDevelopmentMethod\Joomla\Openai\Abstraction;
namespace VDM\Joomla\Openai\Abstraction;
use VastDevelopmentMethod\Joomla\Openai\Utilities\Http;
use VastDevelopmentMethod\Joomla\Openai\Utilities\Uri;
use VastDevelopmentMethod\Joomla\Openai\Utilities\Response;
use VDM\Joomla\Openai\Utilities\Http;
use VDM\Joomla\Openai\Utilities\Uri;
use VDM\Joomla\Openai\Utilities\Response;
/**

View File

@ -1,7 +1,7 @@
{
"add_head": "0",
"add_licensing_template": "2",
"extends": "0",
"extends": "",
"guid": "585de711-2784-4f89-90bf-94a8a63366f1",
"implements": null,
"load_selection": null,
@ -23,6 +23,7 @@
"as": "default"
}
},
"extendsinterfaces": null,
"namespace": "[[[NamespacePrefix]]]\\Joomla\\Openai\\Abstraction.Api",
"description": "The Openai Api\r\n\r\n@since 3.2.0",
"licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/joomla\/Component-Builder>\r\n * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n *\/\r\n",

View File

@ -7,7 +7,7 @@
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# class Files (Details)
> namespace: **VastDevelopmentMethod\Joomla\Openai**
> namespace: **VDM\Joomla\Openai**
> extends: **Api**
```uml
@startuml

View File

@ -9,10 +9,10 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VastDevelopmentMethod\Joomla\Openai;
namespace VDM\Joomla\Openai;
use VastDevelopmentMethod\Joomla\Openai\Abstraction\Api;
use VDM\Joomla\Openai\Abstraction\Api;
/**

View File

@ -10,6 +10,7 @@
"system_name": "Joomla.Openai.Files",
"type": "class",
"use_selection": null,
"extendsinterfaces": null,
"namespace": "[[[NamespacePrefix]]]\\Joomla\\Openai\\Files",
"description": "The Openai Files\r\n\r\n@since 3.2.0",
"licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/joomla\/Component-Builder>\r\n * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n *\/\r\n",

View File

@ -7,7 +7,7 @@
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# class Completions (Details)
> namespace: **VastDevelopmentMethod\Joomla\Openai**
> namespace: **VDM\Joomla\Openai**
> extends: **Api**
```uml
@startuml

View File

@ -9,10 +9,10 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VastDevelopmentMethod\Joomla\Openai;
namespace VDM\Joomla\Openai;
use VastDevelopmentMethod\Joomla\Openai\Abstraction\Api;
use VDM\Joomla\Openai\Abstraction\Api;
/**

View File

@ -10,6 +10,7 @@
"system_name": "Joomla.Openai.Completions",
"type": "class",
"use_selection": null,
"extendsinterfaces": null,
"namespace": "[[[NamespacePrefix]]]\\Joomla\\Openai\\Completions",
"description": "The Openai Completions\r\n\r\n@since 3.2.0",
"licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/joomla\/Component-Builder>\r\n * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n *\/\r\n",

View File

@ -7,7 +7,7 @@
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# class Edits (Details)
> namespace: **VastDevelopmentMethod\Joomla\Openai**
> namespace: **VDM\Joomla\Openai**
> extends: **Api**
```uml
@startuml

View File

@ -9,10 +9,10 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VastDevelopmentMethod\Joomla\Openai;
namespace VDM\Joomla\Openai;
use VastDevelopmentMethod\Joomla\Openai\Abstraction\Api;
use VDM\Joomla\Openai\Abstraction\Api;
/**

View File

@ -10,6 +10,7 @@
"system_name": "Joomla.Openai.Edits",
"type": "class",
"use_selection": null,
"extendsinterfaces": null,
"namespace": "[[[NamespacePrefix]]]\\Joomla\\Openai\\Edits",
"description": "The Openai Edits\r\n\r\n@since 3.2.0",
"licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/joomla\/Component-Builder>\r\n * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n *\/\r\n",

View File

@ -7,7 +7,7 @@
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# class Images (Details)
> namespace: **VastDevelopmentMethod\Joomla\Openai**
> namespace: **VDM\Joomla\Openai**
> extends: **Api**
```uml
@startuml

View File

@ -9,10 +9,10 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VastDevelopmentMethod\Joomla\Openai;
namespace VDM\Joomla\Openai;
use VastDevelopmentMethod\Joomla\Openai\Abstraction\Api;
use VDM\Joomla\Openai\Abstraction\Api;
/**

View File

@ -10,6 +10,7 @@
"system_name": "Joomla.Openai.Images",
"type": "class",
"use_selection": null,
"extendsinterfaces": null,
"namespace": "[[[NamespacePrefix]]]\\Joomla\\Openai\\Images",
"description": "The Openai Images\r\n\r\n@since 3.2.0",
"licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/joomla\/Component-Builder>\r\n * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n *\/\r\n",

View File

@ -7,7 +7,8 @@
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# final class Response (Details)
> namespace: **VastDevelopmentMethod\Joomla\Openai\Utilities**
> namespace: **VDM\Joomla\Openai\Utilities**
> extends: ****
```uml
@startuml
class Response << (F,LightGreen) >> #RoyalBlue {

View File

@ -9,12 +9,12 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VastDevelopmentMethod\Joomla\Openai\Utilities;
namespace VDM\Joomla\Openai\Utilities;
use Joomla\Http\Response as JoomlaResponse;
use VastDevelopmentMethod\Joomla\Utilities\JsonHelper;
use VastDevelopmentMethod\Joomla\Utilities\StringHelper;
use Joomla\CMS\Http\Response as JoomlaResponse;
use VDM\Joomla\Utilities\JsonHelper;
use VDM\Joomla\Utilities\StringHelper;
/**

View File

@ -1,7 +1,7 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends": "",
"guid": "c464393e-7606-406e-8463-a86774590966",
"implements": null,
"load_selection": null,
@ -19,9 +19,10 @@
"as": "default"
}
},
"extendsinterfaces": null,
"namespace": "[[[NamespacePrefix]]]\\Joomla\\Openai\\Utilities.Response",
"description": "The Openai Response\r\n\r\n@since 3.2.0",
"licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/joomla\/Component-Builder>\r\n * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n *\/\r\n",
"head": "use Joomla\\Http\\Response as JoomlaResponse;",
"head": "use Joomla\\CMS\\Http\\Response as JoomlaResponse;",
"composer": ""
}

View File

@ -7,7 +7,7 @@
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# class Chat (Details)
> namespace: **VastDevelopmentMethod\Joomla\Openai**
> namespace: **VDM\Joomla\Openai**
> extends: **Api**
```uml
@startuml

View File

@ -9,10 +9,10 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VastDevelopmentMethod\Joomla\Openai;
namespace VDM\Joomla\Openai;
use VastDevelopmentMethod\Joomla\Openai\Abstraction\Api;
use VDM\Joomla\Openai\Abstraction\Api;
/**

View File

@ -10,6 +10,7 @@
"system_name": "Joomla.Openai.Chat",
"type": "class",
"use_selection": null,
"extendsinterfaces": null,
"namespace": "[[[NamespacePrefix]]]\\Joomla\\Openai\\Chat",
"description": "The Openai Chat\r\n\r\n@since 3.2.0",
"licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/joomla\/Component-Builder>\r\n * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n *\/\r\n",

View File

@ -7,7 +7,8 @@
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# class Api (Details)
> namespace: **VastDevelopmentMethod\Joomla\Openai\Service**
> namespace: **VDM\Joomla\Openai\Service**
> extends: ****
```uml
@startuml
class Api #Gold {

View File

@ -9,21 +9,21 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VastDevelopmentMethod\Joomla\Openai\Service;
namespace VDM\Joomla\Openai\Service;
use Joomla\DI\Container;
use Joomla\DI\ServiceProviderInterface;
use VastDevelopmentMethod\Joomla\Openai\Audio;
use VastDevelopmentMethod\Joomla\Openai\Chat;
use VastDevelopmentMethod\Joomla\Openai\Completions;
use VastDevelopmentMethod\Joomla\Openai\Edits;
use VastDevelopmentMethod\Joomla\Openai\Embeddings;
use VastDevelopmentMethod\Joomla\Openai\Files;
use VastDevelopmentMethod\Joomla\Openai\FineTunes;
use VastDevelopmentMethod\Joomla\Openai\Images;
use VastDevelopmentMethod\Joomla\Openai\Models;
use VastDevelopmentMethod\Joomla\Openai\Moderate;
use VDM\Joomla\Openai\Audio;
use VDM\Joomla\Openai\Chat;
use VDM\Joomla\Openai\Completions;
use VDM\Joomla\Openai\Edits;
use VDM\Joomla\Openai\Embeddings;
use VDM\Joomla\Openai\Files;
use VDM\Joomla\Openai\FineTunes;
use VDM\Joomla\Openai\Images;
use VDM\Joomla\Openai\Models;
use VDM\Joomla\Openai\Moderate;
/**

View File

@ -1,7 +1,7 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends": "",
"guid": "ccf3141a-929d-4466-b122-9ace2eea8d70",
"implements": [
"-1"
@ -53,6 +53,7 @@
"as": "default"
}
},
"extendsinterfaces": null,
"namespace": "[[[NamespacePrefix]]]\\Joomla\\Openai\\Service.Api",
"description": "The Openai Api Service\r\n\r\n@since 3.2.0",
"implements_custom": "ServiceProviderInterface",

View File

@ -7,7 +7,7 @@
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# class Audio (Details)
> namespace: **VastDevelopmentMethod\Joomla\Openai**
> namespace: **VDM\Joomla\Openai**
> extends: **Api**
```uml
@startuml

View File

@ -9,10 +9,10 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VastDevelopmentMethod\Joomla\Openai;
namespace VDM\Joomla\Openai;
use VastDevelopmentMethod\Joomla\Openai\Abstraction\Api;
use VDM\Joomla\Openai\Abstraction\Api;
/**

View File

@ -10,6 +10,7 @@
"system_name": "Joomla.Openai.Audio",
"type": "class",
"use_selection": null,
"extendsinterfaces": null,
"namespace": "[[[NamespacePrefix]]]\\Joomla\\Openai\\Audio",
"description": "The Openai Audio\r\n\r\n@since 3.2.0",
"licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/joomla\/Component-Builder>\r\n * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n *\/\r\n",

View File

@ -7,30 +7,14 @@
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# abstract class Factory (Details)
> namespace: **VastDevelopmentMethod\Joomla\Openai**
> namespace: **VDM\Joomla\Openai**
> extends: **ExtendingFactory**
```uml
@startuml
abstract Factory #Orange {
# static $container
+ {static} _(string $key) : Mixed
+ {static} getContainer() : Container
# {static} createContainer() : Container
}
note right of Factory::_
Get any class from the package container
since: 3.2.0
return: Mixed
end note
note right of Factory::getContainer
Get the global package container
since: 3.2.0
return: Container
end note
note right of Factory::createContainer
Create a container object

View File

@ -9,13 +9,14 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VastDevelopmentMethod\Joomla\Openai;
namespace VDM\Joomla\Openai;
use Joomla\DI\Container;
use VastDevelopmentMethod\Joomla\Openai\Service\Api;
use VastDevelopmentMethod\Joomla\Openai\Service\Utilities;
use VastDevelopmentMethod\Joomla\Interfaces\FactoryInterface;
use VDM\Joomla\Openai\Service\Api;
use VDM\Joomla\Openai\Service\Utilities;
use VDM\Joomla\Interfaces\FactoryInterface;
use VDM\Joomla\Abstraction\Factory as ExtendingFactory;
/**
@ -23,45 +24,8 @@ use VastDevelopmentMethod\Joomla\Interfaces\FactoryInterface;
*
* @since 3.2.0
*/
abstract class Factory implements FactoryInterface
abstract class Factory extends ExtendingFactory implements FactoryInterface
{
/**
* Global Package Container
*
* @var Container
* @since 3.2.0
**/
protected static $container = null;
/**
* Get any class from the package container
*
* @param string $key The container class key
*
* @return Mixed
* @since 3.2.0
*/
public static function _($key)
{
return self::getContainer()->get($key);
}
/**
* Get the global package container
*
* @return Container
* @since 3.2.0
*/
public static function getContainer(): Container
{
if (!self::$container)
{
self::$container = self::createContainer();
}
return self::$container;
}
/**
* Create a container object
*

View File

@ -1,40 +1,3 @@
/**
* Global Package Container
*
* @var Container
* @since 3.2.0
**/
protected static $container = null;
/**
* Get any class from the package container
*
* @param string $key The container class key
*
* @return Mixed
* @since 3.2.0
*/
public static function _($key)
{
return self::getContainer()->get($key);
}
/**
* Get the global package container
*
* @return Container
* @since 3.2.0
*/
public static function getContainer(): Container
{
if (!self::$container)
{
self::$container = self::createContainer();
}
return self::$container;
}
/**
* Create a container object
*

View File

@ -1,7 +1,7 @@
{
"add_head": "1",
"add_licensing_template": "2",
"extends": "0",
"extends": "2e5bf608-de5c-4b00-a20d-47c26aa350d9",
"guid": "d78bee89-6f7e-42b6-917e-17f05b238490",
"implements": [
"caf33c5d-858c-4f9a-894f-ab302ec5445a"
@ -21,6 +21,7 @@
"as": "default"
}
},
"extendsinterfaces": null,
"namespace": "[[[NamespacePrefix]]]\\Joomla\\Openai\\Factory",
"description": "Openai Factory\r\n\r\n@since 3.2.0",
"licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/joomla\/Component-Builder>\r\n * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n *\/\r\n",

View File

@ -7,7 +7,7 @@
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# class Embeddings (Details)
> namespace: **VastDevelopmentMethod\Joomla\Openai**
> namespace: **VDM\Joomla\Openai**
> extends: **Api**
```uml
@startuml

View File

@ -9,10 +9,10 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VastDevelopmentMethod\Joomla\Openai;
namespace VDM\Joomla\Openai;
use VastDevelopmentMethod\Joomla\Openai\Abstraction\Api;
use VDM\Joomla\Openai\Abstraction\Api;
/**

View File

@ -10,6 +10,7 @@
"system_name": "Joomla.Openai.Embeddings",
"type": "class",
"use_selection": null,
"extendsinterfaces": null,
"namespace": "[[[NamespacePrefix]]]\\Joomla\\Openai\\Embeddings",
"description": "The Openai Embeddings\r\n\r\n@since 3.2.0",
"licensing_template": "\/**\r\n * @package Joomla.Component.Builder\r\n *\r\n * @created 4th September, 2022\r\n * @author Llewellyn van der Merwe <https:\/\/dev.vdm.io>\r\n * @git Joomla Component Builder <https:\/\/git.vdm.dev\/joomla\/Component-Builder>\r\n * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n *\/\r\n",

View File

@ -2,7 +2,7 @@
"07858e1f-5698-4227-8941-03dc93557938": {
"name": "Utilities",
"type": "class",
"namespace": "VastDevelopmentMethod\\Joomla\\Openai\\Service",
"namespace": "VDM\\Joomla\\Openai\\Service",
"code": "src\/07858e1f-5698-4227-8941-03dc93557938\/code.php",
"power": "src\/07858e1f-5698-4227-8941-03dc93557938\/code.power",
"settings": "src\/07858e1f-5698-4227-8941-03dc93557938\/settings.json",
@ -13,7 +13,7 @@
"08abd2df-1406-4939-a1a6-94d2fce3f043": {
"name": "Models",
"type": "class",
"namespace": "VastDevelopmentMethod\\Joomla\\Openai",
"namespace": "VDM\\Joomla\\Openai",
"code": "src\/08abd2df-1406-4939-a1a6-94d2fce3f043\/code.php",
"power": "src\/08abd2df-1406-4939-a1a6-94d2fce3f043\/code.power",
"settings": "src\/08abd2df-1406-4939-a1a6-94d2fce3f043\/settings.json",
@ -24,7 +24,7 @@
"0e61da13-6429-426d-a6f9-f5723cd3b7b1": {
"name": "FineTunes",
"type": "class",
"namespace": "VastDevelopmentMethod\\Joomla\\Openai",
"namespace": "VDM\\Joomla\\Openai",
"code": "src\/0e61da13-6429-426d-a6f9-f5723cd3b7b1\/code.php",
"power": "src\/0e61da13-6429-426d-a6f9-f5723cd3b7b1\/code.power",
"settings": "src\/0e61da13-6429-426d-a6f9-f5723cd3b7b1\/settings.json",
@ -35,7 +35,7 @@
"13ef84f4-25b0-43dd-a9f6-0722abf220c1": {
"name": "Uri",
"type": "final class",
"namespace": "VastDevelopmentMethod\\Joomla\\Openai\\Utilities",
"namespace": "VDM\\Joomla\\Openai\\Utilities",
"code": "src\/13ef84f4-25b0-43dd-a9f6-0722abf220c1\/code.php",
"power": "src\/13ef84f4-25b0-43dd-a9f6-0722abf220c1\/code.power",
"settings": "src\/13ef84f4-25b0-43dd-a9f6-0722abf220c1\/settings.json",
@ -46,7 +46,7 @@
"34f2c249-64a7-4229-9592-77e58f6e994f": {
"name": "Moderate",
"type": "class",
"namespace": "VastDevelopmentMethod\\Joomla\\Openai",
"namespace": "VDM\\Joomla\\Openai",
"code": "src\/34f2c249-64a7-4229-9592-77e58f6e994f\/code.php",
"power": "src\/34f2c249-64a7-4229-9592-77e58f6e994f\/code.power",
"settings": "src\/34f2c249-64a7-4229-9592-77e58f6e994f\/settings.json",
@ -57,7 +57,7 @@
"4c58b254-aea5-40aa-b54d-9586a1690451": {
"name": "Http",
"type": "final class",
"namespace": "VastDevelopmentMethod\\Joomla\\Openai\\Utilities",
"namespace": "VDM\\Joomla\\Openai\\Utilities",
"code": "src\/4c58b254-aea5-40aa-b54d-9586a1690451\/code.php",
"power": "src\/4c58b254-aea5-40aa-b54d-9586a1690451\/code.power",
"settings": "src\/4c58b254-aea5-40aa-b54d-9586a1690451\/settings.json",
@ -68,7 +68,7 @@
"585de711-2784-4f89-90bf-94a8a63366f1": {
"name": "Api",
"type": "abstract class",
"namespace": "VastDevelopmentMethod\\Joomla\\Openai\\Abstraction",
"namespace": "VDM\\Joomla\\Openai\\Abstraction",
"code": "src\/585de711-2784-4f89-90bf-94a8a63366f1\/code.php",
"power": "src\/585de711-2784-4f89-90bf-94a8a63366f1\/code.power",
"settings": "src\/585de711-2784-4f89-90bf-94a8a63366f1\/settings.json",
@ -79,7 +79,7 @@
"65dd022b-8f3a-46be-8930-0cae74b9834b": {
"name": "Files",
"type": "class",
"namespace": "VastDevelopmentMethod\\Joomla\\Openai",
"namespace": "VDM\\Joomla\\Openai",
"code": "src\/65dd022b-8f3a-46be-8930-0cae74b9834b\/code.php",
"power": "src\/65dd022b-8f3a-46be-8930-0cae74b9834b\/code.power",
"settings": "src\/65dd022b-8f3a-46be-8930-0cae74b9834b\/settings.json",
@ -90,7 +90,7 @@
"796cca70-2577-4f8f-9a05-ac37db1f2f02": {
"name": "Completions",
"type": "class",
"namespace": "VastDevelopmentMethod\\Joomla\\Openai",
"namespace": "VDM\\Joomla\\Openai",
"code": "src\/796cca70-2577-4f8f-9a05-ac37db1f2f02\/code.php",
"power": "src\/796cca70-2577-4f8f-9a05-ac37db1f2f02\/code.power",
"settings": "src\/796cca70-2577-4f8f-9a05-ac37db1f2f02\/settings.json",
@ -101,7 +101,7 @@
"98e59bdf-81a2-41ef-a3a6-6a88a7cc53c8": {
"name": "Edits",
"type": "class",
"namespace": "VastDevelopmentMethod\\Joomla\\Openai",
"namespace": "VDM\\Joomla\\Openai",
"code": "src\/98e59bdf-81a2-41ef-a3a6-6a88a7cc53c8\/code.php",
"power": "src\/98e59bdf-81a2-41ef-a3a6-6a88a7cc53c8\/code.power",
"settings": "src\/98e59bdf-81a2-41ef-a3a6-6a88a7cc53c8\/settings.json",
@ -112,7 +112,7 @@
"bb8973c1-261f-4b55-8f9b-9ee98843fced": {
"name": "Images",
"type": "class",
"namespace": "VastDevelopmentMethod\\Joomla\\Openai",
"namespace": "VDM\\Joomla\\Openai",
"code": "src\/bb8973c1-261f-4b55-8f9b-9ee98843fced\/code.php",
"power": "src\/bb8973c1-261f-4b55-8f9b-9ee98843fced\/code.power",
"settings": "src\/bb8973c1-261f-4b55-8f9b-9ee98843fced\/settings.json",
@ -123,7 +123,7 @@
"c464393e-7606-406e-8463-a86774590966": {
"name": "Response",
"type": "final class",
"namespace": "VastDevelopmentMethod\\Joomla\\Openai\\Utilities",
"namespace": "VDM\\Joomla\\Openai\\Utilities",
"code": "src\/c464393e-7606-406e-8463-a86774590966\/code.php",
"power": "src\/c464393e-7606-406e-8463-a86774590966\/code.power",
"settings": "src\/c464393e-7606-406e-8463-a86774590966\/settings.json",
@ -134,7 +134,7 @@
"c54c92da-2dd7-4136-81c9-1785f2fa0af5": {
"name": "Chat",
"type": "class",
"namespace": "VastDevelopmentMethod\\Joomla\\Openai",
"namespace": "VDM\\Joomla\\Openai",
"code": "src\/c54c92da-2dd7-4136-81c9-1785f2fa0af5\/code.php",
"power": "src\/c54c92da-2dd7-4136-81c9-1785f2fa0af5\/code.power",
"settings": "src\/c54c92da-2dd7-4136-81c9-1785f2fa0af5\/settings.json",
@ -145,7 +145,7 @@
"ccf3141a-929d-4466-b122-9ace2eea8d70": {
"name": "Api",
"type": "class",
"namespace": "VastDevelopmentMethod\\Joomla\\Openai\\Service",
"namespace": "VDM\\Joomla\\Openai\\Service",
"code": "src\/ccf3141a-929d-4466-b122-9ace2eea8d70\/code.php",
"power": "src\/ccf3141a-929d-4466-b122-9ace2eea8d70\/code.power",
"settings": "src\/ccf3141a-929d-4466-b122-9ace2eea8d70\/settings.json",
@ -156,7 +156,7 @@
"d76b2e22-c8dd-44b1-86b5-822768b317a3": {
"name": "Audio",
"type": "class",
"namespace": "VastDevelopmentMethod\\Joomla\\Openai",
"namespace": "VDM\\Joomla\\Openai",
"code": "src\/d76b2e22-c8dd-44b1-86b5-822768b317a3\/code.php",
"power": "src\/d76b2e22-c8dd-44b1-86b5-822768b317a3\/code.power",
"settings": "src\/d76b2e22-c8dd-44b1-86b5-822768b317a3\/settings.json",
@ -167,7 +167,7 @@
"d78bee89-6f7e-42b6-917e-17f05b238490": {
"name": "Factory",
"type": "abstract class",
"namespace": "VastDevelopmentMethod\\Joomla\\Openai",
"namespace": "VDM\\Joomla\\Openai",
"code": "src\/d78bee89-6f7e-42b6-917e-17f05b238490\/code.php",
"power": "src\/d78bee89-6f7e-42b6-917e-17f05b238490\/code.power",
"settings": "src\/d78bee89-6f7e-42b6-917e-17f05b238490\/settings.json",
@ -178,7 +178,7 @@
"df141f03-393f-4fa3-a568-8b65f7358b02": {
"name": "Embeddings",
"type": "class",
"namespace": "VastDevelopmentMethod\\Joomla\\Openai",
"namespace": "VDM\\Joomla\\Openai",
"code": "src\/df141f03-393f-4fa3-a568-8b65f7358b02\/code.php",
"power": "src\/df141f03-393f-4fa3-a568-8b65f7358b02\/code.power",
"settings": "src\/df141f03-393f-4fa3-a568-8b65f7358b02\/settings.json",