Wrote explanation of AI API and provided template