Discord (community loader)
Discord is a VoIP and instant messaging social platform. Users have the ability to communicate with voice calls, video calls, text messaging, media and files in private chats or as part of communities called "servers". A server is a collection of persistent chat rooms and voice channels which can be accessed via invite links.
安装与设置
pip install pandas
按照以下步骤下载您的 Discord 数据:
- 前往您的 用户设置
- 然后转到 隐私与安全
- 前往 请求我的全部数据 并点击 请求数据 按钮
你的数据可能需要30天才能收到。你会收到一封发送到与Discord关联的电子邮件地址的邮件。该邮件中将包含一个下载按钮,你可以使用它来下载你个人的Discord数据。
文档加载器
查看一个 使用示例。
注意: DiscordChatLoader 不是 ChatLoader,而是一个 DocumentLoader。
它用于从 Discord 数据转储中加载数据。
有关 ChatLoader 的详情,请参见下面的聊天加载器部分。
from langchain_community.document_loaders import DiscordChatLoader
API 参考:DiscordChatLoader
聊天加载器
查看一个 使用示例。