Skip to content

Evaluate local entity and relation extraction #1458

Backlog

Description

@zlareb1

Component

Memory and search

Use case

A team wants to extract service names, owners and dependencies from short technical notes on its own machine. Loom can already run its general-purpose extractor against a local model server. A smaller model built for span and relation extraction may reduce the compute needed for this narrow task.

Describe the solution you'd like

Test an opt-in local extractor on a labeled corpus of synthetic service ownership and dependency notes. Start with a fixed set of entity and relation types. Feed candidates through Loom's existing extraction and graph projection contracts.

  • Attach the matched spans, source revision, extractor version and relation direction. Run under existing model, scope and retention policy. Verify that reprocessing or erasing the source retires its derived rows.
  • Compare against explicit writer-supplied entities and the existing general-purpose extraction path, including a supported local chat model. Use the same labeled inputs and report precision, recall, span accuracy, wrong-direction relations, CPU throughput, peak memory, cold start and time spent correcting candidates.
  • Include missing labels, negated dependencies, ambiguous names and an unavailable local model. Report unsupported or skipped extraction so downstream callers can see coverage.
  • Publish the fixture, model versions, hardware and constraints. Use the measured quality and compute trade-off to decide whether to add first-class support.

Describe alternatives you've considered

Local chat models already cover the general extraction workflow. This experiment tests a smaller extractor for a declared set of entity and relation types.

Where the need comes from

An AI tool suggested this feature

Additional context

Part of the knowledge-factory roadmap in #1232. Reuse the existing extraction controls and the graph's source tracking. Extraction pipeline · Entity graph

Activity

  1. added
    enhancement
    help wanted
    up-for-grabs
    on Nov 25, 2026
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

    enhancementhelp wantedup-for-grabs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions