Families of Dirac operators and affine quantum groups