From: Daniel Bevenius Date: Wed, 3 Sep 2025 07:48:35 +0000 (+0200) Subject: model-conversion : add missing curl script [no ci] (#15761) X-Git-Tag: upstream/0.0.6527~164 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=8c3fdf44ecf08335942f2ba558955f55e88c7991;p=pkg%2Fggml%2Fsources%2Fllama.cpp 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. --- diff --git a/examples/model-conversion/scripts/utils/curl-embedding-server.sh b/examples/model-conversion/scripts/utils/curl-embedding-server.sh new file mode 100755 index 00000000..b6898665 --- /dev/null +++ b/examples/model-conversion/scripts/utils/curl-embedding-server.sh @@ -0,0 +1,6 @@ +#!/bin/bash +curl --request POST \ + --url http://localhost:8080/embedding \ + --header "Content-Type: application/json" \ + --data '{"input": "Hello world today"}' \ + --silent