Skip to main content

llama-index readers gitbook integration

Project description

LlamaIndex Readers Integration: Gitbook

Overview

Simple Gitbook Reader allows loading data from a gitbook space. It collects & converts contents from gitbook space into documents used by LlamaIndex.

Installation

You can install Gitbook Reader via pip:

pip install llama-index-readers-gitbook

Usage

from llama_index.readers.gitbook import SimpleGitbookReader

# Initialize SimpleGitbookReader
reader = SimpleGitbookReader(
    api_token="<Gitbook API Token>",  # Gitbook API Token
)

# load data from Gitbook
documents = reader.load_data(
    space_id="<Gitbook Space Id>",  # Id of the gitbook space
    metadata_names=None,  # Names of the fields to add to metadata attribute (available: 'path', 'title', 'description', 'parent')
)

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_gitbook-0.4.0.tar.gz (5.4 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_gitbook-0.4.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_readers_gitbook-0.4.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_readers_gitbook-0.4.0.tar.gz
Algorithm Hash digest
SHA256 43177b5c19c84cfd90c728f6fbcafd17a5f35596b910ec57e18c79eeaa12e88f
MD5 c81e5a2c7c0884089946c1cbb56f72e6
BLAKE2b-256 2cd054ec7a313c50533bd66dd5bfc178919ebaf856bca08a8a3afa0eef4c1cca

See more details on using hashes here.

File details

Details for the file llama_index_readers_gitbook-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_readers_gitbook-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1b2389624cf3dd77a72b664e620b5d2e1ebb3e4094b29a8093c28febf9eee7b
MD5 efc8ad110d98b9fee80f810297bc9aa1
BLAKE2b-256 fd5ea293ea7d29490d4e9d76567254c4ca6344d3494d03d3a625d11b833c3971

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