Skip to content
Open
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
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,14 @@ kubectl apply -k deploy/kubernetes/. -n llama

Expose your service however you would normally do that.

#### Extra steps to run on OpenShift

When deploying to OpenShift add the privileged scc to the namespace service account

```bash
oc adm policy add-scc-to-user privileged -z default -n llama
```

## OpenAI compatible API

Thanks to llama-cpp-python, a drop-in replacement for OpenAI API is available at `http://localhost:3001`. Open http://localhost:3001/docs to see the API documentation.
Expand Down