Function createRetrieverTool
- createRetrieverTool(retriever, input): DynamicStructuredTool<ZodObject<{
query: ZodString;
}, "strip", ZodTypeAny, {
query: string;
}, {
query: string;
}>> Parameters
retriever: BaseRetrieverInterface<Record<string, any>>
input: Omit<DynamicStructuredToolInput<ZodObject<any, any, any, any, {}>>, "func" | "schema">
Returns DynamicStructuredTool<ZodObject<{
query: ZodString;
}, "strip", ZodTypeAny, {
query: string;
}, {
query: string;
}>>