Ab initio calculations of the rate coefficients for dielectronic recombination (DR) of Co-like Ag and Ta ions are performed based on Cowan's quasi-relativistic multi-configuration Hartree-Fock code. Co-like (3s23p63d10)-1configurations and Ni-like (3s23p63d10)-24l4l' autoionization configurations are included in the present calculation.Because of the extensive distribution of autoionization state energy levels, the DR rate coefficients cannot be reproduced or interpolated by a simple analytical formula, such as the Burgess-Merts formula, or the Hagelstein approximation.We propose to use multi-set Hagelstein parameters, which is convenient in practice and can reproduce well the ab initio calculated DR rate coefficients.