diff options
| author | Onur Gündüz <ogunduz@gmail.com> | 2026-06-14 10:26:38 +0200 |
|---|---|---|
| committer | Onur Gündüz <ogunduz@gmail.com> | 2026-06-14 10:26:38 +0200 |
| commit | 347ba945ec5bea9326c474561f7ddad21b636651 (patch) | |
| tree | 91faffdd3d79a066f3a0763db62a6bf008093c0b | |
| parent | a33e5395ae1bc968c8fa007963b36327de582a99 (diff) | |
| download | ffwd-347ba945ec5bea9326c474561f7ddad21b636651.tar.gz ffwd-347ba945ec5bea9326c474561f7ddad21b636651.zip | |
docs: fix CLI name in comments
| -rw-r--r-- | embed_server.c | 5 | ||||
| -rwxr-xr-x | tools/rank_embeddings.py | 2 |
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. |
