LLM-assisted KB miner: bounded candidate learning via llm.starintel.actor 27B #93

Open
opened 2026-09-20 01:19:24 +00:00 by nsaspy · 0 comments
Owner

Parent: corpus workbench epic.

Goal

Mine the durable llm-log expert KB and corpus analytics for candidate reusable facts/rules using the operator's 27B model served by llm.starintel.actor.

Model configuration

  • OpenAI-compatible base URL: configurable, default https://llm.starintel.actor.
  • Do not guess a model ID in source.
  • Support an operator override plus runtime auto:27b discovery from /v1/models.
  • Auto discovery must select exactly one explicitly reported 27B model or fail clearly.
  • Credentials remain runtime secrets, never Nix-store values/capture logs.

Bounded mining loop

  1. execute a declared indexed Tek9 query with finite page/batch size;
  2. construct a prompt from only that bounded evidence set;
  3. request candidate fact/rule/classification improvements from the model;
  4. validate against typed schemas + Prolog syntax/declared predicate allowlist;
  5. persist candidate + source IDs + model ID + prompt hash + query + timestamp;
  6. test candidates against held-out/historical evidence;
  7. publish/promote only through an explicit versioned rule transition.

The miner never receives the full corpus/KB.

Outputs

  • candidate facts
  • candidate Prolog rules
  • taxonomy/classification suggestions
  • failure/retry patterns
  • cost/quality correlations
  • evidence-backed report text

Acceptance

Every learned candidate is reproducible from a finite evidence manifest and can be rejected/superseded without changing raw evidence.

Parent: corpus workbench epic. ## Goal Mine the durable llm-log expert KB and corpus analytics for candidate reusable facts/rules using the operator's 27B model served by `llm.starintel.actor`. ## Model configuration - OpenAI-compatible base URL: configurable, default `https://llm.starintel.actor`. - Do not guess a model ID in source. - Support an operator override plus runtime `auto:27b` discovery from `/v1/models`. - Auto discovery must select exactly one explicitly reported 27B model or fail clearly. - Credentials remain runtime secrets, never Nix-store values/capture logs. ## Bounded mining loop 1. execute a declared indexed Tek9 query with finite page/batch size; 2. construct a prompt from only that bounded evidence set; 3. request candidate fact/rule/classification improvements from the model; 4. validate against typed schemas + Prolog syntax/declared predicate allowlist; 5. persist candidate + source IDs + model ID + prompt hash + query + timestamp; 6. test candidates against held-out/historical evidence; 7. publish/promote only through an explicit versioned rule transition. The miner never receives the full corpus/KB. ## Outputs - candidate facts - candidate Prolog rules - taxonomy/classification suggestions - failure/retry patterns - cost/quality correlations - evidence-backed report text ## Acceptance Every learned candidate is reproducible from a finite evidence manifest and can be rejected/superseded without changing raw evidence.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nsaspy/llm-log#93
No description provided.