ishaq101's picture sofhiaazzhr's picture
/feat knowledge management (#20)
b68816f
Raw History Blame Contribute Delete
1.33 kB
"""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",
]