Name | llama-index-readers-slack JSON |
Version |
0.3.1
JSON |
| download |
home_page | None |
Summary | llama-index readers slack integration |
upload_time | 2025-01-15 18:13:54 |
maintainer | jerryjliu |
docs_url | None |
author | Your Name |
requires_python | <4.0,>=3.9 |
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.9",
"maintainer_email": null,
"keywords": null,
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/56/28/5a59cf50d7a193b4d733328b98a18af793f53a77dc58b1a95ad923b04385/llama_index_readers_slack-0.3.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.3.1",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2f9c348d02286c401a793681603519895ad6bc52fda791f74d36773dcc5c84a3",
"md5": "b4395d1cc1cad6f9a5d14ea2e9a112f8",
"sha256": "67e44d958a612d424b0815b947d48ebc8efa94a7fbd99015a55c28a34c0f599f"
},
"downloads": -1,
"filename": "llama_index_readers_slack-0.3.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b4395d1cc1cad6f9a5d14ea2e9a112f8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 5067,
"upload_time": "2025-01-15T18:13:53",
"upload_time_iso_8601": "2025-01-15T18:13:53.522790Z",
"url": "https://files.pythonhosted.org/packages/2f/9c/348d02286c401a793681603519895ad6bc52fda791f74d36773dcc5c84a3/llama_index_readers_slack-0.3.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "56285a59cf50d7a193b4d733328b98a18af793f53a77dc58b1a95ad923b04385",
"md5": "60d055bf753420cbb44ac63f3557f2a7",
"sha256": "f1206dfc7bc9fc7e602ac7828ace6f2bf36896126624ec9fa70e3c65a4a4aabd"
},
"downloads": -1,
"filename": "llama_index_readers_slack-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "60d055bf753420cbb44ac63f3557f2a7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 4754,
"upload_time": "2025-01-15T18:13:54",
"upload_time_iso_8601": "2025-01-15T18:13:54.396049Z",
"url": "https://files.pythonhosted.org/packages/56/28/5a59cf50d7a193b4d733328b98a18af793f53a77dc58b1a95ad923b04385/llama_index_readers_slack-0.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-15 18:13:54",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llama-index-readers-slack"
}