EndPoint
OpenAI endpoint
Operations
GetApiKey
Reads API from 'api_key.dat'
function : GetApiKey() ~ StringReturn
| Type | Description |
|---|---|
| String | API key |
GetLastError
Get the last error
function : GetLastError() ~ StringReturn
| Type | Description |
|---|---|
| String | last error |
SetApiKey
Set the API file key path
function : SetApiKey(api_key:String) ~ NilParameters
| Name | Type | Description |
|---|---|---|
| api_key | String | API file key path |
SetBaseUrl
Set the base URL
function : SetBaseUrl(base_url:String) ~ NilParameters
| Name | Type | Description |
|---|---|---|
| base_url | String | base URL |