forked from phoenix-oss/llama-stack-mirror
RFC-0001-The-Llama-Stack (#8)
* RFC-0001-The-Llama-Stack * Add OpenAPI generation utility, update SPEC to reflect latest types * First cut at an observability API * llama3_1 -> llama3 --------- Co-authored-by: Ashwin Bharambe <ashwin.bharambe@gmail.com>
This commit is contained in:
parent
57881c08c1
commit
2232bfa8b5
19 changed files with 9177 additions and 10 deletions
9
rfcs/openapi_generator/README.md
Normal file
9
rfcs/openapi_generator/README.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
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>`
|
Loading…
Add table
Add a link
Reference in a new issue