kikocis/llama-stack public
| 1 | 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. |
| 2 | |
| 3 | Please install the following packages before running the script: |
| 4 | |
| 5 | ``` |
| 6 | pip install python-openapi json-strong-typing fire PyYAML llama-models |
| 7 | ``` |
| 8 | |
| 9 | Then simply run `sh run_openapi_generator.sh <OUTPUT_DIR>` |