https://github.com/andrewbolster/openapi2callables
Experiment in parsing and projecting OpenAPI endpoints into OpenAI/GenericLLM compatible Tools (but should also be generic enough for non-llm directed usage...)
https://github.com/andrewbolster/openapi2callables
Last synced: about 2 months ago
JSON representation
Experiment in parsing and projecting OpenAPI endpoints into OpenAI/GenericLLM compatible Tools (but should also be generic enough for non-llm directed usage...)
- Host: GitHub
- URL: https://github.com/andrewbolster/openapi2callables
- Owner: andrewbolster
- License: other
- Created: 2024-06-25T12:11:27.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T20:43:47.000Z (7 months ago)
- Last Synced: 2024-09-18T02:37:59.967Z (7 months ago)
- Language: Python
- Size: 197 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.rst
Awesome Lists containing this project
- jimsghstars - andrewbolster/openapi2callables - Experiment in parsing and projecting OpenAPI endpoints into OpenAI/GenericLLM compatible Tools (but should also be generic enough for non-llm directed usage...) (Python)
README
# OpenAPI2Tools
[](https://pypi.org/project/openapi2callables/)
[](https://pypi.org/project/openapi2callables/)
[](https://github.com/andrewbolster/openapi2callables/actions/workflows/dev.yml)
[](https://codecov.io/github/andrewbolster/openapi2callables)Experiment in parsing and projecting OpenAPI endpoints into OpenAI/GenericLLM compatible Tools (but should also be generic enough for non-llm directed usage...)
- Documentation:
- GitHub:
- PyPI:
- Free software: Apache-2.0## Features
- [x] Gather `openapi.json/yaml` schemas, and extract basic parameter and response configurations. (`openapi2tool parse`)
- [x] Host a 'sample' server (`openapi2tool serve`)
- [ ] Project tool definitions into OpenAI compatible tool definitions
- [ ] Provide runtime-callbacks for tool execution
- [ ] Provide request authorization passthrough