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.4.1.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.4.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_readers_discord-0.4.1.tar.gz
Algorithm Hash digest
SHA256 7c1524b36be2756d01392cbba3bbff737c6af956fc4db15daac92764bf85192a
MD5 ef5d73d537d823a8036d544c4c4c5af3
BLAKE2b-256 9d91f7ab0c14d4ecf91be26365c0ba117221fee8b1667d67011adb7666e3daaa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_discord-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1fc4bcc8359942a666047ad7230dc8b9fee4ebc810f0a7c62dda127d77e5c54f
MD5 122ca6546a6fefdff0ea6c5219a778df
BLAKE2b-256 cfc93f9325722e90da26afea289d50628c48acf74109475cb02410a201976ece

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