1
0

curl-embedding-server.sh 193 B

123456
  1. #!/usr/bin/env 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