Function createRetrieverTool
- createRetrieverTool(retriever, input): DynamicStructuredTool<ZodObject<{
input: ZodString;
}, "strip", ZodTypeAny, {
input: string;
}, {
input: string;
}>> Returns DynamicStructuredTool<ZodObject<{
input: ZodString;
}, "strip", ZodTypeAny, {
input: string;
}, {
input: string;
}>>
Deprecated
Use "langchain/tools/retriever" instead.