Skip to main content

Python library for Liten AI Data platform

Project description

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.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

litenai-0.0.42-py3-none-any.whl (3.6 MB view details)

Uploaded Python 3

File details

Details for the file litenai-0.0.42-py3-none-any.whl.

File metadata

  • Download URL: litenai-0.0.42-py3-none-any.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for litenai-0.0.42-py3-none-any.whl
Algorithm Hash digest
SHA256 967d77ca723f31235fd18cd96cb3bf4c57fd5e3bdadb83f99f946ab99cb9b72f
MD5 555ca74989f5920817b612c4a0f40cf2
BLAKE2b-256 7b3ad84d6bd83f03d7b2d2edeb59faea17e2b242dbc57c4c795e0a6a7a94f51a

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