Warning: session_start(): open(/var/lib/php/sessions/sess_ts2i7rk2se4ruu8edu1m3qr1li, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static L gazelle_reasonWithPreprocessing(S content, O... _) {
S userName = stringPar userName(_);
GazelleEvalContext ctx = cast optPar ctx(_);
if (ctx == null) ctx = gazelle_stdChatEvalContext();
bool debug = boolPar debug(_);
// preprocess
L l1 = ll(GazelleTree(ctx, content));
addAll(l1, dm_gazelle_reasonAboutChatInput_v2(userName, content,
paramsPlus(_, acceptablePurposes := litset('preprocess))));
// TODO: uniquify lines?
if (debug) print("Got " + n_entries(l1) + " after preprocessing.");
new L l2;
for (GazelleTree tree : l1)
addAll(l2, dm_gazelle_reasonAboutChatInput_v2(userName, tree.line, _));
ret l2;
}