Meta-prompting Optimized Retrieval-augmented Generation