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

Uploaded Source

File details

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

File metadata

  • Download URL: limen_ai-0.2.0.tar.gz
  • Upload date:
  • Size: 47.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.0.tar.gz
Algorithm Hash digest
SHA256 a1ac5dd0a831a1a8dfb90ca693696c763711797edd6a26cd6bd99882d4dc6503
MD5 9b11292c890bc2fc17af9c23ed80e1c6
BLAKE2b-256 0e1ebffe58c6322ae18e5bb088bff917e1517e245cb6f917db2084a9babf5c07

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