The Mabinogion is a collection of pre-christian Welsh mythology, first recorded as appearing in the 13th century. Welsh mythology is inextricably linked to the Irish, with a great many linguistic variants having commonalities on both sides of the Irish sea.
The Mabinogion comes in four sections, known as branches. The Taliesin is seen fit to be present because of its otherwise close association to the themes in the Mabinogion itself.