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

Uploaded Source

File details

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

File metadata

  • Download URL: limen_ai-0.2.1.tar.gz
  • Upload date:
  • Size: 42.9 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.1.tar.gz
Algorithm Hash digest
SHA256 1046b05dbe8d99b0f0fe2abc925ab25893d680058b3284c0b9010194116154a2
MD5 1f04433d77803f880d5ef5bbb491173f
BLAKE2b-256 53ff82b1f5a00a8d9842acc03dc11ad719272158d3a2494fddb8b2124d85bdb5

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