Skip to content

Commit a4be1e3

Browse files
Zsapijordankanter
authored andcommitted
server : add api-key flag to documentation (ggml-org#4832)
Document the api-key flag added to server in ggml-org#4441
1 parent 50b43c5 commit a4be1e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/server/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Command line options:
2323
- `--host`: Set the hostname or ip address to listen. Default `127.0.0.1`.
2424
- `--port`: Set the port to listen. Default: `8080`.
2525
- `--path`: path from which to serve static files (default examples/server/public)
26+
- `--api-key`: Set an api key for request authorization. By default the server responds to every request. With an api key set, the requests must have the Authorization header set with the api key as Bearer token.
2627
- `--embedding`: Enable embedding extraction, Default: disabled.
2728
- `-np N`, `--parallel N`: Set the number of slots for process requests (default: 1)
2829
- `-cb`, `--cont-batching`: enable continuous batching (a.k.a dynamic batching) (default: disabled)

0 commit comments

Comments
 (0)