> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Model Registry

<Badge color="purple">Private Preview</Badge>

## get\_model\_registry\_config()

Given a registry type and unique model identifier, build a config.

```python theme={"system"}
def get_model_registry_config(
    registry: ModelRegistryEnum,
    repo: str
) -> rasterflow_remote.data_models.ModelRegistryConfig
```

#### Parameters

<ParamField path="registry" type="ModelRegistryEnum" required>
  The model registry type.
</ParamField>

<ParamField path="repo" type="str" required>
  The repository string to parse. For ModelRegistryEnum.HUGGINGFACE, this is a repo id. For ModelRegistryEnum.MLM, it is a uri to a model.
</ParamField>

#### Response

<ResponseField name="return" type="ModelRegistryConfig">
  The constructed ModelRegistryConfig object.
</ResponseField>
