Narrow ai is designed to perform specific tasks, such as speech recognition or self-driving cars, while general ai aims to possess human-like intelligence and function across a wide range of tasks.