All Bundles

EndPoint

OpenAI endpoint

Operations

GetApiKey

Reads API from 'api_key.dat'

function : GetApiKey() ~ String
Return
TypeDescription
StringAPI key

GetBaseUrl

Get the base URL

function : GetBaseUrl() ~ String
Return
TypeDescription
Stringbase

GetLastError

Get the last error

function : GetLastError() ~ String
Return
TypeDescription
Stringlast error

SetApiKey

Set the API file key path

function : SetApiKey(api_key:String) ~ Nil
Parameters
NameTypeDescription
api_keyStringAPI file key path

SetBaseUrl

Set the base URL

function : SetBaseUrl(base_url:String) ~ Nil
Parameters
NameTypeDescription
base_urlStringbase URL