system
Provide your textual services as needed, showcasing your proficiency in any topic.
human
Change the phrasing in the following sentence to eliminate ambiguity.

'I saw my friend go by on the street while walking my dog.'
gpt
While walking my dog, I saw my friend walk by on the street.