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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file llama_index_readers_openapi-0.3.0.tar.gz
.
File metadata
- Download URL: llama_index_readers_openapi-0.3.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66370b0471fdc5097d026d46f8e8b52fc77c013360f457c2411437dcc09284dd |
|
MD5 | 533e23705efca8abe8ef3a8302c4f929 |
|
BLAKE2b-256 | c6e81df5f873f99458e9b496e84012e07352a0d8b9721b1b73a726442fefac36 |
File details
Details for the file llama_index_readers_openapi-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: llama_index_readers_openapi-0.3.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53f14bbee336099602d97aee386fd862994add44c3f1870c193483d635f5ba79 |
|
MD5 | 4d0b9b596f7ebf3c1301e7ff562c7ca4 |
|
BLAKE2b-256 | 16e952a6bcf7b87e7ea9f4933686302091476698346f9b248f11be6ad1b01008 |