new(basic.gblib): New batch features.

This commit is contained in:
Rodrigo Rodriguez 2024-08-13 21:20:33 -03:00
parent 1af8cb99bf
commit 7b7b6330fb

View file

@ -583,6 +583,9 @@ export class ChatServices {
result = await finalChain.invoke({
question: question
});
GBLogEx.info(min, `LLM SQL: ${result.sql}`);
result = result.result;
} else if (LLMMode === 'nochain') {
result = await (tools.length > 0 ? modelWithTools : model).invoke(`
${systemPrompt}