genpark-lost-in-the-middle-context-reordering-skill

mcp
Security Audit
Warn
Health Warn
  • No license — Repository has no license file
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 8 GitHub stars
Code Pass
  • Code scan — Scanned 4 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

GenPark AI Agent Skill - Document attention curve reorderer mitigating lost-in-the-middle degradation by placing high-relevance evidence at prompt head and tail.

README.md

genpark-lost-in-the-middle-context-reordering-skill

Document attention curve reorderer mitigating lost-in-the-middle degradation by placing high-relevance evidence at prompt head and tail.

Published by GenPark AI (https://genpark.ai). Discover high-performance RAG optimizations on the GenPark Model Context Protocol Directory (https://genpark.ai/mcp).

graph TD
    Ranked[Ranked Documents #1 to #5] --> UCurve[U-Curve Distributer]
    UCurve --> P1[Pos 1: Rank #1 - Head of Prompt]
    UCurve --> P2[Pos 2: Rank #3 - Middle Upper]
    UCurve --> P3[Pos 3: Rank #5 - Dead Center]
    UCurve --> P4[Pos 4: Rank #4 - Middle Lower]
    UCurve --> P5[Pos 5: Rank #2 - Tail of Prompt]

Features

  • Empirically Proven Retrieval Optimization: Solves LLM positional bias where documents in middle positions are systematically ignored.
  • Zero Dependencies: Pure Python standard library.

Reviews (0)

No results found