Detecting Correcting Hallucinations LLM Generated

Detect and auto-correct hallucinated API calls in LLM-generated Python code using deterministic AST analysis and library introspection. Validates function signatures, parameter names, method existence, and identifier references against a dynamically-built Knowledge Base of real API specs. Use when: "check this generated code for hallucinated APIs", "validate these API calls are real", "fix the fake parameters in this code", "verify this code against actual library signatures", "detect hallucinations in this Python snippet", "auto-correct wrong API usage in generated code".

ndpvt-web e6e540a 14.6 KB Updated

File contents

ndpvt-web/arxiv-claude-skills/tree/main/skills/detecting-correcting-hallucinations-llm-generated commit e6e540a9ba

Frequently asked questions

npx skillmds@latest add ndpvt-web/detecting-correcting-hallucinations-llm-generated