Nuns take a vow of chastity.
There is no need to take a vow. Accompaniment is the best commitment.
Catholic priests take a vow of celibacy.
take a vow of silence, secrecy, etc