curl-embedding-server.sh 185 B

123456
  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