/openapi2callables

Experiment in parsing and projecting OpenAPI endpoints into OpenAI/GenericLLM compatible Tools (but should also be generic enough for non-llm directed usage...)

Primary LanguagePythonOtherNOASSERTION

OpenAPI2Tools

pypi python Build Status codecov

Experiment in parsing and projecting OpenAPI endpoints into OpenAI/GenericLLM compatible Tools (but should also be generic enough for non-llm directed usage...)

Features

  • Gather openapi.json/yaml schemas, and extract basic parameter and response configurations. (openapi2tool parse)
  • Host a 'sample' server (openapi2tool serve)
  • Project tool definitions into OpenAI compatible tool definitions
  • Provide runtime-callbacks for tool execution
  • Provide request authorization passthrough