Text this: Two classes of nearly optimal codebooks from generalized bent $ \mathbb{Z}_{4} $-valued quadratic forms.