Skip to content

engrammic-ai/primitives

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Engrammic Primitives

EAG schema primitives for building epistemic context systems.

Install

pip install engrammic-primitives

Usage

from primitives.schema import PersistenceLayer, MemoryLabel, KnowledgeLabel
from primitives.eag import combined_confidence, should_promote_r1

# Check persistence layer for a label
layer = PersistenceLayer.MEMORY
assert MemoryLabel.UTTERANCE.layer == layer

# Combine confidence scores
conf = combined_confidence(base=0.7, corroboration=0.85)

# Check if a claim should promote to Fact
decision = should_promote_r1(confidence=0.8, corroboration_count=3)

When to Use

Building your own EAG-compatible system or extending Engrammic.

For using Engrammic directly, see:

Learn More

Modules

Module Purpose
primitives.schema Node and edge type definitions
primitives.eag EAG-specific implementations
primitives.protocols Storage and lifecycle interfaces
primitives.scoring Decay and freshness formulas

License

Apache 2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors