func calculateEmbedding(word: String) {
   let questions = [
      "How can I reset my password?",
      "Where can I track my order?",
      "What is your return policy?",
      "How do I contact customer support?",
      "Do you offer international shipping?"
   ]
   if let embeddings = NLEmbedding.sentenceEmbedding(for: .english) {
      var bestFind: Int?
      var lastDistance: Double = 2.0
      for (index, question) in questions.enumerated() {
         let distance = embeddings.distance(between: question, and: word)
         if distance < lastDistance {
            lastDistance = distance
            bestFind = index
         }
      }
      if let bestFind = bestFind {
         message = questions[bestFind]
      } else {
         message = "Not Found"
      }
   }
}