The application of artificial intelligence