Hard to say without seeing it.
The AI is pretty basic though. If it can't find an unobstructed shot then it will often do something silly. It also doesn't understand bank shots or consider what could happen if it hit the other balls on the table.
I had some ideas about making it smarter, but ran out of space to implement them :)