Skip to main content

Liten AI Python Library

Liten AI provides intelligent data analytics. It provides simple interface to intelligently query and analyze data. Liten API calls are exposed as python functions. It also provides a data chat app that can inspect and debug your data.

Installation

Liten package is delivered using compiled files. To use the package do the following.

pip install --upgrade litenai

Please set LITEN_CONFIG_FILE variable to point to a valid yaml config file. Sample yaml is provided in scripts dir.

Dependencies

All dependencies are installed with liten pacakge install. Liten uses python versions > 3.10

Usage

First create a new session using Session.get_or_create API. This will create a new session if it does not exist. It will return the session object. This session object can be used to call various API functions. Liten API calls are

  • ask - These are directly used by GenAI model for answers.
  • send - Prompt sent is first parsed by master-agent, who then orchestrates Liten agents to complete the prompt.

Liten also provides a chat interface. This can be used within a python notebook or as a standalone application. To use it within a notebook use the following call.

chatbot = Chatbot()
chatbot.start()

To start a standalone chatbot use the following command.

litenchat.sh

Use the server IP address provided by the chatbot to connect to it from a browser.

Metadata

Release files for litenai 0.0.42

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for litenai 0.0.42
File Interpreter ABI Platform Actions
litenai-0.0.42-py3-none-any.whl Python 3 none any Details for litenai-0.0.42-py3-none-any.whl

Release files / litenai-0.0.42-py3-none-any.whl

Download URL litenai-0.0.42-py3-none-any.whl
Size 3.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
967d77ca723f31235fd18cd96cb3bf4c57fd5e3bdadb83f99f946ab99cb9b72f
BLAKE2b-256 checksum
How to use checksums
7b3ad84d6bd83f03d7b2d2edeb59faea17e2b242dbc57c4c795e0a6a7a94f51a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for litenai 0.0.42

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page