Skip to content

Map: Hybrid retrieval — the typed graph as an index into turns #390

Description

@antejavor

Destination

A retrieval design for the context graph that uses the typed graph as an index into turn text. It's implemented as the sessions-graph read path. Target: 80–90% correct end to end on a trustworthy judge, with an understanding of what each stage contributes and why it works.

The eval side exists as a starting point in #389: --retrieval-strategy hybrid, with lanes for turn vectors, turn full text, entities and their edges, facts by source sentence, and the user's facts across sessions. This map decides what of it becomes the product, how, and on what evidence.

Why this map exists

Map #344 made the graph hold typed, time-anchored facts (merged in #373). Reading it back has so far shown:

Notes

Decisions so far

Not yet specified

Not pursued, since the target is met; reopen only if a new measurement calls for it:

  • Whether retrieval should iterate (answer, find what's missing, retrieve again) or stay single-pass.
  • How the lanes weight and budget against each other.
  • Answering over aggregates: largely closed by the answer prompt (multi-session 4/26 → 13–15/26, temporal 7/26 → 22/26); the remaining misses split between partial retrieval and answer noise.

Out of scope

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions