Skip to main content

llama-index readers openapi integration

Project description

LlamaIndex Readers Integration: Open API Specification

This module provides a reader for Open API Specification (OAS) JSON files. The reader is able to parse OAS files and split them at into atomic elements, such as paths, operations, parameters, etc.

It also provides some basic customizations to the reader such as changing the depth of the split, and the ability to exclude certain elements.

Usage

from llama_index.readers.openapi import OpenAPIReader

openapi_reader = OpenAPIReader(discard=["info", "servers"])
openapi_reader.load_data("path/to/openapi.json")

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_openapi-0.3.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file llama_index_readers_openapi-0.3.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_readers_openapi-0.3.0.tar.gz
Algorithm Hash digest
SHA256 66370b0471fdc5097d026d46f8e8b52fc77c013360f457c2411437dcc09284dd
MD5 533e23705efca8abe8ef3a8302c4f929
BLAKE2b-256 c6e81df5f873f99458e9b496e84012e07352a0d8b9721b1b73a726442fefac36

See more details on using hashes here.

File details

Details for the file llama_index_readers_openapi-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_readers_openapi-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 53f14bbee336099602d97aee386fd862994add44c3f1870c193483d635f5ba79
MD5 4d0b9b596f7ebf3c1301e7ff562c7ca4
BLAKE2b-256 16e952a6bcf7b87e7ea9f4933686302091476698346f9b248f11be6ad1b01008

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page