• Parameters

    • retriever: BaseRetrieverInterface<Record<string, any>>
    • input: Omit<DynamicStructuredToolInput<ZodObject<any, any, any, any, {}>>, "func" | "schema">

    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.

Generated using TypeDoc