forked from joomla/openai
update 2023-10-10 10:16:07
This commit is contained in:
parent
a15c785c23
commit
803a189e54
@ -8,6 +8,7 @@
|
||||
```
|
||||
# class Models (Details)
|
||||
> namespace: **VDM\Joomla\Openai**
|
||||
> extends: **Api**
|
||||
```uml
|
||||
@startuml
|
||||
class Models #Gold {
|
||||
|
@ -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')
|
||||
|
@ -8,6 +8,7 @@
|
||||
```
|
||||
# class Moderate (Details)
|
||||
> namespace: **VDM\Joomla\Openai**
|
||||
> extends: **Api**
|
||||
```uml
|
||||
@startuml
|
||||
class Moderate #Gold {
|
||||
|
@ -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)
|
||||
|
@ -8,6 +8,7 @@
|
||||
```
|
||||
# class Completions (Details)
|
||||
> namespace: **VDM\Joomla\Openai**
|
||||
> extends: **Api**
|
||||
```uml
|
||||
@startuml
|
||||
class Completions #Gold {
|
||||
|
@ -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
|
||||
|
@ -8,6 +8,7 @@
|
||||
```
|
||||
# class Chat (Details)
|
||||
> namespace: **VDM\Joomla\Openai**
|
||||
> extends: **Api**
|
||||
```uml
|
||||
@startuml
|
||||
class Chat #Gold {
|
||||
|
Loading…
Reference in New Issue
Block a user