Yeah we devs call that deduplication.
Not so fable, this llm thing if it's missing a literal pyramid in the room