Files
llama.cpp/examples/model-conversion/scripts/utils/curl-embedding-server.sh
Daniel Bevenius 8c3fdf44ec model-conversion : add missing curl script [no ci] (#15761)
This commit adds a curl script to the model-conversion examples
which is currently missing. This script is required for the running the
embedding server targets to test llama-server embeddings functionality.
2025-09-03 09:48:35 +02:00

7 lines
185 B
Bash
Executable File

#!/bin/bash
curl --request POST \
--url http://localhost:8080/embedding \
--header "Content-Type: application/json" \
--data '{"input": "Hello world today"}' \
--silent