Are you suggesting that God needed other Gods to 'learn' about human relationships?
If God is all-knowing and God created humans (and I don't mean that in the creationist sense, I mean by the process of evolution), don't you think that God would not know about human relationships?
As for God needing a relationship for Himself, God has always been one and alone, with no associates.
“And now concerning thy reference to the existence of two Gods. Beware, beware, lest thou be led to join partners with the Lord, thy God. He is, and hath from everlasting been, one and alone, without peer or equal, eternal in the past, eternal in the future, detached from all things, ever-abiding, unchangeable, and self-subsisting. He hath assigned no associate unto Himself in His Kingdom, no counsellor to counsel Him, none to compare unto Him, none to rival His glory. To this every atom of the universe beareth witness, and beyond it the inmates of the realms on high, they that occupy the most exalted seats, and whose names are remembered before the Throne of Glory.”
Gleanings From the Writings of Bahá’u’lláh, p. 192
If you think that God needs someone to relate to so He won't get lonely then I think you are anthropomorphizing God, but I cannot blame you, because you have the Christian background, and the belief that Christians hold is that God wants a personal relationship with man. God needs nothing from man, nothing at all. Moreover, no man can have a personal relationship with God, except through God's Messengers.
“Regard thou the one true God as One Who is apart from, and immeasurably exalted above, all created things. The whole universe reflecteth His glory, while
He is Himself independent of, and transcendeth His creatures.”
Gleanings, p. 166
Whatever God has enjoined us to do is only for our own benefit, not for God's benefit, since God needs nothing from humans!
“Consider the mercy of God and His gifts.
He enjoineth upon you that which shall profit you, though He Himself can well dispense with all creatures.”
Gleanings, p. 140
“
The one true God, exalted be His glory, hath wished nothing for Himself. The allegiance of mankind profiteth Him not, neither doth its perversity harm Him. The Bird of the Realm of Utterance voiceth continually this call: “All things have I willed for thee, and thee, too, for thine own sake.”
Gleanings, p. 260