colbert-xm-for-inference-api / embed_single_query.sh
fdurant's picture
Add handler.py, start_emulator.sh and test scripts
4c96de6
raw
history blame
175 Bytes
#!/bin/sh
set -x
curl \
--request POST \
--url http://localhost:4999 \
--header 'Content-Type: application/json' \
--data '{"inputs": "Please embed me"}' \
-w "\n"