It is important to keep the agent producing sentences that are correct both grammatically and semantically and keeping them competitive at the same time.
a common strategy is to train agents using supervised learning to learn natural language and to use reinforcement learning to optimize models' performance using on goaloriented learning.