Use ControlFlow to generate test data based on a template.
result_type
template:
UserProfile
) to define the structure of our generated data. This ensures that the generation task returns well-structured, consistent results.
List[UserProfile]
as the result_type
.