Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
🚀 Share how you're building agents for a chance to win LangChain swag!
TypeScript
import { ChatGPTLoader } from "@langchain/community/document_loaders/fs/chatgpt"; const loader = new ChatGPTLoader("./example_data/example_conversations.json"); const docs = await loader.load(); console.log(docs);
import { ChatGPTLoader } from "@langchain/community/document_loaders/fs/chatgpt"; const loader = new ChatGPTLoader( "./example_data/example_conversations.json", 1 ); const docs = await loader.load(); console.log(docs);
Was this page helpful?