langcode
Version:
A Plugin-Based Framework for Managing and Using LangChain
15 lines (14 loc) • 430 B
TypeScript
import { PluginDescriptions } from "./plugin";
import { TextLoader } from "langchain/document_loaders/fs/text";
export type TextLoaderInitConfig = {
path: string;
};
export type TextLoaderRunArgs = {};
export interface TextLoaderExpose extends PluginDescriptions {
loader: TextLoader | null;
}
export declare const TextLoaderPluginTypes: {
runArgs: TextLoaderRunArgs;
return: any;
expose: TextLoaderExpose;
};