Skip to main content

A monitoring solution built on Panel.

Project description

Lumen

Illuminate your data

Build Status Linux/MacOS/Windows Build Status
Coverage codecov
Latest dev release Github tag dev-site
Latest release Github release PyPI version lumen version conda-forge version defaults version
Docs gh-pages site
Support Discourse
Lumen AI Diagram

Lumen is a fully open-source and extensible agent based framework for chatting with data and for retrieval augmented generation (RAG). The declarative nature of Lumen's data model make it possible for LLMs to easily generate entire data transformation pipelines, visualizations and other many other types of output. Once generated the data pipelines and visual output can be easily serialized, making it possible to share them, to continue the analysis in a notebook and/or build entire dashboards.

  • Generate SQL: Generate data pipelines on top of local or remote files, SQL databases or your data lake.
  • Provide context and embeddings: Give Lumen access to your documents to give the LLM the context it needs.
  • Visualize your data: Generate everything from charts to powerful data tables or entire dashboards using natural language.
  • Inspect, validate and edit results: All LLM outputs can easily be inspected for mistakes, refined, and manually edited if needed.
  • Summarize results and key insights: Have the LLM summarize key results and extract important insights.
  • Custom analyses, agents and tools: Extend Lumen custom agents, tools, and analyses to generate deep insights tailored to your domain.

Lumen sets itself apart from other agent based frameworks in that it focuses on being fully open and extensible. With powerful internal primitives for expressing complex data transformations the LLM can gain insights into your datasets out-of-the box and can be further tailored with custom agents, analyses and tools to empower even non-programmers to perform complex analyses without having to code. The customization makes it possible to generate any type of output, allow the user and the LLM to perform analyses tailored to your domain and look up additional information and context easily. Since Lumen is built on Panel it can render almost any type of output with little to no effort, ensuring that even the most esoteric usecase is easily possible.

The declarative Lumen data model further sets it apart from other tools, making it easy for LLMs to populate custom components and making it easy for the user to share the results. Entire multi-step data transformation pipelines be they in SQL or Python can easily be captured and used to drive custom visualizations, interactive tables and more. Once generated the declarative nature of the Lumen specification allows them to be shared, reproducing them in a notebook or composing them through a drag-and-drop interface into a dashboard.

Getting started

Lumen works with Python 3 and above on Linux, Windows, or Mac. The recommended way to install Lumen is using the conda command provided by Anaconda or Miniconda:

conda install -c pyviz lumen

or using PyPI:

pip install 'lumen[ai]'

Once installed you will be able to start a Lumen Explorer server by running (replace data.csv with your data):

lumen-ai serve data.csv

Check out the docs for more details!

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lumen-1.2.0.tar.gz (799.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lumen-1.2.0-py3-none-any.whl (896.7 kB view details)

Uploaded Python 3

File details

Details for the file lumen-1.2.0.tar.gz.

File metadata

  • Download URL: lumen-1.2.0.tar.gz
  • Upload date:
  • Size: 799.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for lumen-1.2.0.tar.gz
Algorithm Hash digest
SHA256 e0fabf72ce928d6311da8eb811c70a9dfe5ba47e10e7691c8c7b8b0b95e79c20
MD5 8983072fcd9558af23e4711a5ac75bbf
BLAKE2b-256 63b002c7009d2a3704836d729d53caf14822e3e14dddf6c9c32d91716f95c7ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for lumen-1.2.0.tar.gz:

Publisher: build.yaml on holoviz/lumen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lumen-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: lumen-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 896.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for lumen-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dbe2a73fd1cb6add9ae28f1abc25ae6ebfbfe84b2c47079510967ecb1bcb4537
MD5 92bf60b3476f0029b9d120f71496dbbf
BLAKE2b-256 02a5422b4f74fa0477c5e2109c34c3035ac8afbea6777f3ca00367d6cae517d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for lumen-1.2.0-py3-none-any.whl:

Publisher: build.yaml on holoviz/lumen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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