pc.list_model_repos
pc.list_model_repos(df=False)
Get a list of model repos available to you in your Predibase environment.
Parameters:
df: bool, default False
Whether to return a pandas dataframe or a list of objects.
Returns:
pd.DataFrame
OR
List[Model]
Examples:
List available model repos
pc.list_model_repos()
# > [ModelRepo(id=5678, model_name=Titanic Model, latest_config={...}, latest_dataset=Dataset(id=1234, name=Titanic Dataset, object_name=2bbf3f31fb2d, connection_id=0, author=jsmith, ...), selected_engine_id=2, ...),
# ModelRepo(id=2260, model_name=Fraud model, latest_config={...}, latest_dataset=Dataset(id=1235, name=Fraud Dataset, object_name=fraud, connection_id=1, author=jdoe, ...), selected_engine_id=1, ...)]