| 1 | --- |
| 2 | title: "Llama Stack" |
| 3 | keywords: [llama, stack, local, api, inference] |
| 4 | --- |
| 5 | |
| 6 | <Info> |
| 7 | Get started with [Lllama Stack](https://llama-stack.readthedocs.io/en/latest/getting_started/index.html) |
| 8 | </Info> |
| 9 | |
| 10 | <Tabs> |
| 11 | <Tab title="YAML"> |
| 12 | ```yaml title="config.yaml" |
| 13 | models: |
| 14 | - name: <MODEL_NAME> |
| 15 | provider: llamastack |
| 16 | model: <MODEL_ID> |
| 17 | apiBase: http://<LLAMA_STACK_ENDPOINT>/v1/openai/v1/ |
| 18 | ``` |
| 19 | </Tab> |
| 20 | <Tab title="JSON (Deprecated)"> |
| 21 | ```json title="config.json" |
| 22 | { |
| 23 | "models": [ |
| 24 | { |
| 25 | "title": "<MODEL_NAME>", |
| 26 | "provider": "llamastack", |
| 27 | "model": "<MODEL_ID>", |
| 28 | "apiBase": "http://<LLAMA_STACK_ENDPOINT>/v1/openai/v1/" |
| 29 | } |
| 30 | ] |
| 31 | } |
| 32 | ``` |
| 33 | </Tab> |
| 34 | </Tabs> |