Skip to main content

llama-index readers discord integration

Project description

Discord Loader

pip install llama-index-readers-discord

This loader loads conversations from Discord. The user specifies channel_ids and we fetch conversations from those channel_ids.

Usage

Here's an example usage of the DiscordReader.

import os

from llama_index.readers.discord import DiscordReader

discord_token = os.getenv("DISCORD_TOKEN")
channel_ids = [1057178784895348746]  # Replace with your channel_id
reader = DiscordReader(discord_token=discord_token)
documents = reader.load_data(channel_ids=channel_ids)

This loader is designed to be used as a way to load data into LlamaIndex.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_readers_discord-0.3.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file llama_index_readers_discord-0.3.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_readers_discord-0.3.0.tar.gz
Algorithm Hash digest
SHA256 df6a622c8f3a1a67859685a7cdecdab619210f8638a8f30fbc11f8a8914db88c
MD5 bd9c25f39b7063647d40f4e95bb9792b
BLAKE2b-256 d7b87fbfb41b85f989151782ed4c4bcb6c3e5c3e89c142613ad0202034771301

See more details on using hashes here.

File details

Details for the file llama_index_readers_discord-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_readers_discord-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45124c0044304744866a5e975d0ba67d9f9e96f08e31a02e94ca87a95c22d52e
MD5 7aff45cfb4e15432fb4280cd67494846
BLAKE2b-256 8db4699182ded7fe833b58130f8a89957ca8e47eb1022ce87e5b3d622acc4815

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page