The ancient Chinese equivelent of a Japanese geisha. Both groups are still confused as being high class- prostitutes (a.k.a. courtesans), though there jobs strictly involved entertaining their clients through music and poetry.
It was rare when yiji and geisha engaged in sexual activity with their clients.
I read that one of my ancestors was a Yiji during the Song Dynasty.