  The current ongoing advancements in AI have shed light on the landscape of
numerical analysis in science. Inspired by the path of achievement of AI, we
have developed a method to construct accurate ground state wave functions of
multiquark configurations within a quark model. We successfully tested our
method through comparisons with meson-type two-body systems with analytic and
numerical solutions. We then applied our method to find the ground-state
solutions of $T_{cc}$($ud\bar{c}\bar{c}$) and $T_{bb}$($ud\bar{b}\bar{b}$)
states. Our findings indicate that our approach outperforms existing methods,
achieving greater accuracy in reproducing highly intricate configurations.
Within the model parameters, we find that the $T_{cc}$ is a compact multiquark
configuration.
