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
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 - ask any question to LitenAPI
- codegen - generate code from text
- analyze - analyze given data frame for provided text
- plot - plot a graph from given data frame Get the docstring to know the details about the call.
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 -c <liten.yaml_config_file> -d <data_directory>
Use the server IP address provided by the chatbot to connect to it from a browser.
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.