Elffuss BraidHub

kikocis/llama-stack public

Changeset: f7dd24e44f7b
f7dd24e44f7b [API Updates] Model / shield / memory-bank routing + agent persistence + support for private headers (#92) Ashwin Bharambe,
..
pyopenapi/
strong_typing/
README.md374 B
generate.py3.8 KiB
run_openapi_generator.shexecutable915 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>