new(basic.gblib): New batch features.

This commit is contained in:
Rodrigo Rodriguez 2024-08-13 21:16:01 -03:00
parent 3b03cf4bcd
commit 1af8cb99bf

View file

@ -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,