llama-stack/rfcs/openapi_generator
Xi Yan 4f021de10f
API spec update, client demo with Stainless SDK (#58)
* [wip] client w/ stainless sdk

* update generator & yaml spec

* update wrapper request

* update script

* agentic system client sdk

* add comment todos

* remove client sdk examples
2024-09-09 13:09:47 -07:00
..
pyopenapi API spec update, client demo with Stainless SDK (#58) 2024-09-09 13:09:47 -07:00
generate.py API Updates: fleshing out RAG APIs, introduce "llama stack" CLI command (#51) 2024-09-03 22:39:39 -07:00
README.md RFC-0001-The-Llama-Stack (#8) 2024-08-20 19:01:18 -07:00
run_openapi_generator.sh rename observability -> Telemetry; regen Spec 2024-09-07 15:23:53 -07:00

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>