Python SDK
Theprometheux_chain Python SDK provides a high-level interface for working with all Prometheux platform features programmatically.
Installation
Configuration
First API Call
Install into Jupyter
To manually install the library in your Jupyter Lab or Jupyter Notebook follow these steps:- Create a new notebook with kernel Python and run the following commands in a dedicated cell
-
Clone the repo
-
Navigate into the project and install it
-
Copy the project into site-packages to allow importing and using it
- Restart the kernel
-
Uninstall the project
-
Clone the repo if it is not present
else update it to the latest changes
-
Navigate into the project and install it
-
Remove an existing installation if present
-
Copy the project into site-packages to allow importing and using it
- Restart the kernel
Response Format
All REST API responses follow a consistent format:API Categories
The API is organized into the following categories:| Category | Description |
|---|---|
| Config | SDK configuration and LLM setup |
| Data | Data connection and management |
| Projects | Project management |
| Concepts | Concept execution and management |
| Vadalog | Vadalog program evaluation |
| Rule Inference | Schema inference from data sources |
| Dashboards | Dashboard CRUD |
| Vadalingo | NL, SQL, RDF, and OWL to Vadalog translation |
| AI Agent | Streaming conversational AI agent |
Error Handling
The SDK raises exceptions for errors:Requirements
- Python 3.9 or higher
- Install via pip:
pip install prometheux_chain

