func sendPrompt() async {
   do {
      let promptBuilder = Prompt {
         prompt
         if prompt.contains("cat") {
            "Mention that the cat is wearing a hat"
         }
         "Write the text in short sentences"
      }
      let answer = try await session.respond(to: promptBuilder)
         
      // Add response to chat box
      var newResponse = AttributedString("\(answer.content)\n\n")
      newResponse.font = .system(size: 16, weight: .regular)
      response.append(newResponse)
   } catch {
      response.append(AttributedString("Error accessing the model: \(error)\n\n"))
   }
   prompt = ""
}