Skip to main content

aiXplain SDK adds AI functions to software.

Project description

aiXplain logo

aiXplain

aixplain is a software development kit (SDK) for the aiXplain platform. With aixplain, developers can quickly and easily:

  • Discover aiXplain’s ever-expanding catalog of 35,000+ ready-to-use AI models and utilize them.
  • Benchmark AI systems by choosing models, datasets and metrics.
  • Design their own custom pipelines and run them.

🎓 Documentation

🔎 Find models, datasets, metrics on the platform.

:yellow_heart: Our repository is constantly evolving. With the help of the scientific community, we plan to add even more datasets, models, and metrics across domains and tasks.

Getting Started

Installation

To install simply,

pip install aixplain

API Key Setup

Before you can use the aixplain SDK, you'll need to obtain an API key from our platform. For details refer this Team API Key Guide.

Once you get the API key, you'll need to add this API key as an environment variable on your system.

Linux or macOS

export TEAM_API_KEY=YOUR_API_KEY

Windows

set TEAM_API_KEY=YOUR_API_KEY

Jupyter Notebook

%env TEAM_API_KEY=YOUR_API_KEY

Usage

Let’s see how we can use aixplain to run a machine translation model.

from aixplain.factories.model_factory  import ModelFactory
model = ModelFactory.get("61b27086c45ecd3c10d0608c") # Got the ID of an MT model from on our platform
translation = model.run("This is a sample text") # Alternatively, you can input a public URL or provide a file path on your local machine.

Check out the explore section of our guide on Models to get the ID of your desired model

Developer Guide

Follow the Developer Guide.

Support

Raise issues for support in this repository.
Pull requests are welcome!

Note

The aixtend python package was renamed to aixplain from the release v0.1.1.

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

aixplain-0.2.1.tar.gz (36.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page