Name | llama-index-readers-slack JSON |
Version |
0.2.1
JSON |
| download |
home_page | None |
Summary | llama-index readers slack integration |
upload_time | 2024-08-24 00:29:03 |
maintainer | jerryjliu |
docs_url | None |
author | Your Name |
requires_python | <4.0,>=3.8.1 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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](api.slack.com).
### Installation
You can install the Slack Reader via pip:
```bash
pip install llama-index-readers-slack
```
### Usage
```python
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](https://github.com/run-llama/llama_index/tree/main/llama_index) and/or subsequently
used as a Tool in a [LangChain](https://github.com/hwchase17/langchain) Agent.
Raw data
{
"_id": null,
"home_page": null,
"name": "llama-index-readers-slack",
"maintainer": "jerryjliu",
"docs_url": null,
"requires_python": "<4.0,>=3.8.1",
"maintainer_email": null,
"keywords": null,
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/94/75/8e368667434b2edf66214368aec72f5575d43af13f8c77d6e7f6397c2621/llama_index_readers_slack-0.2.1.tar.gz",
"platform": null,
"description": "# LlamaIndex Readers Integration: Slack\n\n## Overview\n\nThe Slack Reader allows you to read conversations from Slack channels. It retrieves messages from specified channels within a given time range, if provided.\n\nFor more detailed information about the Slack Reader, visit [Slack API Home](api.slack.com).\n\n### Installation\n\nYou can install the Slack Reader via pip:\n\n```bash\npip install llama-index-readers-slack\n```\n\n### Usage\n\n```python\nfrom llama_index.readers.slack import (\n SlackReader,\n) # Import the SlackReader module.\n\n# Initialize SlackReader with specified parameters.\nreader = SlackReader(\n slack_token=\"<Slack Token>\", # Provide the Slack API token for authentication.\n earliest_date=\"<Earliest Date>\", # Specify the earliest date to read conversations from.\n latest_date=\"<Latest Date>\", # Specify the latest date to read conversations until.\n)\n\n# Load data from Slack channels using the initialized SlackReader.\ndocuments = reader.load_data(\n channel_ids=[\"C04DC2VUY3F\"]\n) # Specify the channel IDs to load data from.\n```\n\nThis loader is designed to be used as a way to load data into\n[LlamaIndex](https://github.com/run-llama/llama_index/tree/main/llama_index) and/or subsequently\nused as a Tool in a [LangChain](https://github.com/hwchase17/langchain) Agent.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "llama-index readers slack integration",
"version": "0.2.1",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "485e3925aaaad07927e3cb63de04b37f894cdecfe3bf0c65b7d2cf0c42e5c9e2",
"md5": "47023b65f75bffaa0fe00676658e7bef",
"sha256": "d2e6febbfb3c328912c69dc7cd2ccd80e4abff770c652d61fdc6e5bf0c7e27da"
},
"downloads": -1,
"filename": "llama_index_readers_slack-0.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "47023b65f75bffaa0fe00676658e7bef",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8.1",
"size": 5041,
"upload_time": "2024-08-24T00:29:02",
"upload_time_iso_8601": "2024-08-24T00:29:02.904925Z",
"url": "https://files.pythonhosted.org/packages/48/5e/3925aaaad07927e3cb63de04b37f894cdecfe3bf0c65b7d2cf0c42e5c9e2/llama_index_readers_slack-0.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "94758e368667434b2edf66214368aec72f5575d43af13f8c77d6e7f6397c2621",
"md5": "eadca0bde26cc0b7ac8c50f905cc9edd",
"sha256": "c6eb92d4b7ae13c619f3442411b0693b5425179f26b6507a5de656371aa2f80e"
},
"downloads": -1,
"filename": "llama_index_readers_slack-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "eadca0bde26cc0b7ac8c50f905cc9edd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8.1",
"size": 4721,
"upload_time": "2024-08-24T00:29:03",
"upload_time_iso_8601": "2024-08-24T00:29:03.831751Z",
"url": "https://files.pythonhosted.org/packages/94/75/8e368667434b2edf66214368aec72f5575d43af13f8c77d6e7f6397c2621/llama_index_readers_slack-0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-24 00:29:03",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llama-index-readers-slack"
}