The AI uses OpenAI embeddings from previous tickets, knowledge base articles, and uploaded files to generate suggested replies. This helps to speed up response times and ensure consistency in responses.