Searching for Best Practices in Retrieval-Augmented Generation