kikocis/llama-stack public
Changesets · Branches · Tags · Compare
| Changeset | 9b2105b161e4d624fbf29f6fa1346fe1badd6911b53c5ef6a9c306b385181d0f |
|---|---|
| Author | Ashwin Bharambe <ashwin.bharambe@gmail.com> · 2024-09-17 19:56 -07:00 |
| Committer | Ashwin Bharambe <ashwin.bharambe@gmail.com> · 2024-09-17 19:56 -07:00 |
| Parents | 7e907e713048 |
2 files changed
modified docs/cli_reference.md +1 −1
| @@ -500,7 +500,7 @@ | ||
| 500 | 500 | Similarly you can test safety (if you configured llama-guard and/or prompt-guard shields) by: |
| 501 | 501 | |
| 502 | 502 | ``` |
| 503 | -python -m llama_stack.safety.client localhost 5000 | |
| 503 | +python -m llama_stack.apis.safety.client localhost 5000 | |
| 504 | 504 | ``` |
| 505 | 505 | |
| 506 | 506 | You can find more example scripts with client SDKs to talk with the Llama Stack server in our [llama-stack-apps](https://github.com/meta-llama/llama-stack-apps/tree/main/sdk_examples) repo. |
modified llama_stack/providers/impls/meta_reference/safety/shields/contrib/third_party_shield.py +1 −1
| @@ -8,7 +8,7 @@ | ||
| 8 | 8 | |
| 9 | 9 | from llama_models.llama3.api.datatypes import Message |
| 10 | 10 | |
| 11 | -from llama_stack.safety.meta_reference.shields.base import ( | |
| 11 | +from llama_stack.providers.impls.meta_reference.safety.shields.base import ( | |
| 12 | 12 | OnViolationAction, |
| 13 | 13 | ShieldBase, |
| 14 | 14 | ShieldResponse, |