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