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.1.5.tar.gz (36.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: limen_ai-0.1.5.tar.gz
  • Upload date:
  • Size: 36.5 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.1.5.tar.gz
Algorithm Hash digest
SHA256 f18b8f2edcb27d9a294c3921db9fabf4e411d7c9fae8082496e24700ea672929
MD5 e09df2004c3ab5f73d9a5256a48d6a15
BLAKE2b-256 c7d4e0a79dd91a54d3137d5cce568d237d92e095b05de30f96068e66163b47d6

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