AI Powered Data Platform
Project description
Aita
AI Powered Data Agent, a comprehensive solution for data analysis, engineering, and visualization.
Tech Stack
Our platform leverages a combination of cutting-edge technologies and frameworks:
- Langchain: Facilitates the seamless integration of language models into application workflows, significantly enhancing AI interaction capabilities.
- Reflex: An open-source framework for quickly building beautiful, interactive web applications in pure Python
- Apache Arrow: A cross-language development platform for in-memory data that specifies a standardized language-independent columnar memory format for flat and hierarchical data, organized for efficient analytic operations on modern hardware like CPUs and GPUs.
- Jupyter Ai Magics: A JupyterLab extension that provides a set of magics for working with AI models.
Installation
Simply install the package using pip:
pip install aita
Or with extra dependencies:
pip install aita[snowflake]
Example
Below is an example of using SqlAgent to connect to a PostgreSQL database and ask a question. You can read more details in the documentation.
from aita.agent.sql import SqlAgent
from aita.datasource.postgresql import PostgreSqlDataSource
# Connect to a PostgreSQL database
datasource = PostgreSqlDataSource("postgresql://user:password@localhost:5432/dbname")
# Create a SQL agent
sql_agent = SqlAgent("gpt-3.5-turbo").add_datasource(datasource)
# ask question to the agent
sql_agent.stream("What is the total number of orders?")
Supported Models
Model provider are supported by jupyter ai magics. Ensure the corresponding environment variables are set before using the Aita agent.
Provider | Provider ID | Environment variable(s) | Python package(s) |
---|---|---|---|
AI21 | ai21 |
AI21_API_KEY |
ai21 |
Anthropic | anthropic |
ANTHROPIC_API_KEY |
langchain-anthropic |
Anthropic (chat) | anthropic-chat |
ANTHROPIC_API_KEY |
langchain-anthropic |
Bedrock | bedrock |
N/A | boto3 |
Bedrock (chat) | bedrock-chat |
N/A | boto3 |
Cohere | cohere |
COHERE_API_KEY |
cohere |
ERNIE-Bot | qianfan |
QIANFAN_AK , QIANFAN_SK |
qianfan |
Gemini | gemini |
GOOGLE_API_KEY |
langchain-google-genai |
GPT4All | gpt4all |
N/A | gpt4all |
Hugging Face Hub | huggingface_hub |
HUGGINGFACEHUB_API_TOKEN |
huggingface_hub , ipywidgets , pillow |
NVIDIA | nvidia-chat |
NVIDIA_API_KEY |
langchain_nvidia_ai_endpoints |
OpenAI | openai |
OPENAI_API_KEY |
langchain-openai |
OpenAI (chat) | openai-chat |
OPENAI_API_KEY |
langchain-openai |
SageMaker | sagemaker-endpoint |
N/A | boto3 |
Supported Data Sources
- Snowflake
- Sqlite
- BigQuery
- Postgres
- MySQL
- Redshift
- DynamoDB
- File (CSV, Excel, Parquet, etc.)
Supported Engines
- Apache Spark
- Apache Flink
- Presto
- Ray.io: A distributed computing framework that efficiently scales AI tasks and data processing across clusters, improving performance and resource utilization.
🛡 License
This project is licensed under the terms of the Apache Software License 2.0
license. See LICENSE for more details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aita-0.1.5.tar.gz
.
File metadata
- Download URL: aita-0.1.5.tar.gz
- Upload date:
- Size: 64.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Darwin/23.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c3ce3b890d2534976643d81cf0f48e0463698392a123700d8c98a3ada481dcf |
|
MD5 | 96730dbd25f23bac76f034d4ce8967b9 |
|
BLAKE2b-256 | c1188e4300b6bc60afd7918a432a515f99fd604617c19d378b9a4a8254c4f08a |
File details
Details for the file aita-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: aita-0.1.5-py3-none-any.whl
- Upload date:
- Size: 88.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Darwin/23.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5760d473c4243b74b1357ecfa0c31c08f0104bdc1adef7006346e8cf920f625 |
|
MD5 | 03a56a62aca255b528c381bc4d07fa9a |
|
BLAKE2b-256 | 269775135e1a192a0187359d68f1a76eb71b62d895dc4be6c6009a575132a075 |