I'm reading about conditional expectation in lecture note:
Could you please explain what $\sigma(Y)$-measurable means in this context? I saw in other textbook that $\sigma(Y)$ denotes the sigma-algebra generated by the collection $Y$ of sets. But here $Y$ is a random variable.
Thank you so much!

It means that there exists a measurable function $h\colon\Omega\to\mathbb R$ such that $$\mathbb P\bigl(\mathbb E[X\mid Y]=h(Y)\bigr)=1.$$