Most work in AI takes implicit philosophical positions without knowing it. It's better to know what your positions are. Learning philosophy also teaches you to make and follow certain sorts of arguments that are used in a lot of AI papers. Philosophy can be divided up along at least two orthogonal axes. Then there are schools.
Continental philosophy has a very different way of seeing which takes some getting used to.
It has been used by Dreyfus to argue that AI is impossible. More recently, a few researchers have seen it as compatible with AI and as providing an alternative approach to the problem. Philosophy at MIT is of the analytical sort, and of a school that has been heavily influenced by Chomsky's work in linguistics. This all seems like a lot to know about, and it is. There's always more to know that could be relevant.