GPT hallucinating

Hi guys just re-started using cursor , was very excited before, but is gpt-4 hallucinating right now ? Shadcn is clearly a UI library but it is making it out to be some state Management library Instead. How can we reduce the hallucination ?

is there a way for Cursor to read the URL documentation of certain libraries and help me write code please help

You can use the Custom Docs feature.