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.1.0.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

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