  We consider the generating series of appropriately completed 0-dimensional
special cycles on a toroidal compactification of an orthogonal or unitary
Shimura variety with values in the Chow group. We prove that it is a
holomorphic Siegel, respectively Hermitian, modular form
