Knowledge Restoration Driven Prompt Optimization

Iteratively optimize LLM prompts for information extraction tasks using self-evaluation feedback loops. Applies the KRPO framework: extract structured data, restore it to natural language, score semantic consistency via NLI, then generate textual gradients to refine the prompt. Includes relation canonicalization to deduplicate and normalize extracted schemas. Trigger phrases: - "Extract relations from text and optimize the prompt" - "Build a self-improving extraction pipeline" - "Optimize my prompt for triplet extraction" - "Extract knowledge graph triples from unstructured text" - "Set up iterative prompt refinement with feedback" - "Canonicalize extracted relations across documents"

ndpvt-web 48b09f7 15.6 KB Updated

File contents

ndpvt-web/arxiv-claude-skills/tree/main/skills/knowledge-restoration-driven-prompt-optimization commit 48b09f7825

Frequently asked questions

npx skillmds@latest add ndpvt-web/knowledge-restoration-driven-prompt-optimization