And how would I go about implementing such an application? How does AI work?