Valmiki Ramayana Sundara Kanda Sarga 58 Shloka 91
Original Shlokaसम्भाषणार्थं च मया जानक्याश्चिन्तितो विधिः।।5.58.91।। इक्ष्वाकूणां हि वंशस्तु ततो मम पुरस्कृतः।
1 source checked for this shloka
मया I am, जानक्याः with Janaki, सम्भाषणार्थम् to enter into conversation, विधि strategy, चिन्तितः thought, ततः that, इक्ष्वाकूणाम् in Ikshvaku, वंशस्तु in the race, मम my, पुरस्कृतः to praise.
"I thought of a strategy to enter into conversation with Janaki that is to praise the Ikshvaku race.