langcode
Version:
A Plugin-Based Framework for Managing and Using LangChain
15 lines (14 loc) • 432 B
TypeScript
import { PluginDescriptions } from "./plugin";
import { PDFLoader } from "@langchain/community/document_loaders/fs/pdf";
export type PdfLoaderInitConfig = {
path: string;
};
export type PdfLoaderRunArgs = {};
export interface PdfLoaderExpose extends PluginDescriptions {
loader: PDFLoader | null;
}
export declare const PdfLoaderPluginTypes: {
runArgs: PdfLoaderRunArgs;
return: any;
expose: PdfLoaderExpose;
};