From 1af8cb99bf1b3a0de635a949499d6465eb1e8b4a 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,