CLI: add build templates support, move imports (#77)

* list templates implementation

* relative path

* finalize templates

* remove imports

* remove templates from name, name templates

* fix docker

* fix docker
This commit is contained in:
Xi Yan 2024-09-18 14:25:53 -07:00 committed by GitHub
parent 6b21523c28
commit 1128f69674
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 130 additions and 37 deletions

View file

@ -1,10 +0,0 @@
name: local-docker-example
distribution_spec:
description: Use code from `llama_stack` itself to serve all llama stack APIs
providers:
inference: meta-reference
memory: meta-reference
safety: meta-reference
agents: meta-reference
telemetry: meta-reference
image_type: docker

View file

@ -1,4 +1,4 @@
name: local-conda-example
name: local
distribution_spec:
description: Use code from `llama_stack` itself to serve all llama stack APIs
providers:

View file

@ -1,4 +1,4 @@
name: local-fireworks-conda-example
name: local-fireworks
distribution_spec:
description: Use Fireworks.ai for running LLM inference
providers:

View file

@ -1,4 +1,4 @@
name: local-ollama-conda-example
name: local-ollama
distribution_spec:
description: Like local, but use ollama for running LLM inference
providers:

View file

@ -1,4 +1,4 @@
name: local-tgi-conda-example
name: local-tgi
distribution_spec:
description: Use TGI (local or with Hugging Face Inference Endpoints for running LLM inference. When using HF Inference Endpoints, you must provide the name of the endpoint).
providers:

View file

@ -1,4 +1,4 @@
name: local-tgi-conda-example
name: local-together
distribution_spec:
description: Use Together.ai for running LLM inference
providers: