Skip to content

Commit 8c3fdf4

Browse files
authored
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.
1 parent f6da8cb commit 8c3fdf4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
curl --request POST \
3+
--url http://localhost:8080/embedding \
4+
--header "Content-Type: application/json" \
5+
--data '{"input": "Hello world today"}' \
6+
--silent

0 commit comments

Comments
 (0)