E.g., check this out, I asked ChatGPT to "List the three properties of a metric space. Then discuss whether commonly used loss functions such as mean squared error and the cross-entropy loss are proper metrics."