mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-10-28 08:31:25 +00:00
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.
7 lines
185 B
Bash
Executable File
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
|