Skip to main content

llama-index readers feishu_docs integration

Project description

Feishu Doc Loader

pip install llama-index-readers-feishu-docs

This loader takes in IDs of Feishu Docs and parses their text into documents. You can extract a Feishu Doc's ID directly from its URL. For example, the ID of https://test-csl481dfkgqf.feishu.cn/docx/HIH2dHv21ox9kVxjRuwc1W0jnkf is HIH2dHv21ox9kVxjRuwc1W0jnkf. As a prerequisite, you will need to register with Feishu and build an custom app. See here for instructions.

Usage

To use this loader, you simply need to pass in an array of Feishu Doc IDs. The default API endpoints are for Feishu, in order to switch to Lark, we should use set_lark_domain.

app_id = "cli_slkdjalasdkjasd"
app_secret = "dskLLdkasdjlasdKK"
doc_ids = ["HIH2dHv21ox9kVxjRuwc1W0jnkf"]
from llama_index.readers.feishu_docs import FeishuDocsReader

loader = FeishuDocsReader(app_id, app_secret)
documents = loader.load_data(document_ids=doc_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_feishu_docs-0.5.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

File details

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

File metadata

  • Download URL: llama_index_readers_feishu_docs-0.5.0.tar.gz
  • Upload date:
  • Size: 4.7 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_feishu_docs-0.5.0.tar.gz
Algorithm Hash digest
SHA256 4f65d7e9fd17cd6884e6d24998cb15d8d1c7b2b26158a68fdfbc5c38172e5f5d
MD5 6d914f9fe591d5789bdf99f1843fdc47
BLAKE2b-256 4bdcc5a5af092961f8679079b68badcb626edf7ad1b4ba3ac0c2c0300794ff3c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_readers_feishu_docs-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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_feishu_docs-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 34d0a108b2c95556215d0b4518ae7e480e9d4a4bb7e67c8cca5a6a40b1c9fbc0
MD5 c97c9ea3775617297ef506848b33def7
BLAKE2b-256 7cb01dd51f85307b48a81dbbcaa5ec4c10a36f2d390a612f895a3690bb7fb6a4

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