Data source function for fetching optimizer training data. Must support pagination and return data with unique IDs.