How about this?

1. replace all URLs into URL1, URL2, URL3...

2. translate to another language

3. replace back to the URLs from URL1, URL2, URL3

Reply to this note

Please Login to reply.

Discussion

LLMs don’t follow instructions reliably. It should know not to alter URLs anyway.

i think they mean preprocessing into URL1, not telling the LLM to do that