TdAI / llama.cpp /examples /model-conversion /scripts /utils /curl-embedding-server.sh
tda45's picture
Upload folder using huggingface_hub (part 3)
1debbd5 verified
Raw
History Blame Contribute Delete
193 Bytes
#!/usr/bin/env bash
curl --request POST \
--url http://localhost:8080/embedding \
--header "Content-Type: application/json" \
--data '{"input": "Hello world today"}' \
--silent