I have asked ChatGPT the above question, and it said the the key is to look at the noun or concept after "of" and make the verb agree with whether it is singular or plural in that context.

However, the examples that ChatGPT provided makes me feel more confused. For example,
1. The details of the conference have been released.

If I use the rule from ChatGPT, I should look at the word "conference", and use "has". However, it said the correct verb form is "have".

Another example like:
2. The list of ingredients calls for many spices.

According to the rule from ChatGPT, "Ingredients" is plural, then the verb follow this phrase should be "call" instead of "calls". But it said "calls" is the correct one.

I really mixed up by ChatGPT.