Transform your prototype AI code into production-ready software. https://great-ai.scoutinscience.com
Find a file
2022-07-17 13:09:39 +02:00
.github Improve readme add og-image 2022-07-12 16:02:59 +02:00
.vscode Improve readme add og-image 2022-07-12 16:02:59 +02:00
docs Don't showcase data 2022-07-17 13:09:39 +02:00
great_ai Document LargeFiles 2022-07-16 16:22:22 +02:00
scripts Fix typing and minor issues 2022-07-07 14:12:44 +02:00
tests Fix issues from @angyaloliver's feedback 2022-07-13 20:23:56 +02:00
.dockerignore Remove clutter in image 2022-07-13 08:47:35 +02:00
.gitignore Improve API 2022-06-26 23:31:15 +02:00
Dockerfile Match Healthcheck with remote_call timeout 2022-07-11 12:10:52 +02:00
LICENSE Create LICENSE 2022-07-04 14:58:31 +02:00
mkdocs.yaml Minor docs fixes 2022-07-16 15:35:46 +02:00
pyproject.toml Improve readme add og-image 2022-07-12 16:02:59 +02:00
README.md Improve layout 2022-07-15 17:07:41 +02:00

logo of great-ai GreatAI

Easily transform your prototype AI code into production-ready software.

PyPI version Downloads Docker Pulls Test Sonar line coverage Sonar LoC

Applying AI is becoming increasingly easier 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 fixing this by allowing you to easily transform your prototype AI code into production-ready software.

Example

pip install 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, find the dashboard at http://localhost:6060.

demo screen capture

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?

scope of GreatAI

GreatAI fits between the prototype and deployment phases of your AI development lifecycle. This is highlighted with 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 operating complexity. GreatAI is designed to be as simple to use as possible. Its clear, high-level API and sensible default configuration makes it extremely 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 large effort.

Learn more

Check out the full documentation here.

Find great-ai on PyPI

pip install great-ai

Find great-ai on DockerHub

docker run -p6060:6060 schmelczera/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.