agsamantha/node_modules/@langchain/community/dist/document_loaders/fs/chatgpt.d.ts
2024-10-02 15:15:21 -05:00

8 lines
350 B
TypeScript

import { Document } from "@langchain/core/documents";
import { TextLoader } from "langchain/document_loaders/fs/text";
export declare class ChatGPTLoader extends TextLoader {
numLogs: number;
constructor(filePathOrBlob: string | Blob, numLogs?: number);
protected parse(raw: string): Promise<string[]>;
load(): Promise<Document[]>;
}