Liu Cheng, a modern-day programming prodigy, was accidentally electrocuted while conducting an AI experiment and transmigrated to the prosperous Tang Dynasty. His AI assistant, Xiaoling, came along too, attaching itself to his jade pendant. With an immense store of knowledge, Xiaoling could quickly search through poetry from ancient and modern times. After fierce competition in Chang’an, the Tang capital, Liu Cheng and his companions defeated the conspirators and saved the poetry contest. With his own talent and Xiaoling’s help, Liu Cheng won the title of “Poetry Immortal” and became a cultural legend of the Tang Dynasty.