Source: site.view [edit]
Function name: llmBase
Arguments: prompt
Description: Prompt, System Message: all in Base64 format
Page type: webl
Render function:  
Module: noahGames

Page source:

var promptP = Base64_Decode(prompt);

var args = [promptP];

if Size(OPTIONALARGS) > 0 then
   args = args + [Base64_Decode(Str_Trim(OPTIONALARGS[0]))]
end;


var res = WubCall("llm", args);

NewPage(`{ "response":` + WubCall("toJSON", [res.response]) + `} `, "text/plain");