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

Uploaded Source

File details

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

File metadata

  • Download URL: limen_ai-0.1.2.tar.gz
  • Upload date:
  • Size: 35.7 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.2.tar.gz
Algorithm Hash digest
SHA256 0abcfab03f516eef03e3b1239a51737b6577e121d3c63636603b3fb473a5a5e7
MD5 803b611c077f9e2a613aae335b94cf3a
BLAKE2b-256 c83611199031ad3d9eb2b590960fe1ea89da098512b3bc28bf9a8c24f0081601

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