This commit is contained in:
Ashwin Bharambe 2024-07-11 10:04:56 -07:00
parent 6d6c07b882
commit f6b2b2fb39
13 changed files with 20 additions and 2286 deletions

View file

@ -2,9 +2,26 @@ This repo contains the API specifications for various parts of the Llama Stack.
The Stack consists of toolchain-apis and agentic-apis.
The tool chain apis that are covered --
- chat_completion
- batch inference
- fine tuning
- inference / batch inference
- post training
- reward model scoring
- synthetic data generation
### Generate OpenAPI specs
Set up virtual environment
```
python3.9 -m venv ~/.venv/toolchain/
source ~/.venv/toolchain/bin/activate
with-proxy pip3 install -r requirements.txt
```
Run the generate.sh script
```
cd source && sh generate.sh
```