Skip to main content

Łukasiewicz Interpretable Markov Engine for Neuralized AI

Project description

LIMEN-AI

LIMEN-AI (Łukasiewicz Interpretable Markov Engine for Neuralized AI) is a Python reference implementation of the LIMEN-AI SRM engine. It provides:

  • Łukasiewicz fuzzy semantics and differentiable rule evaluation
  • Energy-based inference (importance sampling, explanations, deduction)
  • KB-driven inductive rule discovery using configurable templates

Installation

cd code
pip install -e .

Documentation

  • docs/api_overview.md describes the main APIs and workflow.
  • notebooks/limen_ai_walkthrough.ipynb demonstrates KB creation, inference, and induction.
  • notebooks/limen_llm_orchestration.ipynb shows how to pair an LLM with the new ingestion/query/response helpers.

LLM-Oriented Pipelines

The limen.pipeline package now provides building blocks for production-grade integrations:

  • SchemaRegistry / PredicateSchema – declare the KB schema so prompts stay aligned with predicate arities.
  • DocumentIngestionPipeline – chunk/normalize text, call an LLM with the extraction prompt, parse JSON facts, validate arguments, and upsert them into the KB.
  • QueryTranslator – translate arbitrary user questions into structured predicate calls with schema validation/backoff.
  • ResponseGenerator – turn LIMEN-AI's structured answers/explanations back into natural language (optionally via an LLM).

These helpers are LLM-agnostic: plug any open-source model by providing a callable completion function or a custom LLMClient.

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

limen_ai-0.2.3.tar.gz (45.4 kB view details)

Uploaded Source

File details

Details for the file limen_ai-0.2.3.tar.gz.

File metadata

  • Download URL: limen_ai-0.2.3.tar.gz
  • Upload date:
  • Size: 45.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for limen_ai-0.2.3.tar.gz
Algorithm Hash digest
SHA256 f8631443c1ad05e546de1b55fae5f7b3869dea4fe89e907632466ce9f34e96a0
MD5 6ec20364692c178964013b0cb03ea650
BLAKE2b-256 d0fca903420115278213329b65df1145dbf5e10804692176b1590d4673671339

See more details on using hashes here.

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