File size: 1,325 Bytes
b68816f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
"""Domain knowledge composition - persisted entries into a semantic model.

The fourth package in the knowledge workstream, and the one that faces the
agent rather than the document:

    knowledge_parsing     file      -> ParsedDocument      (Sofhia)
    knowledge_extraction  artifact  -> candidate entries   (Rifqi)
    knowledge_ingest      orchestration, persistence, HTTP (Rifqi)
    knowledge_domain      entries   -> DomainContext       (this package)

Design: `docs/knowledge/KNOWLEDGE_DOMAIN_CONTEXT_V4.md`. Nothing here calls a
model: composition is a join over rows the pipeline already produced, which is
what makes it deterministic, checkable and free to run.
"""

from src.knowledge_domain.compose import DomainComposer
from src.knowledge_domain.models import (
    Authority,
    Conventions,
    Coverage,
    Dimension,
    DomainContext,
    DomainEntity,
    Identity,
    Measure,
    SourceRef,
    Unit,
)
from src.knowledge_domain.render import render_card, render_lookup
from src.knowledge_domain.service import KnowledgeService

__all__ = [
    "Authority",
    "Conventions",
    "Coverage",
    "Dimension",
    "DomainComposer",
    "KnowledgeService",
    "render_card",
    "render_lookup",
    "DomainContext",
    "DomainEntity",
    "Identity",
    "Measure",
    "SourceRef",
    "Unit",
]