Ragas also has a feature to generate ground truths and queries: https://docs.ragas.io/en/latest/getstarted/testset_generatio...
Although simply prompting an LLM with chunks of source documents might work better / cheaper - ragas tends to explode with retries in my experience.