Bugfix/Update retriever tool wordings (#2679)
update retriever tool wordings
This commit is contained in:
parent
21743656a8
commit
1849637af8
|
|
@ -76,7 +76,7 @@ class Retriever_Tools implements INode {
|
||||||
}
|
}
|
||||||
|
|
||||||
const schema = z.object({
|
const schema = z.object({
|
||||||
input: z.string().describe('query to look up in retriever')
|
input: z.string().describe('input to look up in retriever')
|
||||||
})
|
})
|
||||||
|
|
||||||
const tool = new DynamicStructuredTool({ ...input, func, schema })
|
const tool = new DynamicStructuredTool({ ...input, func, schema })
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue