Experiment in parsing and projecting OpenAPI endpoints into OpenAI/GenericLLM compatible Tools (but should also be generic enough for non-llm directed usage...)
- Documentation: https://andrewbolster.github.io/openapi2callables
- GitHub: https://github.com/andrewbolster/openapi2callables
- PyPI: https://pypi.org/project/openapi2callables/
- Free software: Apache-2.0
- 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