Package embedtest holds a deterministic embedder for tests. It makes no
network call and counts how often it was asked to embed, so a test can
prove a refused call never reached it.
type Hash struct {
// contains filtered or unexported fields
}
Hash is a bag-of-words embedder: each word adds one to a hashed dimension.
Texts that share words score higher, so ranking tests can reason about
order. It is safe for concurrent use.