Depending on the sophistication of the AI and its application, it can be programmed in a variety of ways. For simple chatbots, all that’s really required is a scripting language such as Python and a relatively small training dataset. More robust applications require entire systems running across a distributed network or in the cloud.