Skip to main content

How to search the marketplace

This guide will walk you through the process of searching the marketplace for various aiXplain assets, including agents, models, pipelines, metrics, and data.

Models

aiXplain's collection of models is available on Studio in the Discover marketplace or through the SDK. The models are searchable using queries, filters and Bel Esprit (only on Studio), and directly accessible using thier IDs (unique identifiers).

Models are searchable on the SDK using the following search parameters:

  • query (Search bar in UI): The name of the model.
  • version (Search bar in UI): The version of the model.
  • function: The AI function performed by the model.
  • source_languages (Input language): The model's default input language.
  • target_languages (Output language): The model's default output language.
  • ownership (Owner): The Team/User that owns the model asset.
  • is_finetunable (FineTune compatible): The model can be finetuned.
  • suppliers: The supplier that is hosting the model.

Let's use query, function, source_languages, target_languages and suppliers to search for translation models from English to Canadian French.

from aixplain.factories import ModelFactory
from aixplain.enums import Function, Language, Supplier

model_list = ModelFactory.list(
"Canada",
function=Function.TRANSLATION,
source_languages=Language.English,
target_languages=Language.French,
suppliers=[Supplier.AWS, Supplier.GOOGLE, Supplier.MICROSOFT],
)["results"]

for model in model_list:
print(model.__dict__)
Show output
tip

Use the _member_names_ attribute to see the list of available function types, languages and suppliers.

Function._member_names_
Show output
Language._member_names_
Show output
Supplier._member_names_
Show output

Direct Access

Once you know a model's ID, you can access the model directly (without searching for it).

EXAMPLE OpenAI's GPT-4 model has ID 6414bd3cd09663e9225130e8.

Instantiate a model object

from aixplain.factories import ModelFactory
model = ModelFactory.get('6414bd3cd09663e9225130e8')
model.__dict__
Show output

Once you have identified a suitable model, you can use it for inference, benchmarking, finetuning, or integrating it into custom AI pipelines.

Next, create or integrate these assets into AI agents to enhance your applications.