I am assuming this means that you want a function to map the distance between two points to the range of 0 to 1.
```csharp
float MapDistanceToRange(float x, float y) {
    float mappedDistance = (x - y) / (Mathf.Max(x,y));
    return Mathf.Clamp(mappedDistance, 0, 1);
}
```
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence