Always check with your professors about their policy for AI use, and seek clarification if you need it. Your professors may forbid it completely or allow you to use it for some tasks or in some cases. If you are not sure about a particular use - just ask!