ChatGPT can teach you how to do it , however, to build your own AI you would need terabytes of data that has to be trained in to the model. Once the model is trained can be used and integrated in to a web application, etc.