A government AI tool used to test public feeling on different issues is to be rolled out nationwide.