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.
This feature is deprecated and will be removed in the future.
It is not recommended for use.