meta-llama / llama-stack-client-python

Python SDK for Llama Stack
Apache License 2.0
77 stars 19 forks source link

migrate to click #25

Closed dineshyv closed 2 weeks ago

dineshyv commented 2 weeks ago

Tests:

llama-stack-client models list
+----------------------+--------------------+---------------------------------------------+------------+
| identifier           | provider_id        | provider_resource_id                        | metadata   |
+======================+====================+=============================================+============+
| Llama3.1-8B-Instruct | remote::together-0 | meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo | {}         |
+----------------------+--------------------+---------------------------------------------+------------+
❯ llama-stack-client providers list
+-----------+--------------------------+------------------------+
| API       | Provider ID              | Provider Type          |
+===========+==========================+========================+
| inference | remote::together-0       | remote::together       |
+-----------+--------------------------+------------------------+
| memory    | inline::faiss-0          | inline::faiss          |
+-----------+--------------------------+------------------------+
| memory    | remote::weaviate-1       | remote::weaviate       |
+-----------+--------------------------+------------------------+
| safety    | inline::llama-guard-0    | inline::llama-guard    |
+-----------+--------------------------+------------------------+
| agents    | inline::meta-reference-0 | inline::meta-reference |
+-----------+--------------------------+------------------------+
| telemetry | inline::meta-reference-0 | inline::meta-reference |
+-----------+--------------------------+------------------------+
❯ llama-stack-client models get Llama3.1-8B-Instruct
+----------------------+------------+--------------------+---------------------------------------------+--------+
| identifier           | metadata   | provider_id        | provider_resource_id                        | type   |
+======================+============+====================+=============================================+========+
| Llama3.1-8B-Instruct | {}         | remote::together-0 | meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo | model  |
+----------------------+------------+--------------------+---------------------------------------------+--------+
yanxi0830 commented 2 weeks ago

https://github.com/meta-llama/llama-stack-client-python/blob/main/docs/cli_reference.md

Could you attach the test runs on all these commands?