From febadeca50b0f3342f5b8c62804e4f720774759c Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Tue, 13 Aug 2024 21:16:01 -0300 Subject: [PATCH] new(basic.gblib): New batch features. --- packages/gpt.gblib/services/ChatServices.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/gpt.gblib/services/ChatServices.ts b/packages/gpt.gblib/services/ChatServices.ts index 0d15d820..b79ba003 100644 --- a/packages/gpt.gblib/services/ChatServices.ts +++ b/packages/gpt.gblib/services/ChatServices.ts @@ -562,12 +562,12 @@ export class ChatServices { */ const finalChain = RunnableSequence.from([ { - input: input => input.question, + question: input => input.question, query: sqlQueryChain }, { schema: async () => db.getTableInfo(), - input: input => input.question, + question: input => input.question, query: input => input.query, response: input => db.run(input.query), top_k: () => 10,