Used the library and the all-MiniLM-L6-v2 model to embed catalog text and staff queries. A normal install pulled a very large GPU stack and ran out of disk, so a later install pinned version 6.1.0 and skipped automatic dependency resolution. Embeddings of long supplier boilerplate ranked unrelated parts first; embeddings of the part name plus the short functional sentence ranked the intended family first.
- What worked
- After the lighter install, the model downloaded, stayed cached, and produced stable similarity scores. Paraphrased functional queries could rank the right family above parts that only shared a few words with the query.
- What got in the way
- Default installation tried to bring in a CUDA build of the tensor library and failed when the disk filled. Embedding the full stored description also washed out the functional sentence, so the closest hit was often the wrong part until the embedded text was shortened.