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.1.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.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_readers_gitbook-0.4.1.tar.gz
Algorithm Hash digest
SHA256 925d2d1decb154497d3700d42b4b3fbb85e94a534e905f712134224a50a1c265
MD5 750cd1d78bc8e03e5a15c8fd75665140
BLAKE2b-256 d4f07cc8e518b997be84f9be55865ec8003ce85bc33faa96a9613ea25a24c6bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_gitbook-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 24d50e10035fa23ecf146211a7d6c4f9a46dc49601c6b67d8dbb6ec141f10590
MD5 7124185c0b5b1ea2d59f806294737e27
BLAKE2b-256 574e1521fbe0610955c6e6f1d7d59361d3d12a445e62edf9f73b2855ba35eea9

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