Skip to content

Commit afbbcf3

Browse files
authored
server : update llama-server embedding flag documentation (ggml-org#8779)
Fixes ggml-org#8763
1 parent ed9d285 commit afbbcf3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

common/common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1634,7 +1634,7 @@ void gpt_params_print_usage(int /*argc*/, char ** argv, const gpt_params & param
16341634
options.push_back({ "server", " --host HOST", "ip address to listen (default: %s)", params.hostname.c_str() });
16351635
options.push_back({ "server", " --port PORT", "port to listen (default: %d)", params.port });
16361636
options.push_back({ "server", " --path PATH", "path to serve static files from (default: %s)", params.public_path.c_str() });
1637-
options.push_back({ "server", " --embedding(s)", "enable embedding endpoint (default: %s)", params.embedding ? "enabled" : "disabled" });
1637+
options.push_back({ "server", " --embedding(s)", "restrict to only support embedding use case; use only with dedicated embedding models (default: %s)", params.embedding ? "enabled" : "disabled" });
16381638
options.push_back({ "server", " --api-key KEY", "API key to use for authentication (default: none)" });
16391639
options.push_back({ "server", " --api-key-file FNAME", "path to file containing API keys (default: none)" });
16401640
options.push_back({ "server", " --ssl-key-file FNAME", "path to file a PEM-encoded SSL private key" });

examples/server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ server:
247247
--host HOST ip address to listen (default: 127.0.0.1)
248248
--port PORT port to listen (default: 8080)
249249
--path PATH path to serve static files from (default: )
250-
--embedding(s) enable embedding endpoint (default: disabled)
250+
--embedding(s) restrict to only support embedding use case; use only with dedicated embedding models (default: disabled)
251251
--api-key KEY API key to use for authentication (default: none)
252252
--api-key-file FNAME path to file containing API keys (default: none)
253253
--ssl-key-file FNAME path to file a PEM-encoded SSL private key

0 commit comments

Comments
 (0)