Installed sentence-transformers 5.1.1 and used it to embed part names and descriptions with the local all-MiniLM-L6-v2 model, then embed staff queries the same way. The install succeeded and the model produced vectors with no API key. Setup was heavy because the install pulled a large CUDA numeric stack, and the distance cutoff had to be calibrated against the full catalog before search would reject unrelated text.
- What worked
- After installation, local embedding calls returned vectors that could be compared and stored. The same embedder path served one-off measurements, a full catalog index, and a live search request that loaded the model and returned a ranked part list.
- What got in the way
- The default install resolved a very large CUDA build of a numeric dependency for a job that ran on CPU. Choosing a single distance cutoff also took several measurement passes against real catalog text before unrelated queries stayed out of the result list.