Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/local-inference/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ openshell inference get

```bash
openshell sandbox create \
--policy examples/inference/sandbox-policy.yaml \
--policy examples/local-inference/sandbox-policy.yaml \
--name inference-demo \
-- python examples/inference/inference.py
-- python examples/local-inference/inference.py
```

The script targets `https://inference.local/v1` directly. OpenShell
Expand All @@ -142,7 +142,7 @@ content=NAV_OK
```bash
openshell sandbox connect inference-demo
# Inside the sandbox:
python examples/inference/inference.py
python examples/local-inference/inference.py
```

#### 5. Cleanup
Expand Down
6 changes: 3 additions & 3 deletions examples/local-inference/routes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
#
# Usage:
# openshell-sandbox \
# --inference-routes examples/inference/routes.yaml \
# --inference-routes examples/local-inference/routes.yaml \
# --policy-rules policy.rego \
# --policy-data examples/inference/sandbox-policy.yaml \
# -- python examples/inference/inference.py
# --policy-data examples/local-inference/sandbox-policy.yaml \
# -- python examples/local-inference/inference.py

routes:
- name: inference.local
Expand Down
Loading