Transform your prototype AI code into production-ready software.
Project description
⚠️ This is a fork of the original GreatAI library by @schmelczer, maintained by ScoutinScience. Make sure to install sis-great-ai from PyPI to use this distribution.
GreatAI
Easily transform your prototype AI code into production-ready software.
Applying AI is becoming increasingly more accessible, but many case studies have shown that these applications are often deployed poorly. This may lead to suboptimal performance and to introducing unintended biases. GreatAI helps fix this by allowing you to easily transform your prototype AI code into production-ready software.
Example
pip install sis-great-ai
Create a new file called demo.py
from great_ai import GreatAI
@GreatAI.create
def greeter(name: str) -> str:
return f"Hello {name}!"
Start it by executing great-ai demo.py
, and find the dashboard at http://localhost:6060.
That's it. Your GreatAI service is nearly ready for production use. Many of the SE4ML best practices are configured and implemented automatically (of course, these can be customised as well).
Check out the full documentation here.
Why is this GREAT?
GreatAI fits between the prototype and deployment phases of your AI development lifecycle. This is highlighted in blue in the diagram. Here, several best practices can be automatically implemented, aiming to achieve the following attributes:
- General: use any Python library without restriction
- Robust: have error-handling and well-tested utilities out-of-the-box
- End-to-end: utilise end-to-end feedback as a built-in, first-class concept
- Automated: focus only on what actually requires your attention
- Trustworthy: deploy models that you and society can confidently trust
Why GreatAI?
There are other existing solutions aiming to facilitate this phase. Amazon SageMaker and Seldon Core provide the most comprehensive suite of features. If you have the opportunity to use them, do that because they're great.
However, research indicates that professionals rarely use them. This may be due to their inherent setup and operational complexity. GreatAI is designed to be as simple to use as possible. Its straightforward, high-level API and sensible default configuration make it easy to start using. Despite its relative simplicity over Seldon Core, it still implements many of the SE4ML best practices, and thus, can meaningfully improve your deployment without requiring prohibitively great effort.
Learn more
Check out the full documentation here.
Find great-ai
on PyPI
pip install sis-great-ai
Find great-ai
on DockerHub
docker run -p6060:6060 scoutinscience/great-ai
Contribute
Contributions are welcome.
Install for development
python3 -m venv --copies .env
source .env/bin/activate
pip install --upgrade flit pip
flit install --symlink
Develop
scripts/format-python.sh great_ai docs tests
Format code.
python3 -m pytest --doctest-modules --asyncio-mode=strict .
Run tests.
mkdocs serve
Serve documentation.
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.
Source Distribution
Built Distribution
File details
Details for the file sis_great_ai-0.1.18.tar.gz
.
File metadata
- Download URL: sis_great_ai-0.1.18.tar.gz
- Upload date:
- Size: 29.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 967352fb3fd5dbb8a53a99fbb8523d0972da9509edb4d8b7533f7f3af249e2cf |
|
MD5 | cf53a544a4c88b8d85ff290b669fa58e |
|
BLAKE2b-256 | b49be1f566175c0ec23abd4c91550f4f9953cfad259d15d676106269c1386346 |
File details
Details for the file sis_great_ai-0.1.18-py3-none-any.whl
.
File metadata
- Download URL: sis_great_ai-0.1.18-py3-none-any.whl
- Upload date:
- Size: 312.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66786ba705633b9017ac41159744436a548e8cd0acc8c9dd649815f163b27a35 |
|
MD5 | 6200a66365359343017ff3d91b64fe54 |
|
BLAKE2b-256 | 5a5060b84f0edc3ac43bc560dc9f8dce2270bed33a3b2e2945859b95c04fcd04 |