Skip to main content

EAG schema primitives for epistemic context management

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

engrammic_primitives-0.1.1.tar.gz (56.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

engrammic_primitives-0.1.1-py3-none-any.whl (33.6 kB view details)

Uploaded Python 3

File details

Details for the file engrammic_primitives-0.1.1.tar.gz.

File metadata

  • Download URL: engrammic_primitives-0.1.1.tar.gz
  • Upload date:
  • Size: 56.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for engrammic_primitives-0.1.1.tar.gz
Algorithm Hash digest
SHA256 aafa7b8d415d854d54740d484bed8836dfb3bd13abd3fc1602a8faa7c2a9fd13
MD5 641a5a2b45f8b326b384c35fe0790f7d
BLAKE2b-256 c548469289522083bd5e9da2b192686aab53c10a045969200e746d56b6479a9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for engrammic_primitives-0.1.1.tar.gz:

Publisher: publish.yml on engrammic-ai/primitives

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file engrammic_primitives-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for engrammic_primitives-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f5951d42b14cbe96dd997da4a50866ac94f06688eceb8b0e4597bf1f2b9fd94c
MD5 f9c9fa48eddd741e1a2a1f6d26d30817
BLAKE2b-256 1a3aac9f13edd0b18d65edeeff6c9fd90c4cb4946bc8253b7b03e8b07ca2136e

See more details on using hashes here.

Provenance

The following attestation bundles were made for engrammic_primitives-0.1.1-py3-none-any.whl:

Publisher: publish.yml on engrammic-ai/primitives

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page