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