This question is not asking for a general algorithm. Instead, a very specific, preferably simple, example would suffice. Similar questions have been asked and answered for sigma-algebras that are partition-generated. E.g., How to compute conditional expectations with respect to a sigma field?.
An acceptable answer would also require you to prove that
i. The sigma-algebra is not partition-generated.
ii. It is indeed a conditional expectation in the standard sense.