In the chain-of-thought reasoning scenario, where the demonstrations contain reasoning process, we need to maximize the likelihood of Answer \(\mathcal{A}\) and rationale \(\mathcal{R}\), as shown in Equ (3,4,5,6).