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)
|
# class Models (Details)
|
||||||
> namespace: **VDM\Joomla\Openai**
|
> namespace: **VDM\Joomla\Openai**
|
||||||
|
> extends: **Api**
|
||||||
```uml
|
```uml
|
||||||
@startuml
|
@startuml
|
||||||
class Models #Gold {
|
class Models #Gold {
|
||||||
|
@ -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')
|
||||||
|
@ -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 {
|
||||||
|
@ -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)
|
||||||
|
@ -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 {
|
||||||
|
@ -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
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user