new(basic.gblib): New batch features.
This commit is contained in:
parent
3b03cf4bcd
commit
1af8cb99bf
1 changed files with 2 additions and 2 deletions
|
@ -562,12 +562,12 @@ export class ChatServices {
|
||||||
*/
|
*/
|
||||||
const finalChain = RunnableSequence.from([
|
const finalChain = RunnableSequence.from([
|
||||||
{
|
{
|
||||||
input: input => input.question,
|
question: input => input.question,
|
||||||
query: sqlQueryChain
|
query: sqlQueryChain
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
schema: async () => db.getTableInfo(),
|
schema: async () => db.getTableInfo(),
|
||||||
input: input => input.question,
|
question: input => input.question,
|
||||||
query: input => input.query,
|
query: input => input.query,
|
||||||
response: input => db.run(input.query),
|
response: input => db.run(input.query),
|
||||||
top_k: () => 10,
|
top_k: () => 10,
|
||||||
|
|
Loading…
Add table
Reference in a new issue