packset-embed-0.9.3 is not a library.
packset-embed: the dense projection as a separate process. One JSON line
in, one out, flushed, until the input closes; keep it open, loading the
model is the cost.
$ echo '{"id":"a","text":"Prefer ripgrep for search."}' | packset-embed
{"id":"a","v":[...]}
$ echo '{"id":"q","text":"which search tool"}' | packset-embed --query
Documents and questions take different prefixes per model family (BGE instructs the question, E5 prefixes both), applied here beside the name.