Who is the Īśvara of the Yogasūtra/Pātañjalayogaśāstra?

Is Īśvara in the Yogasūtra/Pātañjalayogaśāstra just the model of a puruṣa who has realised its being separated from nature? Or is He an omnipotent (and perhaps compassionate) God?