import numpy as np from sentence_transformers import SentenceTransformer MODEL_ID = "sentence-transformers/all-MiniLM-L6-v2" DOCUMENTS = [ "Reset a forgotten password from the profile security page.", "Export paid invoices from the billing dashboard.", "Rotate API tokens before sharing an integration.", "Change the notification email address for alerts.", "Create a vector index for semantic document search.", "Archive old support tickets after the retention period.", "Review failed background jobs from the worker dashboard.", "Update the workspace theme for a user profile.", ] TARGET_DEVICES = ["cpu", "cpu"]