#!/bin/sh host=http://127.0.0.1:15000 echo "=== /models ===" curl -s "$host/models" echo echo "=== /salience ===" curl -s -H "Content-Type: text/plain" --data-binary "The cat sat on the mat. The dog chased the cat." "$host/salience?model=all-mpnet-base-v2" echo