How can Zia analyse my notes when they are encrypted?

How can Zia analyse my notes when they are encrypted?

I like the features it provides, bit since you say only i can read my notes how can zia for example know which notes would be fitting for a note, unless its done clientside? How much and how does Zia collect data?