aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-06-14 10:26:38 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-06-14 10:26:38 +0200
commit347ba945ec5bea9326c474561f7ddad21b636651 (patch)
tree91faffdd3d79a066f3a0763db62a6bf008093c0b
parenta33e5395ae1bc968c8fa007963b36327de582a99 (diff)
downloadffwd-347ba945ec5bea9326c474561f7ddad21b636651.tar.gz
ffwd-347ba945ec5bea9326c474561f7ddad21b636651.zip
docs: fix CLI name in comments
-rw-r--r--embed_server.c5
-rwxr-xr-xtools/rank_embeddings.py2
2 files changed, 2 insertions, 5 deletions
diff --git a/embed_server.c b/embed_server.c
index d494dc7..7388a4d 100644
--- a/embed_server.c
+++ b/embed_server.c
@@ -3032,7 +3032,7 @@ int embed_run_server(const embed_server_config_t *cfg) {
}
/* ====================================================================
- * pplx-embed-server entry point
+ * embed-server entry point
* ==================================================================== */
#ifndef EMBED_SERVER_TEST
@@ -3041,9 +3041,6 @@ static void print_usage(const char *prog)
fprintf(stderr,
"Usage: %s --model ID=DIR [options]\n"
"\n"
- "Serves POST /v1/embeddings, /v1/contextualizedembeddings, and\n"
- "/v1/rerank.\n"
- "\n"
"Options:\n"
" --model ID=DIR Model to serve (repeatable)\n"
#ifdef USE_MLX
diff --git a/tools/rank_embeddings.py b/tools/rank_embeddings.py
index c547a41..c8622a0 100755
--- a/tools/rank_embeddings.py
+++ b/tools/rank_embeddings.py
@@ -2,7 +2,7 @@
"""Rank stdin JSON embeddings by cosine similarity to a query row.
Usage:
- ./pplx-embed ... --stream <<'EOF' | scripts/rank_embeddings.py
+ ./embed ... --stream <<'EOF' | scripts/rank_embeddings.py
query: what is the capital of France?
document: Paris is the capital of France.
document: Berlin is the capital of Germany.