AI Meet Text2Reward: A Data-Free Framework that Automates the Generation of Dense Reward Functions Based on Large Language Models