kikocis/llama-stack public
e7e47c3d00f8 [aws-bedrock] Support for Bedrock Safety adapter (#96) rsgrewal-aws,
| .. | ||
| pyopenapi/ | ||
| strong_typing/ | ||
| README.md | 374 B | |
| generate.py | 3.8 KiB | |
| run_openapi_generator.sh | executable | 915 B |
README.md
The RFC Specification (OpenAPI format) is generated from the set of API endpoints located in llama_stack/[<subdir>]/api/endpoints.py using the generate.py utility.
Please install the following packages before running the script:
pip install python-openapi json-strong-typing fire PyYAML llama-models
Then simply run sh run_openapi_generator.sh <OUTPUT_DIR>