How did Plato say that the poet's inspiration was formed?

Plato's chapter on inspiration is mainly Ian. Ian is a dialogue between Socrates and the poet Ian. At first, Ian, a poet who recited poems, thought that he was skilled and could successfully explain Homer. But Socrates suggested that Ian could not explain the contradictions of other poets with skill, and neither could Ian. So Socrates suggested that poets and reciting poems were not created by skill, but by inspiration from God. "Poets ... can't write, can't write poems, can't speak for God unless they get inspiration and lose common sense." . Wizards are psychologically dominated by confusion when they dance, and so are poets when they write poems. (Wu Yifu, Jiang Kongyang, 1979) Plato expressed his inspiration theory through Socrates.