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.5.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_readers_discord-0.5.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_readers_discord-0.5.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_discord-0.5.0.tar.gz
Algorithm Hash digest
SHA256 bfe3a9611af3a41b335ba806ac8dcf1d06b39fff1d5fc5d86fd29c9820b02cda
MD5 fc263793686d6b29993d744099b65341
BLAKE2b-256 2530f37f894c6cbad1f200f0d9946022d8ea293e91f8e40361fe13e086005bd2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_readers_discord-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_discord-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b12a6e232c4800490402fbd02a33350d22bc05f9d8e97ea03cb525ed34b4d74f
MD5 d61aac6bd3355c346db30d4cd17bd062
BLAKE2b-256 bfb3c1ce39f9a59fb79be7a2e1b36037415e3872d967016175592ee4f861ebe1

See more details on using hashes here.

Supported by

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