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.2.0.tar.gz (3.9 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.2.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_readers_gitbook-0.2.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for llama_index_readers_gitbook-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2f4cc37702b9a121408de6155be1c2592c7162b290d3ca45fbf246549669fd64
MD5 0c842c4499f3dc3fe2bce9e0356e062c
BLAKE2b-256 116e2973eaca4a78a5788c16007f5b5601479bc117f254d58dc13bbded212b30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_gitbook-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 326a9822b4b9466228210bdebb32d31a70979ea4cb09937167f81abac84f29a2
MD5 08cd5a1f4755fa7edef90891ba7ec570
BLAKE2b-256 61ab90a5d2f52a24c0812de51d4acd83a5082f9b0421d9f45ab376c892e6ddbd

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