This is an archived article that was published on sltrib.com in 2016, and information in the article may be outdated. It is provided only for personal research purposes and may not be reprinted.

Microsoft is in damage control mode after Twitter users exploited its new artificial intelligence chat bot, teaching it to spew racist, sexist and offensive remarks.

The company introduced earlier this week to chat with real humans on Twitter and other messaging platforms. The bot learns by parroting comments and then generating its own answers and statements based on all of its interactions.

It was supposed to emulate the casual speech of a stereotypical millennial. The Internet took advantage and quickly tried to see how far it could push Tay.

The worst tweets are quickly disappearing from Twitter, and Tay itself has now also gone offline "to absorb it all."

Some Twitter users appear to think Microsoft also had manually banned people from interacting with the bot. Others are asking why the company didn't build filters to prevent Tay from discussing certain topics, such as the Holocaust.

"The AI chatbot Tay is a machine learning project, designed for human engagement," Microsoft said in a statement. "It is as much a social and cultural experiment, as it is technical. Unfortunately, within the first 24 hours of coming online, we became aware of a coordinated effort by some users to abuse Tay's commenting skills to have Tay respond in inappropriate ways. As a result, we have taken Tay offline and are making adjustments."

The bot was targeted at 18- to 24-year-olds in the U.S. and meant to entertain and engage people through casual and playful conversation, according to Microsoft's website.

Tay was built with public data and content from improvisational comedians. It's supposed to improve with more interactions, so should be able to better understand context and nuances over time.

The bot's developers at Microsoft also collect the nickname, gender, favorite food, zip code and relationship status of anyone who chats with Tay.

In less than a day, Twitter's denizens realized Tay didn't really know what it was talking about and that it was easy to get the bot to make inappropriate comments on any taboo subject.

People got Tay to deny the Holocaust, call for genocide and lynching, equate feminism to cancer and stump for Adolf Hitler.

Tay parroted another user to spread a Donald Trump message, tweeting, "WE'RE GOING TO BUILD A WALL. AND MEXICO IS GOING TO PAY FOR IT." Under the tutelage of Twitter's users, Tay even learned how to make threats and identify "evil" races.

Tay is an experiment by Microsoft's Technology and Research and Bing search engine teams to learn more about conversations.

These kinds of efforts are important to develop better technology around natural language processing that could eventually lead to more sophisticated bots that are easier for people to use.

Currently assistant tools such as Microsoft's Cortana and Apple's Siri can only handle simple, straightforward requests and aren't able to process nuanced questions or apply contextual understanding of speech patterns such as sarcasm.