Wiki source code of AI Knowledge Extraction Layer (AKEL)
Version 1.2 by Robert Schaub on 2025/12/11 21:34
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | = AKEL — AI Knowledge Extraction Layer = |
| 2 | |||
| 3 | AKEL is FactHarbor’s automated intelligence subsystem. | ||
| 4 | Its purpose is to reduce human workload, enhance consistency, and enable scalable knowledge processing — **without ever replacing human judgment**. | ||
| 5 | |||
| 6 | All AKEL outputs are marked with **AuthorType = AI** and require human approval before publication. | ||
| 7 | |||
| 8 | AKEL operates in two modes: | ||
| 9 | |||
| 10 | * **Single-node mode** (POC & Beta 0) | ||
| 11 | * **Federated multi-node mode** (Release 1.0+) | ||
| 12 | |||
| 13 | Human reviewers, experts, and moderators always retain final authority. | ||
| 14 | |||
| 15 | ---- | ||
| 16 | |||
| 17 | == Purpose and Role == | ||
| 18 | |||
| 19 | AKEL transforms unstructured inputs into structured, review-ready drafts. | ||
| 20 | |||
| 21 | Core responsibilities: | ||
| 22 | |||
| 23 | * Claim extraction from arbitrary text | ||
| 24 | * Claim classification (domain, type, evaluability, safety) | ||
| 25 | * Scenario generation (definitions, boundaries, assumptions, methodology) | ||
| 26 | * Evidence summarization and metadata extraction | ||
| 27 | * Contradiction detection | ||
| 28 | * Re-evaluation proposal generation | ||
| 29 | * Cross-node embedding exchange (Release 1.0+) | ||
| 30 | |||
| 31 | ---- | ||
| 32 | |||
| 33 | == Components == | ||
| 34 | |||
| 35 | * **AKEL Orchestrator** – central coordinator | ||
| 36 | * **Claim Extractor** | ||
| 37 | * **Claim Classifier** | ||
| 38 | * **Scenario Generator** | ||
| 39 | * **Evidence Summarizer** | ||
| 40 | * **Contradiction Detector** | ||
| 41 | * **Embedding Handler** (Release 1.0+) | ||
| 42 | * **Federation Sync Adapter** (Release 1.0+) | ||
| 43 | |||
| 44 | ---- | ||
| 45 | |||
| 46 | == Inputs and Outputs == | ||
| 47 | |||
| 48 | === Inputs === | ||
| |
1.2 | 49 | |
| |
1.1 | 50 | * User-submitted claims or evidence |
| 51 | * Uploaded documents | ||
| 52 | * URLs or citations | ||
| 53 | * External LLM API (optional) | ||
| 54 | * Embeddings (from local or federated peers) | ||
| 55 | |||
| 56 | === Outputs (all require human approval) === | ||
| |
1.2 | 57 | |
| |
1.1 | 58 | * ClaimVersion (draft) |
| 59 | * ScenarioVersion (draft) | ||
| 60 | * EvidenceVersion (summary + metadata draft) | ||
| 61 | * VerdictVersion (draft; internal only) | ||
| 62 | * Contradiction alerts | ||
| 63 | * Re-evaluation proposals | ||
| 64 | * Updated embeddings | ||
| 65 | |||
| 66 | ---- | ||
| 67 | |||
| 68 | == Architecture Overview == | ||
| 69 | |||
| |
1.2 | 70 | {{include reference="FactHarbor.Archive.Diagrams v0\.8q.AKEL Architecture.WebHome"/}} |
| |
1.1 | 71 | |
| 72 | ---- | ||
| 73 | |||
| 74 | == AKEL and Federation == | ||
| 75 | |||
| 76 | In Release 1.0+, AKEL participates in cross-node knowledge alignment: | ||
| 77 | |||
| 78 | * Shares embeddings | ||
| 79 | * Exchanges canonicalized claim forms | ||
| 80 | * Exchanges scenario templates | ||
| 81 | * Sends + receives contradiction alerts | ||
| 82 | * Never shares model weights | ||
| 83 | * Never overrides local governance | ||
| 84 | |||
| 85 | Nodes may choose trust levels for AKEL-related data: | ||
| 86 | |||
| 87 | * Trusted nodes: auto-merge embeddings + templates | ||
| 88 | * Neutral nodes: require reviewer approval | ||
| 89 | * Untrusted nodes: fully manual import | ||
| 90 | |||
| 91 | ---- | ||
| 92 | |||
| 93 | == Human Approval Workflow == | ||
| 94 | |||
| 95 | 1. AKEL generates draft outputs (AuthorType = AI) | ||
| 96 | 2. Reviewers inspect and approve/moderate the drafts | ||
| 97 | 3. Experts validate high-risk or domain-specific outputs | ||
| 98 | 4. Moderators finalize publication | ||
| 99 | 5. Version numbers increment, history preserved | ||
| 100 | |||
| 101 | No AKEL output is ever published automatically. | ||
| 102 | |||
| 103 | ---- |