Moreover, KnowledGPT Wang et al. (2023) and Rewrite-Retrieve-Read Ma et al. (2023) introduce approaches for query manipulation through "program of thought" prompting and innovative query rewriting techniques. KnowledGPT innovates by generating code to interface with knowledge bases, converting user queries into structured search commands. In contrast, Rewrite-Retrieve-Read utilizes a trainable compact LM for query reformulation, adjusting them to more effectively reflect the user's intent and context.