8000 GitHub - ShrinivasanSS/OAS-NLP: Turn you OAS to SQLite Tables and Vector stores. Use AI agents to interact with the OAS without sharing full API responses to AI. · GitHub
[go: up one dir, main page]

Skip to content
Dismiss alert
ShrinivasanSSPublic

About

Turn you OAS to SQLite Tables and Vector stores. Use AI agents to interact with the OAS without sharing full API responses to AI.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

OAS-NLP

Turn your OpenAPI Specification into SQLite tables and vector-searchable fields to help AI agents understand APIs without sharing full responses.

Getting Started

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python app.py

The Flask app will start on http://localhost:5000.

Available Endpoints

Core Views

  • GET /upload / POST /upload - Upload an OAS file (stored under uploads/), reuse a previously uploaded file, or select an example and preview it.
  • GET /generate / POST /generate - Generate sample request/response data under generated_outputs/api_data.
  • GET /tables / POST /tables - Build SQLite tables from the OAS, store field metadata in Qdrant, and run table queries (use .tables or .schema <tablename>).
  • GET /search / POST /search - Search Qdrant for matching fields using NLP.
  • POST /reset - Reset uploaded files, generated sample data, and local database caches.

Testing

pytest

About

Turn you OAS to SQLite Tables and Vector stores. Use AI agents to interact with the OAS without sharing full API responses to AI.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0