8 lines
350 B
TypeScript
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[]>;
|
|
}
|