Skip to main content

llama-index readers slack integration

Project description

LlamaIndex Readers Integration: Slack

Overview

The Slack Reader allows you to read conversations from Slack channels. It retrieves messages from specified channels within a given time range, if provided.

For more detailed information about the Slack Reader, visit Slack API Home.

Installation

You can install the Slack Reader via pip:

pip install llama-index-readers-slack

Usage

from llama_index.readers.slack import (
    SlackReader,
)  # Import the SlackReader module.

# Initialize SlackReader with specified parameters.
reader = SlackReader(
    slack_token="<Slack Token>",  # Provide the Slack API token for authentication.
    earliest_date="<Earliest Date>",  # Specify the earliest date to read conversations from.
    latest_date="<Latest Date>",  # Specify the latest date to read conversations until.
)

# Load data from Slack channels using the initialized SlackReader.
documents = reader.load_data(
    channel_ids=["C04DC2VUY3F"]
)  # Specify the channel IDs to load data from.

This loader is designed to be used as a way to load data into LlamaIndex and/or subsequently used as a Tool in a LangChain Agent.

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_slack-0.5.0.tar.gz (6.3 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_slack-0.5.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_readers_slack-0.5.0.tar.gz
  • Upload date:
  • Size: 6.3 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_slack-0.5.0.tar.gz
Algorithm Hash digest
SHA256 bb848d37b6ec46cbc3bf3c3fb99c963ab25eb566476a70964a85156306a664a3
MD5 a22fc6fe59e633f4cce7592d1d1a913c
BLAKE2b-256 f819044f16f20e131cafb0198b9aa4b4053ff5d3f0466abaf8d903e8c1a0c324

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_readers_slack-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 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_slack-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ca52e9263e54c3b9acd567638d2ae2928e8f4cf29400baeb24c53a02a679f1b
MD5 f446b9a8735fe4ec33f828b62d510d7f
BLAKE2b-256 a5237d7d56a5f4d4f2c826b5ccae9224624936ba600f92ac3a8546c097c73c40

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