Elffuss BraidHub

kikocis/llama-stack public

Changeset: d510759522c8
d510759522c8 stage back models api Xi Yan,
..
pyopenapi/
README.md378 B
generate.py2.8 KiB
run_openapi_generator.shexecutable742 B

README.md

The RFC Specification (OpenAPI format) is generated from the set of API endpoints located in llama_toolchain/[<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>