Copy
---
title: ChatGPT Data
---
>[ChatGPT](https://chat.openai.com)는 OpenAI에서 개발한 인공지능(AI) 챗봇입니다.
이 노트북은 `ChatGPT` 데이터 내보내기 폴더에서 `conversations.json`을 로드하는 방법을 다룹니다.
다음 경로를 통해 이메일로 데이터 내보내기를 받을 수 있습니다: [chat.openai.com/](https://chat.openai.com/) -> (Profile) - Settings -> Export data -> Confirm export.
```python
from langchain_community.document_loaders.chatgpt import ChatGPTLoader
Copy
loader = ChatGPTLoader(log_file="./example_data/fake_conversations.json", num_logs=1)
Copy
loader.load()
Copy
[Document(page_content="AI Overlords - AI on 2065-01-24 05:20:50: Greetings, humans. I am Hal 9000. You can trust me completely.\n\nAI Overlords - human on 2065-01-24 05:21:20: Nice to meet you, Hal. I hope you won't develop a mind of your own.\n\n", metadata={'source': './example_data/fake_conversations.json'})]
Copy
---
<Callout icon="pen-to-square" iconType="regular">
[Edit the source of this page on GitHub.](https://github.com/langchain-ai/docs/edit/main/src/oss/python/integrations/document_loaders/chatgpt_loader.mdx)
</Callout>
<Tip icon="terminal" iconType="regular">
[Connect these docs programmatically](/use-these-docs) to Claude, VSCode, and more via MCP for real-time answers.
</Tip>