First specify the performance you expect.
- Vin off to on range, VL
- Vin on to off range, VH
- Hysteresis is required by % positive feedback ratio of Vcc
- Vref determines middle of VH,
- potentiometer voltage range relative to Vref, determines if you want fixed R on either side of pot.
IOL = relay coil current, open collector drive.
I assume you want LOW Side switch for relay with reverse diode clamp across coil so + in to activate relay Vol ( V_out_low) at Iol (I_out_low) which switches relay from LOW side.
Please design this way like any data sheet. Then schematic is easier to create from your specs.