What is the relationship between Di Renjie and Li Yuanfang?

Di Renjie and Li Yuanfang are superior and subordinate, while Li Yuanfang is Di Renjie's assistant. In different cultural works and games, the relationship between them may be different. For example, in some games, they are set as partners, but historically, Di Renjie was a famous politician and judge in the Tang Dynasty, while Li Yuanfang was a fictional character in literature and drama, active around Di Renjie. Di (630-700) was born in Qixi, and his ancestral home was Taiyuan (now Taiyuan, Shanxi). Prime minister and famous minister of Tang Dynasty. Born into an ordinary bureaucratic landlord family. I began to study hard and concentrate on my studies since I was a child. After the Ming Dynasty, he served as Bianzhou judge, doctor, Fuzhou secretariat and Luozhou Sima. In September of the following year (69 1), he was promoted to prime minister. Four months later, he was falsely accused of rebellion by a brutal official, came to Chen Jun, took his position, went to prison, and was demoted to Pengze county magistrate. Yingzhou rebellion, recovered. In the first year of Shengong (697), Di Renjie made another visit. In the meantime, he advised Wu Zetian's expedition to Xinjiang, thinking that the main energy should be put on rectifying internal affairs and strengthening national strength. His views were endorsed by people of insight such as Wu Zetian and Wei, an important North Korean official. Later, the Tang Dynasty rehabilitated and risked his life to remonstrate, prompting Wu Zetian to make up his mind to recall Li Xian, the king of Luling, and make him a prince. In the second year of the holy calendar (699), it was promoted to civil history. He died in September of the third year of the Gregorian calendar (700). Buried in the southeast of Baima Temple.