agsamantha/node_modules/langchain/dist/util/document.d.ts

10 lines
345 B
TypeScript
Raw Normal View History

2024-10-02 15:15:21 -05:00
import { Document } from "@langchain/core/documents";
/**
* Given a list of documents, this util formats their contents
* into a string, separated by newlines.
*
* @param documents
* @returns A string of the documents page content, separated by newlines.
*/
export declare const formatDocumentsAsString: (documents: Document[]) => string;